PDA

View Full Version : Forum Display Enhancements - Better layout of status icon's


BarryoBrien
09-09-2007, 10:00 PM
This will layout the statis icon's on the forum home and forum display. This sets them going left to righ rather than the default one under each other.

Open your forum home template and search for <!-- icons and login code --> remove the code upto the <!-- icons and login code -->

so it looks like this

<!-- icons and login code -->
<table class="tborder" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><div align="center"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /><br />$vbphrase[forum_contains_new_posts]</div></th>
<th scope="col"><div align="center"><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /><br />$vbphrase[forum_contains_no_new_posts]</div></th>
<th scope="col"><div align="center"><if condition="$vboptions['showlocks']"><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /><br />$vbphrase[forum_is_closed_for_posting]</div></th>
</if>

<center><if condition="!$show['guest']">
<!-- 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></center>
<!-- end member logout -->
</if>
</tr>
</table>
<!-- /end icon and login code -->

you can also do this in your forum display template so all of your forum looks like the homepage layout.

This update will be sent out to anyone who marks as installed.

It is a part of the new style im creating so when I make changes to it updates will be sent out.

Live demo http://www.websiteforumz.com/?styleid=20

staff80
09-10-2007, 09:25 PM
why your forum icons too small :P thanks for sharing.

valdet
09-12-2007, 02:35 PM
This one seems like it does the same thing as the following mod..

https://vborg.vbsupport.ru/showthread.php?t=118399&highlight=horizontal

BarryoBrien
10-17-2007, 07:59 PM
So it is there is alot of mod on VB.org that are close to the same or are them same just different code