VBulletin showgroups.php question

Discussion in 'vBulletin' started by Gurbrinder, Jan 24, 2009.

  1. #1
    i want that /showgroups.php script of vbulletin will run only for some usergroup.

    its easy to hide View forum leader link by using

    this just won't show the link on forum home but if user open the /showgroups.php directly then it'll show the all the usergroup members that we have enabled to be show on showgroups.

    i want also that this script won't rub for that usergroup :rolleyes:

    Thanks!
     
    Gurbrinder, Jan 24, 2009 IP
  2. Dreads

    Dreads Well-Known Member

    Messages:
    1,884
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    150
    #2
    Add that code inside the SHOWGROUPS template as well
     
    Dreads, Jan 24, 2009 IP
  3. Brandon Sheley

    Brandon Sheley Illustrious Member

    Messages:
    9,721
    Likes Received:
    612
    Best Answers:
    2
    Trophy Points:
    420
    #3
    why not just disable per usergroups?
     
    Brandon Sheley, Jan 24, 2009 IP
  4. Gurbrinder

    Gurbrinder Member

    Messages:
    48
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #4
    i didn't find it
    :rolleyes:
     
    Gurbrinder, Jan 25, 2009 IP
  5. Gurbrinder

    Gurbrinder Member

    Messages:
    48
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #5
    Couldn't find

    [COLOR="Red"]<if condition="$bbuserinfo['userid'] == 1">[/COLOR]
    <if condition="$moderatorbits">
    <!-- moderators -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
    	<td class="tcat" colspan="4">$vbphrase[moderators]</td>
    </tr>
    <tr>
    	<td class="thead">&nbsp;</td>
    	<td class="thead" width="50%">$vbphrase[username]<if condition="$show['locationfield']"> / $vbphrase[location_perm]</if></td>
    	<td class="thead" width="50%">$vbphrase[forums]</td>
    	<td class="thead">$vbphrase[contact]</td>
    </tr>
    $moderatorbits
    </table>
    <br />
    <!-- end moderators -->
    </if>
    [COLOR="Red"]</if>[/COLOR]
    Code (markup):
    i have used the red color condition in showgroup template but still its opened :confused:
     
    Gurbrinder, Feb 10, 2009 IP