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

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

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