PDA

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


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']">&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
02-27-2008, 04:47 AM
Post Reserved.

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

iogames
02-27-2008, 02:08 PM
Lik-it! does it works fr 3.6.8???

Mischievious
02-27-2008, 05:18 PM
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
02-27-2008, 06:16 PM
Been using it since it was brought out here (https://vborg.vbsupport.ru/showthread.php?t=115791) :up:

Mischievious
02-27-2008, 06:23 PM
Been using it since it was brought out here (https://vborg.vbsupport.ru/showthread.php?t=115791) :up:

Ahh, but mine is different. ;)

iogames
02-28-2008, 12:06 AM
Ahh, but mine is different. ;)

What about 'bestest' :rolleyes:

Mischievious
02-28-2008, 03:06 AM
What about 'bestest' :rolleyes:

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

iogames
03-02-2008, 12:13 AM
Thaaanks! I love it...

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

Mischievious
03-23-2008, 11:05 AM
I'm glad some of you like this. :)

LWS
06-23-2008, 05:27 PM
looks great! thanks

ChaosBurnt
11-01-2008, 09:47 AM
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.:)