Question Twitter account in one of the tabs

Status
Not open for further replies.

adeel786

Customer
Hi there,

I want to add twitter link in there. How can i go about this.

it has to be a link, that will go to members twitter account.
 
Did you try using
Code:
<a href="http://www.twitter.com/{vb:var post.fieldX}">{vb:var post.fieldX}</a>
in the View?
 
HTML:
<dl class="userinfo_extra">
	<vb:if condition="$post['fieldX']"><dt>Twitter</dt> <dd><a href="http://www.twitter.com/{vb:var post.fieldX}">{vb:var post.fieldX}</a></dd></vb:if>
</dl>

Replace X with the field ID of the profile field you've created :)
 
HTML:
<dl class="userinfo_extra">
	<vb:if condition="$post['fieldX']"><dt>Twitter</dt> <dd><a href="http://www.twitter.com/{vb:var post.fieldX}">{vb:var post.fieldX}</a></dd></vb:if>
</dl>

Replace X with the field ID of the profile field you've created :)
 
HTML:
<dl class="userinfo_extra">
	<vb:if condition="$post['fieldX']"><dt>Twitter</dt> <dd><a href="http://www.twitter.com/{vb:var post.fieldX}">{vb:var post.fieldX}</a></dd></vb:if>
</dl>

Replace X with the field ID of the profile field you've created :)

It should go to user's twitter profile, but it goes twitter.com
 
In that case I don't know, sorry :(

You can practice in the normal postbit_legacy template until you find a way to make it work there, then simply copy/paste it into a new View in PBTabs - they use the same syntax :)
 
Status
Not open for further replies.

Legacy Postbit Tabs

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
497
Customer rating
0.00 star(s) 0 ratings
Back
Top