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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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