vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Logout Button replacing Logout text (https://vborg.vbsupport.ru/showthread.php?t=103506)

TheMusicMan 12-21-2005 10:00 PM

Logout Button replacing Logout text
 
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!

eNforce 12-22-2005 07:15 AM

Thanks, I actually created my own but it was shotty work, and didn't work per style... Using yours now :D

twiztdtaz 12-24-2005 07:39 PM

Installed on mine with my own button...works great thanks! :D

argash 01-19-2006 01:40 AM

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.

Gripemaster 01-31-2006 01:23 PM

*Clicks Install* Very nice, much better than generic text. Thank you!

Polo 06-07-2006 08:14 PM

what a great idea... I think I will install this one....

htscpl 06-30-2006 09:56 AM

Cool, kinda dresses up the forum *** installs ***

TotalDriver 07-01-2006 03:48 AM

Awesome work. Simple yet effective!

Cheers,

Mike

kamus 07-01-2006 03:22 PM

very nice.. thanks!

Polo 07-03-2006 06:09 PM

Cool, I like it, will replace mine :)

Visit this link to view more "logout" images ;)

Logout Images


All times are GMT. The time now is 01:54 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01004 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete