Is there a way to hide SYS_MENU? Is there a way to hide SYS_MENU?
 

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

Is there a way to hide SYS_MENU?

Started by Attila, July 17, 2011, 04:33:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Attila

Hi, is there a way to completely hide SYS_MENU, but have the login/logout features still work? I would like to get rid of "Home", "My Profile", "Login" links.

I tried two things

1. removing the {SYS_MENU} line from template.html; login.php works, but calling logout.php gives an error:

-> A valid form token could not be found.
-> "File: /home/attila/public_html/imagelib/logout.php - Line: 31

2. left {SYS_MENU} in template.html, and edited theme.php to individually comment out the "addbutton" function calls. However I did not succeed that way either. I am able to hide the "Home" button, but for example I get errors when doin the same for the "My Profile" link.

Any ideas? Much appreciate the help.

Thanks!
Attila / http://www.kibo-studio.com/imagelib/


lurkalot

Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

ΑndrĂ©

Regarding your logout issue. If you don't want to display a logout button you either have to remove the token check for the logout procedure or delete the appropriate browser cookies when you want to logout from the gallery.

Attila


I went with installing the "final extract" plugin. It works as advertised! I only had one glitch, it seems that if there is a space in the user group name then it can not save the settings. I removed the space from the group and works perfectly.

Thank you both for the quick response!

Attila
http://www.kibo-studio.com/imagelib/