PDA

View Full Version : Forum Home Enhancements - Horizontal Status/Forum Markers for 3.7.0!


Mischievious
27 Feb 2008, 05:46
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']">&nbsp; &nbsp;
<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">&nbsp; $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">&nbsp; $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">&nbsp; $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>
&nbsp;|&nbsp;
</if>
<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;
<!-- member logout -->
<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 -->
</if>
</tr>
</tbody>
</tr>
</table>

</td>

</tr>

</table>

</tr>
</table>
<!-- / icons and login code -->

Mischievious
27 Feb 2008, 05:47
Post Reserved.

blind-eddie
27 Feb 2008, 06:03
Nice Idea, This will also help me do a little more there, Thanks

iogames
27 Feb 2008, 15:08
Lik-it! does it works fr 3.6.8???

Mischievious
27 Feb 2008, 18:18
Lik-it! does it works fr 3.6.8???

Yes. It does. Check it out in action by clicking the link in my sig. My live board is 3.6.8.

Don't forget to click install if you use it! :)

TTG
27 Feb 2008, 19:16
Been using it since it was brought out here (http://www.vbulletin.org/forum/showthread.php?t=115791) :up:

Mischievious
27 Feb 2008, 19:23
Been using it since it was brought out here (http://www.vbulletin.org/forum/showthread.php?t=115791) :up:

Ahh, but mine is different. ;)

iogames
28 Feb 2008, 01:06
Ahh, but mine is different. ;)

What about 'bestest' :rolleyes:

Mischievious
28 Feb 2008, 04:06
What about 'bestest' :rolleyes:

I wouldn't go nearly that far at all. Heh.

iogames
02 Mar 2008, 01:13
Thaaanks! I love it...

Ohiosweetheart
02 Mar 2008, 05:06
I've been placing my status icons in a horizontal table for a while now.
But this looks much better than mine. Thanks!

Mischievious
23 Mar 2008, 12:05
I'm glad some of you like this. :)

LWS
23 Jun 2008, 18:27
looks great! thanks

ChaosBurnt
01 Nov 2008, 10:47
Nice one, looks much nicer now, thanks for this, made a few changes to sort html tidy but short of that, just what I was looking for.:)