View Full Version : How to add Twitter to under username?
Farrhad A
05-14-2009, 11:50 AM
Hi,
I want to add a Twitter icon and link under each user.
Just like MSN and Yahoo icons are there. (http://www.webmasterpeers.com/showpost.php?p=655&postcount=1)
How do i do this?
Thanks!
MrEyes
05-14-2009, 01:59 PM
You would have to do two things:
Add a custom profile field to allow members to add their twitter username
Update your postbit template to include the twitter icon if they have added their twitter username to their profile.
Farrhad A
05-14-2009, 02:05 PM
Please could you help me with the coding part as I am really clueless.
Thanks!
BlueNinjaGo
05-14-2009, 02:34 PM
<if condition="$post[fieldx]"><div><img src="$stylevar[imgdir_misc]/$post[fieldx].gif" border="0" alt="$post[fieldx]" /></div></if>
I got that from https://vborg.vbsupport.ru/showthread.php?t=118896
Farrhad A
05-14-2009, 03:15 PM
I tried doing as per that thread, but nothing worked.
I'm a real noob at vB :(
Which file should I insert the code you gave?
Thanks!
BlueNinjaGo
05-14-2009, 03:25 PM
Postbit or postbit Legacy
did you upload the img you wanted to use in the misc folder?
Farrhad A
05-14-2009, 03:33 PM
I uploaded the image and added the text at the end of postbitlegacy.
But i cannot find any change/ where to add the twitter field.
Thanks a lot for the help!!
Edit: BlueNinjaGo helped me out. He was a GREAT help. :):):)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.