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: easy text switch  (Read 2439 times)

0 Members and 1 Guest are viewing this topic.

Gephri

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 235
easy text switch
« on: January 20, 2007, 10:53:14 pm »

anyone got an idea how to set up a simple switch statement that can be used to tell users not logged in - to do so in order to send e-cards, etc.
would be used on display image page
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: easy text switch
« Reply #1 on: January 22, 2007, 10:00:47 am »

use the login box plugin. Modify it so that it not only displays the box to unlogged users but in addition some text, or don't let it the display the box at all... as you like it

Gephri

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 235
Re: easy text switch
« Reply #2 on: January 24, 2007, 09:00:37 pm »

I'm having some real trouble here.
All I'd like to do is have the usual LogIn LogOut sys_menu buttons show up in my template.html page
Code: [Select]
    addbutton($sys_menu_buttons,'{LOGIN_LNK}','{LOGIN_TITLE}','{LOGIN_TGT}','login','<img src="images/spacer.gif" width="38" height="1" border="0" alt="spacer.gif" title="" />');
    addbutton($sys_menu_buttons,'{LOGOUT_LNK}','{LOGOUT_TITLE}','{LOGOUT_TGT}','logout','<img src="images/spacer.gif" width="38" height="1" border="0" alt="spacer.gif" title="" />');
any ideas?
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.