Page 1 of 1

Login/Logout Smiley

Posted: 26 Jul 2011, 20:54
by Stoker
Login/Logout Smiley
Written by Stoker

Display a smilie when the user login or logout. Its simple and easy, but for the ones who doesnt know, here it is :)

Open language/en/ucp.php
Find:

Code: Select all

'LOGIN_REDIRECT'			=> 'You have been successfully logged in.',
Replace with:

Code: Select all

'LOGIN_REDIRECT'			=> 'You have been successfully logged in <img src="put the link to smilie here - remember to change width and height" style="width:65px; height:58px;" alt="" />',
Find:

Code: Select all

'LOGOUT_REDIRECT'			=> 'You have been successfully logged out.',
Replace with:

Code: Select all

'LOGOUT_REDIRECT'			=> 'You have been successfully logged out <img src="put the link to smilie here - remember to change width and height" style="width:65px; height:58px;" alt="" />',