The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[HowTo] [3.0.0] Place and optimize the "Mark Forums Read - View Forum Leaders" bar. Details »» | |||||||||||||||||||||||||||
[HowTo] [3.0.0] Place and optimize the "Mark Forums Read - View Forum Leaders" bar.
Developer Last Online: Mar 2021
[HowTo] [3.0.0] Place and optimize the "Mark Forums Read - View Forum Leaders" bar.
Title: Place and optimize the "Mark Forums Read - View Forum Leaders" bar. Version: 1.0.0 Category: Template Modification for vBulletin version 3.0.0 (Gold) Author: Floris (http://www.vBulletin.nl/) Description: This modification removes the "Mark Forums Read - View Forum Leaders" bar from below the forum (where it behaves as footer) and places it as footer to the "What is going on" box. It will get optimized and will include a small tweak: When you are not logged in it will display the 'register' text and once logged in it will display 'Log out <username>'. Finally it will cleanup the leftover 'Log out' which hovers on the right bottom of the forum icons. Installation instructions Goto the Admin Control Panel > Styles & Templates > Style Manager and from the dropdown box select "Edit Templates" to expand the style you want to modify. Select the "Forum Home Templates" and expand the group. Select the template "FORUMHOME". Find the following code: Code:
<tbody> <tr> <td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong> <a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a> <a href="showgroups.php?$session[sessionurl]">$vbphrase[view_forum_leaders]</a> </strong></div></td> </tr> </tbody> Delete it from the template. Now also in the "FORUMHOME" template find the following code: Code:
<if condition="!$show['guest']"> <!-- member logout --> <td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout" onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td> <!-- end member logout --> </if> Delete it from the template. Still in the "FORUMHOME" template find the following code: Code:
</table> <br /> <!-- end what's going on box --> Before that, on a new line, add the following code: Code:
<tbody> <tr> <td class="thead" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong> <a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a> | <a href="showgroups.php?$session[sessionurl]">$vbphrase[view_forum_leaders]</a> <if condition="!$show['guest']"> | <a href="login.php?$session[sessionurl]do=logout" onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a> <else /><if condition="$show['registerbutton']"> | <a href="register.php?$session[sessionurl]">$vbphrase[register]</a></if></if> </strong></div></td> </tr> </tbody> Save the "FORUMHOME" template You are done! Don't ask for screenshots because I can't attach them for some strange reason. Show Your Support
|
Comments |
#2
|
|||
|
|||
Thanks floris, I was going to request this but forgot thanks. Ill install in a bit.
|
#3
|
|||
|
|||
No problem, thank you and I hope it works for you.
|
#4
|
||||
|
||||
I much prefer it this way, nice mod and thanks for sharing floris.
|
#5
|
|||
|
|||
Nice to hear from you
|
#6
|
|||
|
|||
great modification. thx
cu s. |
#7
|
|||
|
|||
An error occurred while attempting to log you out. Click here to log out.
I received this message 1.st,why ? My forum is VB3.0.1 Thanks |
#8
|
|||
|
|||
Any suggestion ?
|
#9
|
||||
|
||||
Thank you! This is great!
|
#10
|
|||
|
|||
Nice one, allthough there is a piece of code missing
This one will log you out normally... Code:
<a href="login.php?$session[sessionurl]do=logout&u=$bbuserinfo[userid]" onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|