PDA

View Full Version : Forum Display Enhancements - Better Forum & Thread Description Display


Idlehearts
03 Jun 2008, 16:09
Are you bored with the default forum and thread description you see on every forum.

Then here is a small MOD for you.


Installation:

Find in navbar template:

<if condition="$show['forumdesc']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>

replace with:


<if condition="$show['forumdesc'] AND THIS_SCRIPT == 'forumdisplay'">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><h1>$foruminfo[title]</h1>
<span class="smallfont">Below you will find a list of discussions in the <b>$foruminfo[title]</b> forums in site. $foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>

<if condition="$show['forumdesc'] AND THIS_SCRIPT == 'showthread'">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><h1>$threadinfo[prefix_plain]$threadinfo[title]</h1>
<span class="smallfont">This is a discussion on <b>$threadinfo[prefix_plain]$threadinfo[title]</b> with in the <b>$foruminfo[title]</b> forums a part of site.
</td>
</tr>
</table>
<br />
</if>



Replacements:

Red Color: You may edit it as you wish.
Blue Color: Your Site name.



For more info see ScreenShots:

nirvana43
03 Jun 2008, 16:12
lil bit more information will be great!! any screenshot plz???
and thanks in advance :)

Idlehearts
03 Jun 2008, 16:14
Reserved:

IF anyone want to put this as a product or plug-in. They are welcomed.

Nikke
03 Jun 2008, 17:17
This is quite the same as vBSEO:s relevant replacements?

abrecher
05 Jun 2008, 07:15
Nice mod. I've corrected your English grammar:

<if condition="$show['forumdesc'] AND THIS_SCRIPT == 'forumdisplay'">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><h1>$foruminfo[title]</h1>
<span class="smallfont">Below you will find a list of discussions in the <b>$foruminfo[title]</b> forums. $foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>

<if condition="$show['forumdesc'] AND THIS_SCRIPT == 'showthread'">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><h1>$threadinfo[prefix_plain]$threadinfo[title]</h1>
<span class="smallfont">This is a discussion on <b>$threadinfo[prefix_plain]$threadinfo[title]</b> within the <b>$foruminfo[title]</b> forums.
</td>
</tr>
</table>
<br />
</if>

Forum Lover
07 Aug 2008, 13:32
Nice thing... I am using it.