The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Social Networking Fieldset in User Profile & Postbit Details »» | |||||||||||||||||||||||||||
Social Networking Fieldset in User Profile & Postbit
Developer Last Online: Oct 2013
This template modification adds links to user's social networking profiles like MySpace, FaceBook, Youtube, eBay, Xbox etc.
Instructions: In order to add each site ie. MySpace, FaceBook, Youtube, etc. You will need to add Profile Fields via the Admin Control Panel. Like this: Admin CP > User Profile Fields > Add new profile field Title: *Social Networking Site* Description: *Your Social Networking Site Profile* Max length of allowed user input: 20 Field editable by user: Yes Private Field: No And a new profile field for each site. Each profile field will be represented by a field number. ie. field5 . You will need to know which field number represents which site in the template editing! - Don't forget to upload the images to YOUR SKINS /misc folder. :: Refer to the attached text file for template edits and further instructions! :: *Please Mark as Installed* Make the Fieldset not show when the user hasn't entered anything in the profile fields! Go to the MEMBERINFO template: Find: Code:
<!--Social Networking--> Code:
<if condition="$userinfo['fieldXX'] OR $userinfo['fieldXX'] OR $userinfo['fieldXX'] OR $userinfo['fieldXX'] OR $userinfo['fieldXX']"> Then Find: Code:
</fieldset> </div> Code:
</if> Show Your Support
|
Comments |
#2
|
|||
|
|||
Adding Social Networking Fieldset to User's Postbit
In the Postbit Legacy Template: Find: Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div> Code:
<if condition="$post['fieldXX'] OR $post['fieldXX'] OR $post['fieldXX'] OR $post['fieldXX'] OR $post['fieldXX']"> <!--Social Networking--> <div class="smallfont" align="left"> <fieldset><legend>Social Networking</legend> <if condition="$post['fieldXX']"> <a href="http://www.myspace.com/$post[fieldXX]"target="_blank"><img src="$stylevar[imgdir_misc]/myspace.gif"border="0"alt="View Member's Myspace Profile"></a> </if> <if condition="$post['fieldXX']"> <a href="http://www.facebook.com/$post[fieldXX]"target="_blank"><img src="$stylevar[imgdir_misc]/facebook.gif"border="0"alt="View Member's FaceBook Profile"></a> </if> <if condition="$post['fieldXX']"> <a href="http://youtube.com/user/$post[fieldXX]"target="_blank"><img src="$stylevar[imgdir_misc]/youtube.gif"border="0"alt="View Member's YouTube Profile"></a> </if> <if condition="$post['fieldXX']"> <a href="http://myworld.ebay.com/$post[fieldXX]"target="_blank"><img src="$stylevar[imgdir_misc]/ebay.gif"border="0"alt="View Member's eBay Profile"> </if> <if condition="$post['fieldXX']"> <a href="http://live.xbox.com/member/$post[fieldXX]"target="_blank"><img src="$stylevar[imgdir_misc]/xbox.gif"border="0"alt="View Member's Xbox Profile"></a> </if> </fieldset> </div> <!--/Social Networking--> </if> |
#3
|
|||
|
|||
*Reserved to add more sites*
|
#4
|
|||
|
|||
Hello mate, do these show up in people's post bits?
|
#5
|
|||
|
|||
It would be nice if one could be selected to be shown in the postbit.
Do you have the linkedin icon implemented? |
#6
|
|||
|
|||
Added in 2nd post.
|
#7
|
|||
|
|||
No but if you give me a link to a user profile on linkedin I could draw up the code, it's not hard. You can PM the link if you'd like.
|
#8
|
|||
|
|||
Will install later. Thanks mate.
|
#9
|
|||
|
|||
Your Welcome
|
#10
|
|||
|
|||
How do you prevent the added field information from showing up in the "Additional Information" section of the Member's profile?
Thanks, good work :up: |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|