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: Login Message  (Read 2859 times)

0 Members and 1 Guest are viewing this topic.

vaughan198

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Login Message
« on: February 28, 2005, 03:02:35 pm »

Is it possible to remove the welcome message when you login and logoff ("Welcome USER" and "Bye Bye USER" etc) or to at least change the time that it is displayed for.
Many Thanks
WV
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Login Message
« Reply #1 on: February 28, 2005, 06:08:38 pm »

edit login.php, find
Code: [Select]
        pageheader($lang_login_php['login'], "<META http-equiv=\"refresh\" content=\"3;url=$referer\">");
        msg_box($lang_login_php['login'], sprintf($lang_login_php['welcome'], $USER_DATA['user_name']), $lang_continue, $referer);
and edit accordingly: the number "3" in above mentioned code is the period (in seconds) the welcome message is being displayed before the user is being redirected. Set it to "0" for immediate redirection. Do the similar thing for logout.php - the code to edit should be easy to find there.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 19 queries.