How to hide {MAIN_MENU1} if not logged in ? How to hide {MAIN_MENU1} if not logged in ?
 

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

How to hide {MAIN_MENU1} if not logged in ?

Started by mp3k, February 21, 2005, 06:02:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mp3k

... I have modified my gallery so you MUST be logged in if you want to see anything, when I browse to login.php I can see MAIN MENU 1 but not MAIN MENU 2... how to hide also menu 1 if not logged in ? ???

Joachim Müller

post a link and test account (non-admin)

Joachim

mp3k

nevermind, heh.. I was talking abuout MAIN1 menu but the problem was MAIN2 menu.. I edited the theme.php ( hardwired )

added few more..     

if (!USER_CAN_CREATE_ALBUMS) {
    template_extract_block($template_main_menu, 'most_viewed');...

thingys and now I can hide everything from non regged ppl :)..