Login Message Login Message
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Login Message

Started by vaughan198, February 28, 2005, 03:02:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vaughan198

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

Joachim Müller

edit login.php, find        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