forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: hasemann on December 09, 2005, 06:30:16 pm

Title: Count admin views?
Post by: hasemann 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 :(
Title: Re: Count admin views?
Post by: Joachim Müller on December 09, 2005, 06:36:37 pm
did you make them admins? You mustn't.
Title: Re: Count admin views?
Post by: hasemann 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?
Title: Re: Count admin views?
Post by: kegobeer 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.
Title: Re: Count admin views?
Post by: hasemann 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 ...
Title: Re: Count admin views?
Post by: kegobeer 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.
Title: Re: Count admin views?
Post by: hasemann 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? :(
Title: Re: Count admin views?
Post by: Nibbler 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.
Title: Re: Count admin views?
Post by: ecto 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.
Title: Re: Count admin views?
Post by: kegobeer 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.
Title: Re: Count admin views?
Post by: Tranz 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.