Login/Logout Smiley

Guides & Snippets for phpBB3. Try the Snippets here and share Your own Snippets
There is no support here! Only Read Access!
Locked
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Login/Logout Smiley

Post by Stoker »

Login/Logout Smiley
Written by Stoker

Moved: viewtopic.php?f=45&t=1275
Board rules! No PM support
User avatar
boardtalk.net
BBCoder II
BBCoder II
Posts: 35
Joined: 05 Mar 2010, 13:55
Favourite MOD: Default Random 'No Avatar
Location: Éire
Contact:

Re: Login/Logout Smiley

Post by boardtalk.net »

Stoker » 15 Mar 2010, 22:10 wrote:
Find:

Code: Select all

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

Code: Select all

'LOGIN_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="" />',
Thanks Stoker, I always wondered where and how to do this ;)
The second line above should be 'LOGOUT_REDIRECT' but guess you were tired :getup: when posting it. Thanks a million for all the great stuff on here 8-)
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Login/Logout Smiley

Post by Stoker »

Fixed thanks ;)
Board rules! No PM support
User avatar
Darkman
BBCoder II
BBCoder II
Posts: 23
Joined: 20 Mar 2010, 23:53

Re: Login/Logout Smiley

Post by Darkman »

HELP!
Parse error: syntax error, unexpected '<', expecting ')' in /membri/darkylab/labs/language/it/ucp.php on line 244
what is wrong?

Code: Select all

'LOGIN_REDIRECT'			=> 'Accesso effettuato.' <img src=”images/263.gif” style="width:65px; height:58px;" alt="" />', 
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Login/Logout Smiley

Post by Stoker »

'Accesso effettuato.'
remove the ending ' like this:
'LOGIN_REDIRECT' => 'Accesso effettuato. <img src=”images/263.gif” style="width:65px; height:58px;" alt="" />',
Board rules! No PM support
User avatar
Galandas
BBCoder III
BBCoder III
Posts: 133
Joined: 07 Mar 2010, 00:08
BBCodes: 35
Favourite BBCode: player yahoo
Favourite MOD: Mod Rey
Location: italy
Contact:

Re: Login/Logout Smiley

Post by Galandas »

really nice thanks stoker :thumb:
User avatar
Wildthinks
BBCoder II
BBCoder II
Posts: 9
Joined: 08 Mar 2010, 20:38

Re: Login/Logout Smiley

Post by Wildthinks »

Oh, it's wonderful! Thank you!
Locked