Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Logout Button replacing Logout text Details »
Logout Button replacing Logout text
Mod Version: 1.00, by TheMusicMan (Member) TheMusicMan is offline
Developer Last Online: Sep 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.2 Rating: (1 vote - 5.00 average) Installs: 36
Released: 22 Dec 2005 Last Update: Never Downloads: 7
Not Supported Template Edits  

This easy template mod will replace the Logout Username text that appears at the bottom of your forumhome page with a Logout button graphic/image instead.

Level of difficulty: Easy
Time to install: 1 minute

I have made a Logout image (attached) in the default vB Style.

Open FORUMHOME and very close to the bottom of that template find the following code;

<!-- member logout -->
<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out(
'$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
<!-- end member logout -->


Replace that code in its entirety with the following code;

<!-- member logout button -->
<td align="$stylevar[right]">
<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out(
'$vbphrase[sure_you_want_to_log_out]')"><img src="$stylevar[imgdir_button]/logout.gif"
border="0" width="110" height="26" alt="<phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase>"></a></td>
<!-- end member logout -->


Then upload the attached image to your images/buttons directory... and hey presto, you're done!

Note: The text you would normally have seen e.g. <Logout theMusicMan> is now shown when you mouse-over the logout button.

Please click Install if you use it, thanks.
Enjoy!

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Logout Button Burning_Ice vBulletin 2.x Template Modifications 10 19 Aug 2002 18:13

Comments
  #2  
Old 22 Dec 2005, 08:15
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
Thanks, I actually created my own but it was shotty work, and didn't work per style... Using yours now
Reply With Quote
  #3  
Old 24 Dec 2005, 20:39
twiztdtaz's Avatar
twiztdtaz twiztdtaz is offline
 
Join Date: Dec 2005
Real name: Tom
Talking Thanks

Installed on mine with my own button...works great thanks!
Reply With Quote
  #4  
Old 19 Jan 2006, 02:40
argash's Avatar
argash argash is offline
 
Join Date: Mar 2005
Just installed this thanks for the work. I did clean up a bit of white space around the edge of the button so I'll attach it here if anyone wants it.
Attached Images
File Type: gif logout.gif (2.4 KB, 745 views)
Reply With Quote
  #5  
Old 31 Jan 2006, 14:23
Gripemaster Gripemaster is offline
 
Join Date: Oct 2005
*Clicks Install* Very nice, much better than generic text. Thank you!
Reply With Quote
  #6  
Old 07 Jun 2006, 21:14
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
what a great idea... I think I will install this one....
__________________
God180 <--------------------- My Modified vBulletin
Reply With Quote
  #7  
Old 30 Jun 2006, 10:56
htscpl's Avatar
htscpl htscpl is offline
 
Join Date: Sep 2003
Location: Houston
Real name: Henry
Cool, kinda dresses up the forum *** installs ***
Reply With Quote
  #8  
Old 01 Jul 2006, 04:48
TotalDriver TotalDriver is offline
 
Join Date: Jun 2006
Awesome work. Simple yet effective!

Cheers,

Mike
Reply With Quote
  #9  
Old 01 Jul 2006, 16:22
kamus kamus is offline
 
Join Date: Feb 2006
very nice.. thanks!
Reply With Quote
  #10  
Old 03 Jul 2006, 19:09
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Cool, I like it, will replace mine

Visit this link to view more "logout" images

Logout Images
__________________
God180 <--------------------- My Modified vBulletin
Reply With Quote
  #11  
Old 28 May 2007, 05:56
InfoNirvana InfoNirvana is offline
 
Join Date: Apr 2007
I tried to enlarge the Log Out button, but somehow it got auto-resized.
Reply With Quote
  #12  
Old 28 May 2007, 06:48
InfoNirvana InfoNirvana is offline
 
Join Date: Apr 2007
Originally Posted by InfoNirvana View Post
I tried to enlarge the Log Out button, but somehow it got auto-resized.
Figured that out.

Q: is it possible to have the same logout button on all forum views ?


ie. like this
http://www.mysite.org/forum/forumdisplay.php?f=2 ?

and opposed to just on the index page ?

http://www.mysite.org/forum/index.php
Reply With Quote
  #13  
Old 29 May 2007, 03:05
InfoNirvana InfoNirvana is offline
 
Join Date: Apr 2007
There are errors in this suggested modification.

'$vbphrase[sure_you_want_to_log_out]' is missing from this section.


Open FORUMHOME and very close to the bottom of that template find the following code;

<!-- member logout -->
<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
<!-- end member logout -->

Replace that code in its entirety with the following code;

<!-- member logout button -->
<td align="$stylevar[right]">
<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><img src="$stylevar[imgdir_button]/logout.gif"
border="0" width="110" height="26" alt="<phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase>"></a></td>
<!-- end member logout -->




FYI everyone.

The symptom here is that When you click Log Out in the navbar or the Forum Home Page ..... The "Are you sure you want to Log Out" message is missing ... and instead it says "undefined".
Reply With Quote
  #14  
Old 29 May 2007, 05:06
TheMusicMan's Avatar
TheMusicMan TheMusicMan is offline
 
Join Date: Oct 2002
Real name: John
Many thanks for pointing this out InfoNirvana. I have updated the code accordingly. Cheers.
__________________
John
Reply With Quote
  #15  
Old 25 Dec 2007, 18:33
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Real name: Christian
runs on 3.7.0 B3 ...

* installed
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:14.

Layout Options | Width: Wide Color: