Logout Button replacing Logout text
This modification is in the archives.
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&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&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 No files for download. Screenshots
|
Similar Mods
Logout Button | vBulletin 2.x Template Modifications |