Announcement

Collapse
No announcement yet.

Contact Information remove in Profile

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

  • 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 31st Aug '18, 3:17pm.

  • #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 customization and demonstration site.
    vBulletin 5 Documentation - Updated every Friday. Report issues here.
    vBulletin 5 API - Full / Mobile
    I am not currently available for vB Messenger Chats.

    Comment


    • #3
      Hi Wayne,

      Where can I find this page?

      Comment


      • #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 customization and demonstration site.
        vBulletin 5 Documentation - Updated every Friday. Report issues here.
        vBulletin 5 API - Full / Mobile
        I am not currently available for vB Messenger Chats.

        Comment

        Related Topics

        Collapse

        Working...
        X