vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Forum Display Enhancements - Better Forum & Thread Description Display (https://vborg.vbsupport.ru/showthread.php?t=181389)

Idlehearts 06-02-2008 10:00 PM

Better Forum & Thread Description Display
 
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:

Code:

<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:

Code:

<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.


All times are GMT. The time now is 11:15 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01249 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete