[REQ] Moderator Drop

This little modification will show the Moderator Column Like Search Drop Down.

Install:

In template forumhome_forumbit_level1_post find:

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

replace it with:

PHP:
  <if condition="$vboptions['showmoderatorcolumn']">
   <td class="alt1" id="showmoderat_$forum[forumid]" align="center"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[moderator]" border="0" /><script type="text/javascript"> vbmenu_register("showmoderat_$forum[forumid]"); </script>
  <br />
  <div class="vbmenu_popup" id="showmoderat_$forum[forumid]_menu" style="display:none" align="center">
  <table cellpadding="4" cellspacing="1" border="0">
  <tr><td class="thead">$vbphrase[moderator]</td></tr>
  <tr><td class="vbmenu_option">$forum[moderators]</td></tr>
  </table>
  </div>
  </td>
  </if>

In template forumhome_forumbit_level2_post find:

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

replace it with:

PHP:
  <if condition="$vboptions['showmoderatorcolumn']">
   <td class="alt1" id="showmoderat_$forum[forumid]" align="center"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[moderator]" border="0" /><script type="text/javascript"> vbmenu_register("showmoderat_$forum[forumid]"); </script>
  <br />
  <div class="vbmenu_popup" id="showmoderat_$forum[forumid]_menu" style="display:none" align="center">
  <table cellpadding="4" cellspacing="1" border="0">
  <tr><td class="thead">$vbphrase[moderator]</td></tr>
  <tr><td class="vbmenu_option">$forum[moderators]</td></tr>
  </table>
  </div>
  </td>
  </if>

Done !
 
Back
Top