Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Different menus for logged in and logged out  (Read 3661 times)

0 Members and 1 Guest are viewing this topic.

Jimbo_Test

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Different menus for logged in and logged out
« on: September 07, 2005, 11:19:41 pm »

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
« Last Edit: September 09, 2005, 04:58:48 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Different menus for logged in and logged out
« Reply #1 on: September 09, 2005, 08:08:37 am »

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

Jimbo_Test

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Different menus for logged in and logged out
« Reply #2 on: September 09, 2005, 04:32:46 pm »

  :D Cheers Gaugau - Worked beautifully!
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.