PDA

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


Idlehearts
06-02-2008, 10:00 PM
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
06-03-2008, 02:12 PM
lil bit more information will be great!! any screenshot plz???
and thanks in advance :)

Idlehearts
06-03-2008, 02:14 PM
Reserved:

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

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

abrecher
06-05-2008, 05:15 AM
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
08-07-2008, 11:32 AM
Nice thing... I am using it.