![]() |
MySpace & FaceBook buttons in member profile and postbit
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']"> |
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> HTML Code:
<td>MySpace Friend ID<br> 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. |
Ok :D
Waiting on Zoints too... |
Very nice... Installed, Thanks! :)
|
Thanks for the feedback, if you have problems just post here.
|
instead of
Code:
<legend>$vbphrase[instant_messaging]</legend> Code:
edit GLOBAL phrase instant_messaging |
Quote:
still working on it. hopefully it can |
*installed* and made a slight change to get the actual facebook profile link shown in memberinfo to actually work..
|
Quote:
|
My images don't show up, strange!!!!
|
All times are GMT. The time now is 11:15 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|