[HowTo] [3.0.1] List the moderators below forums instead of column

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Floris
    Senior Member
    • Dec 2001
    • 37767

    [HowTo] [3.0.1] List the moderators below forums instead of column

    [HowTo] List the moderators below the forums instead of in a column.

    version 1.0 for vBulletin version 3.0.1
    By floris (http://www.vBulletin.nl/)

    Description: This template modification will list the moderators below the forums, if any, instead of showing the moderator column.

    Required: Make sure the 'show moderator column' is turned ON.

    Note: It only shows "Moderators: ..." if there are actually any moderators for that forum, otherwise it won't show.

    Installation instructions:

    Open the template FORUMHOME, and find this code and remove it.

    Code:
    <if condition="$vboptions['showmoderatorcolumn']">
    <td class="thead">$vbphrase[moderator]</td>
    </if>
    save the forumhome template.

    Open the template forumhome_forumbit_level2_post , and find this code and remove it.

    Code:
    <if condition="$vboptions['showmoderatorcolumn']">
    <td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
    </if>
    still in this template, find this code:

    Code:
    <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
    below this code, on a new line, add this code:

    Code:
    <if condition="$vboptions['showmoderatorcolumn'] AND $forum[moderators] != ''">
    <div class="smallfont">$vbphrase[moderator]s: $forum[moderators]&nbsp;</div>
    </if>
    and save the template.

    There ya go

    Check the attachments for a before/after to clarify things
    Attached Files
    Last edited by Floris; Thu 27 May '04, 10:28am.
  • vbsz.com
    Senior Member
    • Dec 2002
    • 152

    #2
    Very nice Floris.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...