Menus/Buttons for Admins Only? Menus/Buttons for Admins Only?
 

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]

Main Menu

Menus/Buttons for Admins Only?

Started by Toot4fun, October 28, 2007, 01:29:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Toot4fun

I'd like to know if there's a way to hide all the links/buttons unless the user logs in as an admin.  My albums are going to be for viewing only - pictures will only be added by admin only, not users.  Because of this, I don't want the users to see any of the links or buttons in the menu/submenu.  I was able to modify the english.php page to include a link to log in, so if my admins access the admin.php page directly, they can log in there (or directly via login.php).  Once they are logged in, I would like the menus/submenus and admin buttons to be shown.

What must be done in order to accomplish this?

Thank you!

François Keller

did you search in the plugin board?

BTW look for final_extract
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Toot4fun

I did not.  I'm new to this great program, but final_extract did exactly what I wanted!

Thank you!!

François Keller

Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog