View Full Version : Moderators List Under Forum Name


Virtex-II
11th September 2006, 03:33 PM
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:

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


<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> and change it with:

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

<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">5<else />4</if>"> and change it with:

<td class="tcat" colspan="5">
Open templates forumhome_forumbit_level1_post and forumhome_forumbit_level2_post and look for:

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

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

<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
</if>
Open template FORUMHOME look for:

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

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

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

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

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

<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"> and change it with:

<td class="alt1" colspan="5">
Open template FORUMDISPLAY find and delete:

<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead">$vbphrase[moderator]</td>
</if> find and delete:

<if condition="$show['moderators']">
<td class="tcat">$vbphrase[moderators]</td>
</if>
Open template USERCP find:

<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"> and change it with:

<td class="tcat" colspan="5"> find and delete:

<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead" width="20%">$vbphrase[moderator]</td>
</if>

Virtex-II
11th September 2006, 03:47 PM
Sorry posted this in the wrong place, can someone move it? Forgive me!!!

Floris
11th September 2006, 04:56 PM
Hey this is cool, thanks for sharing! I have moved it to the right forum for you.

I added karma points for your contribution. Keep up the good work.

Virtex-II
11th September 2006, 07:52 PM
Hey this is cool, thanks for sharing! I have moved it to the right forum for you.

I added karma points for your contribution. Keep up the good work.

That's a great honor to me, thanks Floris!!!

Floris
11th September 2006, 08:12 PM
No problem buddy

Innova.
30th July 2007, 06:16 AM
Can we see a screenshot of this to tell exactly what it will look like when it's done?