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

    Related Topics

    Collapse

    Working...
    X