Mischievious
02-26-2008, 10:00 PM
Introduction:
This will take the forum markers on the forum and place them in a horizontal line. Only with the Table Footer, and Register/Log Out links included! This is my first hack, so please be gentle with me! :D
It also works with 3.6.8.
Installation:
ACP -> Styles & Templates -> forumhome [<< >>] -> FORUMHOME
Find this code and remove it first:
<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" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">
<a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
Then Find:
<!-- icons and login code -->
Highlight Until You See:
<!-- / icons and login code -->
Replace Code With:
<!-- icons and login code -->
<table class="tborder" border="0" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" align="center">
<tr>
<td class="tcat" align="center" colspan="6">Status Icons</td>
</tr>
<tr class="alt1">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
<td class="smallfont"> $vbphrase[forum_contains_new_posts]</td>
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
<td class="smallfont"> $vbphrase[forum_contains_no_new_posts]</td>
<if condition="$vboptions['showlocks']">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
<td class="smallfont"> $vbphrase[forum_is_closed_for_posting]</td></if>
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />6</if>"><div class="smallfont"><strong>
<if condition="$show['registerbutton']">
<a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a>
|
</if>
<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']"> |
<!-- member logout -->
<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 -->
</if>
</tr>
</tbody>
</tr>
</table>
</td>
</tr>
</table>
</tr>
</table>
<!-- / icons and login code -->
This will take the forum markers on the forum and place them in a horizontal line. Only with the Table Footer, and Register/Log Out links included! This is my first hack, so please be gentle with me! :D
It also works with 3.6.8.
Installation:
ACP -> Styles & Templates -> forumhome [<< >>] -> FORUMHOME
Find this code and remove it first:
<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" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">
<a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
Then Find:
<!-- icons and login code -->
Highlight Until You See:
<!-- / icons and login code -->
Replace Code With:
<!-- icons and login code -->
<table class="tborder" border="0" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" align="center">
<tr>
<td class="tcat" align="center" colspan="6">Status Icons</td>
</tr>
<tr class="alt1">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
<td class="smallfont"> $vbphrase[forum_contains_new_posts]</td>
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
<td class="smallfont"> $vbphrase[forum_contains_no_new_posts]</td>
<if condition="$vboptions['showlocks']">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
<td class="smallfont"> $vbphrase[forum_is_closed_for_posting]</td></if>
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />6</if>"><div class="smallfont"><strong>
<if condition="$show['registerbutton']">
<a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a>
|
</if>
<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']"> |
<!-- member logout -->
<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 -->
</if>
</tr>
</tbody>
</tr>
</table>
</td>
</tr>
</table>
</tr>
</table>
<!-- / icons and login code -->