Advanced search  

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

Pages: [1]   Go Down

Author Topic: Different menus for logged in and logged out  (Read 3725 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.017 seconds with 19 queries.