Announcement

Collapse
No announcement yet.

Moderators List Under Forum Name

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Moderators List Under Forum Name

    This modification deletes the moderator column and add the moderators list under the forum name but only if a specific forum has one ore more moderators.

    Create the following phrase:


    Code:
    Phrase Type       Global
    Product           vBulletin
    Varname           moderated_by
    Text              Moderated By:
    Open templates forumhome_forumbit_level1_nopost and forumhome_forumbit_level2_nopost look for:


    PHP Code:
    <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> 

    and change it with:


    PHP Code:
    <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
                            <if 
    condition="$vboptions['showmoderatorcolumn'] AND $forum[moderators] != '' "><div class="smallfont" id="moderator$forum[forumid]">$vbphrase[moderated_by$forum[moderators]</div></if> 

    Open template forumhome_forumbit_level2_nopost and look for:


    PHP Code:
    <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">5<else />4</if>"

    and change it with:


    PHP Code:
    <td class="tcat" colspan="5"

    Open templates forumhome_forumbit_level1_post and forumhome_forumbit_level2_post and look for:


    PHP Code:
    <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> 

    and change it with:


    PHP Code:
    <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
                            <if 
    condition="$vboptions['showmoderatorcolumn'] AND $forum[moderators] != '' "><div class="smallfont" id="moderator$forum[forumid]">$vbphrase[moderated_by$forum[moderators]</div></if> 

    find and delete:


    PHP Code:
    <if condition="$vboptions['showmoderatorcolumn']">
            <
    td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
            </if> 

    Open template FORUMHOME look for:


    PHP Code:
    <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td

    and change it with:


    PHP Code:
    <td class="tcat" colspan="5"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td

    look for:


    PHP Code:
    <td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
                <
    phrase 1="faq.php$session[sessionurl_q]2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
            </
    td

    and change it with:


    PHP Code:
    <td class="alt1" colspan="5">
                <
    phrase 1="faq.php$session[sessionurl_q]2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
            </
    td

    find and delete:


    PHP Code:
    <if condition="$vboptions['showmoderatorcolumn']">
          <
    td class="thead">$vbphrase[moderator]</td>
          </if> 

    find:


    PHP Code:
    <td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"

    and change it with:


    PHP Code:
    <td class="alt1" colspan="5"

    Open template FORUMDISPLAY find and delete:


    PHP Code:
    <if condition="$vboptions[showmoderatorcolumn]">
          <
    td class="thead">$vbphrase[moderator]</td>
          </if> 

    find and delete:


    PHP Code:
    <if condition="$show['moderators']">
        <
    td class="tcat">$vbphrase[moderators]</td>
        </if> 

    Open template USERCP find:


    PHP Code:
    <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"

    and change it with:


    PHP Code:
    <td class="tcat" colspan="5"

    find and delete:


    PHP Code:
    <if condition="$vboptions['showmoderatorcolumn']">
            <
    td class="thead" width="20%">$vbphrase[moderator]</td>
            </if> 
    If you are italian send me a pm!

    (Se sei italiano contattami in privato!)
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X