Announcement

Collapse
No announcement yet.

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

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

  • 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

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

    Find the following green template code:
    Code:
    		</div>
    	</div>
    	</td>
    	
    	<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>
    	</td>
    Replace the green template code with the following blue template code:
    Code:
    		</div>
    	</div>
    	</td>
    	
    	<td><!-- spacer -->
    	</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


    • #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:
      <if condition="$bbuserinfo[usergroupid] == 6">
      	 $membergroupbits
      <else />
      	 This information is Private
      </ if>
      Edited for typos in code

      Comment

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