Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Count admin views?  (Read 5327 times)

0 Members and 1 Guest are viewing this topic.

hasemann

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 44
Count admin views?
« on: December 09, 2005, 06:30:16 pm »

I made a general login for some of my friends, but when they login coppermine thinks its the same user and the "view"/"viewed" does not update :(
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Count admin views?
« Reply #1 on: December 09, 2005, 06:36:37 pm »

did you make them admins? You mustn't.
Logged

hasemann

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 44
Re: Count admin views?
« Reply #2 on: December 09, 2005, 08:24:49 pm »

Oh no, they are not admins.
But I thought that Coppermine threaths one login as one person.
For example if 10 ppl are logged in with the same username + password and they all click on the images, does coppermine see all 10 ppl as 10 different viewers or as one person because of the identical login?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Count admin views?
« Reply #3 on: December 09, 2005, 09:04:42 pm »

One username = one view.  Give everyone a separate login.  There is absolutely no reason why you should share logins like that.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

hasemann

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 44
Re: Count admin views?
« Reply #4 on: December 09, 2005, 09:21:37 pm »

Unfortunately thats not possible because I only want to show a specific content(gallery) to a specific group ...
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Count admin views?
« Reply #5 on: December 10, 2005, 04:36:50 am »

Unfortunately thats not possible because I only want to show a specific content(gallery) to a specific group ...

No, you are incorrect.  Give everyone their own login, then assign each person to the same group.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

hasemann

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 44
Re: Count admin views?
« Reply #6 on: December 10, 2005, 11:09:26 am »

So you mean it is easier to forgive approximately 70 singel usernames+passwords instead of changing some lines in the code? :(
Logged

Nibbler

  • Guest
Re: Count admin views?
« Reply #7 on: December 10, 2005, 12:17:45 pm »

Allow people to register themselves, it will be much easier than trying to force Coppermine to do things.
Logged

ecto

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 144
    • My very incomplete gallery
Re: Count admin views?
« Reply #8 on: December 11, 2005, 01:51:41 am »

hasemann, I guess it's possible to do, yes. I don't know as I haven't looked at the code,  but I also really believe that changing Coppermine's behaviour when it comes to how it handles hits (based on the logged in user's IP address instead of just the user) is more than just changing a few lines of code.

Hopefully, for your sake, someone might do it. But I agree with Nibbler, the easiest way (and most logical, IMO) is to have separate users. I wouldn't bet that anyone is willing to spend time on a hack/mod like this, as I believe most people will find it quite superfluous.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Count admin views?
« Reply #9 on: December 11, 2005, 02:14:25 am »

From a security point of view, shared logins should never be allowed.  You can't track who is doing what, and if someone decides to wreak havok, you won't know who did it.  Never, I repeat, never allow shared login credentials.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Count admin views?
« Reply #10 on: December 11, 2005, 02:18:50 am »

Another drawback to modifying the code is having to re-implement it every time you upgrade Coppermine. Some mods are so cool they're worth the hassle, but this one... it'll be more of a hassle than it's worth, in addition to the given cons listed.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.