The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
MySpace & FaceBook buttons in member profile and postbit Details »» | |||||||||||||||||||||||||||
MySpace & FaceBook buttons in member profile and postbit
Developer Last Online: Oct 2013
Updated version with more options here: https://vborg.vbsupport.ru/showthread.php?t=174863
What is it? This modification adds the MySpace & FaceBook icons to the Postbit/Postbit_legacy & MEMBERINFO templates. It will display and link to the member's myspace and facebook profiles from there postbit and profiles. How is it done? - 2 Image uploads - 2 Profile fields - 2 Template edits Other Info What gave me this idea was this: https://vborg.vbsupport.ru/showthread.php?t=142290 I did not copy any of his code. He said he was going to try and add it to the member profile, so I went ahead and did it. Instructions Instructions and images and located in the .zip folder attached to this post. PLEASE CLICK INSTALL! UPDATES: v2.0: - Added stylevar so that it cuts down 2 temp edits. - Changed image directory to /forum/images/YOURSKIN/misc instead of /forum/images/misc. - Fixed </if> coding error. No real need to update or re download if you have it working already! This update is mainly for user's that have never installed or can't get it working. v3.0 Just one minor template edit. This was brought to my attention by jmurrayhead. Go to the MEMBERINFO template. FIND: HTML Code:
<if condition="$show['hasimicons']">
HTML Code:
<if condition="$show['hasimicons'] OR $userinfo['fieldXX'] OR $userinfo['fieldXX']">
Show Your Support
|
Comments |
#2
|
|||
|
|||
To make the input field display in edit profile page:
Go to your editprofile template. FIND: HTML Code:
<legend>$vbphrase[instant_messaging]</legend> HTML Code:
<legend>Contact</legend> HTML Code:
<tr> <td>$vbphrase[skype_name]<br /> <img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" /> <input type="text" class="bginput" name="skype" value="$bbuserinfo[skype]" size="25" maxlength="32" dir="ltr" /></td> <td> </td> </tr> HTML Code:
<td>MySpace Friend ID<br> <img src="http://www.YOURFORUM.com/forum/images/misc/myspace.gif" alt="" /> <input type="text" class="bginput" name="myspace" value="$bbuserinfo[fieldXX]" size="25" maxlength="100" dir="ltr" /></td> </td> <td>FaceBook UserID<br> <img src="http://www.YOURFORUM.com/forum/images/misc/facebook.gif" alt="" /> <input type="text" class="bginput" name="myspace" value="$bbuserinfo[fieldXX]" size="25" maxlength="100" dir="ltr" /></td> </td> Also replace the YOURFORUM with your forum URL. All it does is take the field that you enter in the custom fields in put them in the input fields under profile page. In order for it to display the user will have to enter in the custom fields which makes this kind of pointless to begin with. I do not know how to make the input field it's own variable. Maybe someone can figure that out and edit it? Anyway. There you go. |
#3
|
||||
|
||||
Ok
Waiting on Zoints too... |
#4
|
|||
|
|||
Very nice... Installed, Thanks!
|
#5
|
|||
|
|||
Thanks for the feedback, if you have problems just post here.
|
#6
|
|||
|
|||
instead of
Code:
<legend>$vbphrase[instant_messaging]</legend> --------------- =Replace With:= --------------- <legend>Contact</legend> Code:
edit GLOBAL phrase instant_messaging edit to (or to variation as suits you): Instant Messaging and Contact |
#7
|
|||
|
|||
Quote:
still working on it. hopefully it can |
#8
|
||||
|
||||
*installed* and made a slight change to get the actual facebook profile link shown in memberinfo to actually work..
|
#9
|
||||
|
||||
And it's modifyprofile template .. I searched for editprofile for awhile *lol*
|
#10
|
|||
|
|||
My images don't show up, strange!!!!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|