Need to disable "Cynthia is a member of the following groups"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Cynthia
    Senior Member
    • Oct 2001
    • 731
    • 3.0.3

    Need to disable "Cynthia is a member of the following groups"

    As part of a public joinable group this is displayed in the profile of a member of the group:

    Cynthia is a member of the following groups:

    Ipso Facto

    Is it possible to disable this so that no one can see who is a member of what?
    Eat Your Veggies
  • Andy Huang
    Senior Member
    • Feb 2004
    • 4602

    #2
    Admin CP -> Style Manager -> Your Style -> <<>>
    MEMBER INFO TEMPLATES / MEMBERINFO

    Find the following green template code:
    Code:
    		</div>
    	</div>
    	</td>
    	
    [color=green]	<td class="panelsurround" align="center">
    	<div class="panel">
    		<div align="$stylevar[left]">
    		
    			<div class="fieldset">
    				<table cellpadding="0" cellspacing="$stylevar[formspacer]px" border="0">
    				<tr>
    					<if condition="$show['membergroups']">
    					<td><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_a_member_of_the_following_groups]</phrase></strong>:</td>
    					<else />
    					<td><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></td>
    					</if>
    				</tr>
    				$membergroupbits
    				</table>
    			</div>
    		
    		</div>
    	</div>[/color]
    	</td>
    Replace the green template code with the following blue template code:
    Code:
    		</div>
    	</div>
    	</td>
    	
    [color=blue]	<td><!-- spacer -->[/color]
    	</td>
    It should remove the box where it says whether or not the user is a member of public group all together. I have not tested this before, so please do let me know if that doesn't work.
    Best Regards,
    Andy Huang

    Comment

    • Dennis Olson
      Senior Member
      • Oct 2002
      • 2789

      #3
      Memberinfo template.

      Find:

      $membergroupbits

      And comment it out. OR, if you just want Admins to see it, you could surround it with a template conditional:

      Code:
      [b]<if condition="$bbuserinfo[usergroupid] == 6">[/b]
      [b]	 $membergroupbits[/b]
      [b]<else />[/b]
      [b]	 This information is Private[/b]
      [b]</ if>[/b]
      Edited for typos in code

      Comment

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