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 |
#42
|
|||
|
|||
Quote:
|
#43
|
|||
|
|||
The facebook links just take you to your own profile instead of the persons site you are clicking,how do i sort that,the links are correct as they say in your instructions
|
#44
|
|||
|
|||
Quote:
Like fieldXX |
#45
|
|||
|
|||
Hi, thank you for this. I thought I did everything correct but obviously I didn't. My myspace page URL is showing up in the additional information section not the contact section and I don't see the gifs and it doesn't show up as a link just a url. Do you have any recommendations or idea of what I did wrong?
Thanks! |
#46
|
|||
|
|||
I think I figured everything out. Thanks!
|
#47
|
|||
|
|||
Me again :erm:
OK I didn't know this until someone else pointed it out since I don't have facebook but the facebook link is not working properly. Here is what I have in the postbit legacy and the memberinfo section. What am I doing wrong? Thanks! Leiha Postbit legacy <!-- ChU's MySpace & FaceBook Icon's --> <if condition="$post[field5]"> <a href ="http://www.myspace.com/$post[field5]"target="_blank"><img src ="$stylevar[imgdir_misc]/myspace.gif"border="0"alt="View Member's Myspace Profile"></a> </if> <if condition="$post[field6]"> <a href ="http://www.facebook.com/profile.php?id=$post[field6]"target="_blank"><img src ="$stylevar[imgdir_misc]/facebook.gif"border="0"alt="View Member's FaceBook Profile"></a> </if> <!-- End ChU's MySpace & FaceBook Icon's --> Memberinfo <!-- ChU's MySpace & FaceBook Icon's --> <if condition="$userinfo['field5']"> <tr> <td><a href="http://www.myspace.com/$userinfo[field5]"target="_blank"><img src="$stylevar[imgdir_misc]/myspace.gif"border="0"alt="View Member's Myspace Profile"></td></a> <td><a href="http://www.myspace.com/$userinfo[field5]"target="_blank">http://www.myspace.com/$userinfo[fieldXX]</a></td> </tr> </if> <if condition="$userinfo['field6']"> <tr> <td><a href="http://www.facebook.com/$userinfo[field6]"target="_blank"><img src="$stylevar[imgdir_misc]/facebook.gif"border="0"alt="View Member's FaceBook Profile"></td></a> <td><a href="http://www.facebook.com/user/profile.php?id=$userinfo[field6]"target="_blank">http://www.facebook.com/profile.php?id=$userinfo[field6]</a></td> </tr> </if> <!-- End ChU's MySpace & FaceBook Icon's --> |
#48
|
|||
|
|||
Link me to your forum and I'll look
|
#49
|
|||
|
|||
<a href="http://www.karenmoning.com/forum/index.php" target="_blank">http://www.karenmoning.com/forum/index.php</a>
Thank you CHu! |
#50
|
||||
|
||||
cool hack the only problem i am having is the fields are showing up in the additional information box under occupation. I think your plan was to have them show up where the aim and skype boxes are. I followed your instructions that came with the download. Any suggestions
http://www.dezertrangers.com thanks |
#51
|
|||
|
|||
queengoc: I don't know why it wouldn't be showing up, from what I can tell you've done nothing wrong. I would go back and re do everything to make sure it's right.
kingmotox: You probably put the code in the wrong spot in the MEMBERINFO template. Go back and check. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|