The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Social Networking in Postbit & Profile
I have added seven fields to the user database to include seven social networking websites and have successfully added fields to the Edit Profile page and have it writing / reading from the database. In the Postbit Legacy template and Member Profile templates, I want icons to show up just like those for AIM / Yahoo / ICQ / Yahoo if the user has those social networking fields filled in their profile.
I'm able to see the value of the fields if I add "$post[facebook]" to the postbit, but I don't know how to edit the template/code to add the image properly. By the way, I have VB 3.5 |
#2
|
||||
|
||||
I would just put the <img> in a conditional...
<if condition="$post[facebook]"><img src="/images/facebook_icon.gif" border="0" /></if> If the field $post[facebook] isn't empty it will show the icon. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|