Contact Information remove in Profile

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • imgnrm
    Member
    • Mar 2017
    • 94
    • 5.3.x

    Contact Information remove in Profile

    Hello,
    Is there any ways to remove the below info in Profile?

    contact information(messenger Use option)
    Web info

    Please let me know.

    Thank you
    Last edited by imgnrm; Fri 31 Aug '18, 3:17pm.
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74161

    #2
    You would need to edit the template directly. The template that your looking for is profile_about

    Code:
    <vb:if condition="$userInfo['homepage'] OR $userInfo['icq']  OR $userInfo['aim'] OR $userInfo['google'] OR $userInfo['yahoo'] OR $userInfo['skype']">
    	<div class="section about-contact">
    		<div class="section-header">
    			{vb:phrase contact}
    		</div>
    		<div class="section-content table">
    			<vb:if condition="$userInfo['homepage']">
    				<div class="tr">
    					<div class="td">{vb:phrase web}</div>
    					<div class="td">{vb:raw userInfo.homepage}</div>
    				</div>
    			</vb:if>
    
    			<vb:if condition="$userInfo['icq']">
    				<div class="tr">
    					<div class="td">{vb:phrase icq}</div>
    					<div class="td">{vb:raw userInfo.icq}</div>
    				</div>
    			</vb:if>
    
    			<vb:if condition="$userInfo['aim']">
    				<div class="tr">
    					<div class="td">{vb:phrase aim}</div>
    					<div class="td">{vb:raw userInfo.aim}</div>
    				</div>
    			</vb:if>
    
    			<vb:if condition="$userInfo['yahoo']">
    				<div class="tr">
    					<div class="td">{vb:phrase yahoo}</div>
    					<div class="td">{vb:raw userInfo.yahoo}</div>
    				</div>
    			</vb:if>
    
    			<vb:if condition="$userInfo['google']">
    				<div class="tr">
    					<div class="td">{vb:phrase google}</div>
    					<div class="td">{vb:raw userInfo.google}</div>
    				</div>
    			</vb:if>
    
    			<vb:if condition="$userInfo['skype']">
    				<div class="tr">
    					<div class="td">{vb:phrase skype}</div>
    					<div class="td">{vb:raw userInfo.skype}</div>
    				</div>
    			</vb:if>
    
    			{vb:hook profile_contacts_end}
    		</div>
    	</div>
    </vb:if>
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • Claire SR
      Senior Member
      • Apr 2017
      • 113
      • 5.2.x

      #3
      Hi Wayne,

      Where can I find this page?

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 74161

        #4
        Templates are accessed in the AdminCP under Styles -> Style Manager. Either click the << >> button on the right for the style you want to change or choose "Edit Templates" from the drop down menu for that style.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        Related Topics

        Collapse

        Working...