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: I want no "users"  (Read 5075 times)

0 Members and 1 Guest are viewing this topic.

solohelp.com

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
I want no "users"
« on: October 19, 2004, 01:03:11 am »

I would like to remove all links for anything that a user could do.  I want to use the script only as an easy way to upload and name images and for the search function.  I dont want users to login or even see the link. They wont be leaving comments or creating albums.   Normally I would just remove all the links, but since the admin area uses the same script as the users Im not sure what to remove? 

thanks for the cool script.  This is the first time I've used it on a site that will get traffic.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: I want no "users"
« Reply #1 on: October 19, 2004, 01:12:54 am »

Don't allow new user registrations, which I believe is the standard setting in a new install.  No user links will show up.  However, the admin login isn't a separate process, so the login link has to be available.  You could possibly make a hidden link somewhere on your page so it isn't obvious.
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

jmc

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 92
    • http://www.hartlepoolcameraclub.co.uk
Re: I want no "users"
« Reply #2 on: October 19, 2004, 01:15:37 am »

Hi, Solo!
I would think that this would be a simple matter of "commenting out" the relevant menu items in your "theme.php" (i.e. "register", "last comments" etc etc), then switch off the commenting/rating functions in the groups section for "annonymous" visitors.
Hope this helps!
John Mc
Logged
I'm trying hard... at least!

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: I want no "users"
« Reply #3 on: October 19, 2004, 01:20:08 am »

Register doesn't show up if allow registrations is turned off in config, so you don't have to comment that out.
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

solohelp.com

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: I want no "users"
« Reply #4 on: October 19, 2004, 04:17:30 am »

Thanks for the info.  I like the idea of hiding the login link.  Then turning the rest off should work.

thanks
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: I want no "users"
« Reply #5 on: October 19, 2004, 12:53:26 pm »

Make sure you comment them out, do not delete them.

You can comment out all links you don't want.  If you need to log in, you will have to type the url direct (or make the login.php one of your bookmarks)

Also remember to set the group permissions, to dis-allow all actions for everyone except admin.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

T3rry

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: I want no "users"
« Reply #6 on: October 21, 2004, 09:16:22 pm »

also instead of putting a "hidden link" you can just go to the login page before you comment the link out and save it as a boomark or just type it in every time you want to log in.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: I want no "users"
« Reply #7 on: October 21, 2004, 09:23:56 pm »

Or make the login link the same color as the background. Then, to find it, you select the general area and the text will show up.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.