Back to vBulletin 3.0 Template Modifications

[HowTo] [3.0.0] Place and optimize the "Mark Forums Read - View Forum Leaders" bar.
Mod Version: 1.00, by Floris

This modification is in the archives.
vB Version: Rating: (0 vote - 0 average) Installs: 5
Released: 12 Apr 2004 Last Update: Never Downloads: 2
Not Supported  

[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>
&nbsp; &nbsp;
<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>
&nbsp;|&nbsp;
<a href="showgroups.php?$session[sessionurl]">$vbphrase[view_forum_leaders]</a>
<if condition="!$show['guest']">&nbsp;|&nbsp;
<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']">&nbsp;|&nbsp; <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.

Download

No files for download.

Similar Mods

Skip a Forums New Posts - Add "Mark Forum Read" to New Posts search vBulletin 3.5 Add-ons

vblts.ru supports vBulletin®, 2022-2024