Different menus for logged in and logged out Different menus for logged in and logged out
 

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

Different menus for logged in and logged out

Started by Jimbo_Test, September 07, 2005, 11:19:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jimbo_Test

Hi,

Does anybody know how I could show different menus depending on whether a user was logged in or out?

ie, in PHPBB, the code would be as follows:

<!-- BEGIN switch_user_logged_in -->
SHOW MEMBERS MENU HERE
<!-- END switch_user_logged_in -->

<!-- BEGIN switch_user_logged_out -->
SHOW NON-MEMBERS MENU HERE
<!-- END switch_user_logged_out -->

Any help would be greatly appreciated  ;D

Joachim Müller

edit themes/yourtheme/theme.php, find<!-- BEGIN logout -->and add links that are suppossed to show only when users are logged in into a new line.

Jimbo_Test