PDA

View Full Version : Mini Mods - MySpace & FaceBook buttons in member profile and postbit


ChU v2
10-13-2007, 10:00 PM
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:


<if condition="$show['hasimicons']">


REPLACE WITH:


<if condition="$show['hasimicons'] OR $userinfo['fieldXX'] OR $userinfo['fieldXX']">


Replace the XX's with the field numbers for your MySpace & Facebook profile fields.

ChU v2
10-14-2007, 08:23 PM
To make the input field display in edit profile page:

Go to your editprofile template.

FIND:


<legend>$vbphrase[instant_messaging]</legend>


REPLACE WITH:


<legend>Contact</legend>


FIND:


<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>&nbsp;</td>
</tr>


ADD UNDER:


<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>


Replace the XX's with appropiate field numbers that you created from the above post.
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.

iogames
10-16-2007, 08:29 PM
Ok :D

Waiting on Zoints too...

jon5221
10-16-2007, 08:44 PM
Very nice... Installed, Thanks! :)

ChU v2
10-18-2007, 06:59 AM
Thanks for the feedback, if you have problems just post here.

wpeloquin
10-21-2007, 05:57 PM
instead of

<legend>$vbphrase[instant_messaging]</legend>

---------------
=Replace With:=
---------------

<legend>Contact</legend>
i just edited the phrase itself edit GLOBAL phrase instant_messaging

edit to (or to variation as suits you):

Instant Messaging and Contact

wpeloquin
10-21-2007, 06:45 PM
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?.I've been playing around with this, because thats where i would like the inputs. i'm not sure if this can be done without a plugin?

still working on it. hopefully it can

JadedSouls
10-21-2007, 06:48 PM
*installed* and made a slight change to get the actual facebook profile link shown in memberinfo to actually work..

JadedSouls
10-21-2007, 06:49 PM
To make the input field display in edit profile page:

Go to your editprofile template.

<cut>

And it's modifyprofile template .. I searched for editprofile for awhile *lol*

mcyates
10-23-2007, 06:39 PM
My images don't show up, strange!!!!

Spank
10-26-2007, 03:39 PM
I've installed these but it the data in the filed is not getting put after the / so it just goes to the main myspace/facebook page =/

iardon
10-26-2007, 06:32 PM
Installed, thanks!

ChU v2
10-27-2007, 02:57 PM
I've installed these but it the data in the filed is not getting put after the / so it just goes to the main myspace/facebook page =/

check to see if the URL is typed correctly and also make sure your that 1. you have the field filled out meaning your username/id saved in your member profile and 2. that you replaced the XX in the code with the field number you set up in the ACP.

jmurrayhead
10-28-2007, 03:36 PM
My images don't show up, strange!!!!
Make sure you correct the URL to go to the exact location your images are stored. For example, I don't have a folder called "forum" so I had to modify the URL to:

http://www.mypage.com/images/mics/myspace.gif

instead of

http://www.mypage.com/forum/images/misc/myspace.gif

yoyoyoyo
10-28-2007, 03:43 PM
You forgot to close the facebook if statement...
<!-- ChU's MySpace & FaceBook Icon's -->
<if condition="$post[fieldXX]">
<a href ="http://www.myspace.com/$post[fieldXX]"target="_blank"><img src ="http://www.YOURFORUM.com/forum/images/misc/myspace.gif"border="0"alt="View Member's MySpace Profile"></a>
</if>
<if condition="$post[fieldXX]">
<a href ="http://www.facebook.com/profile.php?id=$post[fieldXX]"target="_blank"><img src ="http://www.YOURFORUM.com/forum/images/misc/facebook.gif"border="0"alt="View Member's FaceBook Profile"></a>
<!-- End ChU's MySpace & FaceBook Icon's -->should be:
<!-- ChU's MySpace & FaceBook Icon's -->
<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/profile.php?id=$post[fieldXX]"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 -->I also changed the www.YOURFORUM.com/forum/images/misc/ to $stylevar[imgdir_misc]/

also- the reason that many people are not seeing the myspace and facebook icons in their forum is that they go in the misc images folder, and if you simply upload the "Images" folder it will not go there. It would be better if you didn't capitalize the "Images" folder and also added a "misc" folder with the icons inside of that so people could just upload the contents of the "upload" folder.

There is no editprofile template - it is modifyprofile.

jmurrayhead
10-28-2007, 04:08 PM
I also noticed that if a user doesn't have an Instant Messenger listed, then the links won't show up like they should and the user ID's will just display in the regular profile section.

ChU v2
10-28-2007, 05:14 PM
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.

ChU v2
10-28-2007, 05:17 PM
There is no editprofile template - it is modifyprofile.

Where in the instructions is this? I could not find it. The only template edits are in postbit/postbit legacy and MEMBERINFO. Unless I forgot and am missing it.

I also noticed that if a user doesn't have an Instant Messenger listed, then the links won't show up like they should and the user ID's will just display in the regular profile section.

You mean, if they don't AIM, MSN, Yahoo, or Skype in the one of the other profile fields, the myspace and facebook images don't work? I tried this and didn't have a problem.

jmurrayhead
10-28-2007, 05:37 PM
You mean, if they don't AIM, MSN, Yahoo, or Skype in the one of the other profile fields, the myspace and facebook images don't work? I tried this and didn't have a problem.

If they don't have either of those, then nothing appears under "Contact" in the user profile.

I worked on it for a while and was able to fix it by changing this in MEMBERINFO:

<if condition="$show['hasimicons']">


to this:

<if condition="$show['hasimicons'] OR $userinfo['field7'] OR $userinfo['field8']">


Now it works as it should. Thanks!

ChU v2
10-28-2007, 07:40 PM
Oh I see what you are saying, ya that fixes it thank you.

youradhere4222
11-07-2007, 02:25 AM
This isn't showing in the post bit.

ChU v2
11-07-2007, 03:27 AM
Make sure you have the images uploaded to the right directory.

image directory to /forum/images/YOURSKIN/misc instead of /forum/images/misc.

SnapOff Racing
11-07-2007, 04:57 AM
Make sure you have the images uploaded to the right directory.

image directory to /forum/images/YOURSKIN/misc instead of /forum/images/misc.

that doesnt work either...

my link is www.snapoffracing.com/forums/images/misc.

that's where the images are located and it doesnt work in postbit but shows up fine in memberinfo...what gives? :confused:

youradhere4222
11-07-2007, 10:22 AM
Mine are in the correct directory. Something is wrong with the coding.

ChU v2
11-09-2007, 02:03 AM
that doesnt work either...

my link is www.snapoffracing.com/forums/images/misc.

that's where the images are located and it doesnt work in postbit but shows up fine in memberinfo...what gives? :confused:

In the MEMBERINFO and Postbit tempates try replacing:


<img src ="$stylevar[imgdir_misc]/myspace.gif"border="0"alt="View Member's Myspace Profile">


With:


<img src ="http://www.snapoffracing.com/forums/images/misc/myspace.gif"border="0"alt="View Member's Myspace Profile">


And:


<img src ="$stylevar[imgdir_misc]/facebook.gif"border="0"alt="View Member's FaceBook Profile">


With:


<img src ="http://www.snapoffracing.com/forums/images/misc/facebook.gif"border="0"alt="View Member's FaceBook Profile">


That should work because I looked and your images are showing up in that directory.


Mine are in the correct directory. Something is wrong with the coding.


Nothing is wrong with the coding at all. I bet it's just a miss guided image directory. Try entering the actual URL in the code like the I did earlier in this post and see if that works.

blinblin
11-12-2007, 01:22 AM
Great little mod!! Installed work good for me.:D

ChU v2
11-12-2007, 09:37 PM
Great little mod!! Installed work good for me.:D

Please mark as installed then. Thank you for the comment. :D

atlambros83
12-02-2007, 06:34 PM
was hoping to find a mod like this. installed. works great! thanks. :)

mamashid
12-07-2007, 03:00 AM
how do i add a profile feild i dont understand this step?

thanks

ChU v2
12-08-2007, 03:40 AM
how do i add a profile feild i dont understand this step?

thanks

From the Admin CP Go to User Profile Fields on the left navigation menu and click Add new profile field

Select 'Single-Line Textbox' and go from there.

pete_k104
12-10-2007, 04:33 AM
worked out the profile field part but where do I go to upload the images and then do the rest of this?

EuroPk
12-11-2007, 06:27 PM
Love it , GOOD JOB Now if i could only learn some things anyone good with plugins herE? i need to learn something... who wants to help me.

ChU v2
12-11-2007, 08:28 PM
worked out the profile field part but where do I go to upload the images and then do the rest of this?

It's in the instructions.

ChU v2
12-11-2007, 08:29 PM
Love it , GOOD JOB Now if i could only learn some things anyone good with plugins herE? i need to learn something... who wants to help me.

This mod has nothing to do with plugins. It's all template edits.

pete_k104
12-12-2007, 06:44 AM
It's in the instructions.

Understand that but where exactly in my admin cp do I go to upload images and where do I find the postbit or postbit_legacy template?

ChU v2
12-13-2007, 02:29 AM
Understand that but where exactly in my admin cp do I go to upload images and where do I find the postbit or postbit_legacy template?

To upload images you have to do that via FTP through a separate program like FlashFXP or SmartFTP. I believe some people even use the FTP Manager located in some cPanels.

The postbit and/or postbit_legacy templates are located in Styles & Templates > Style Manager. From there click the drop down menu and click edit templates. Click the >> to expand all the templates in the list and navigate to the postbit/postbit_legacy templates.

Big Daddy Payne
01-09-2008, 08:57 PM
Many thanks works great!

jenai
01-12-2008, 03:14 AM
Nice works well, only prob is i cant get the icons to align properly they are out of place. I added the icons you did to the ones i have but want to know how to make them straight. http://www.uptownrecords.com/forum/showthread.php?t=68337

Thanks very much

BucShot
01-20-2008, 09:12 AM
Instructions say Private Field: Yes
(Not that there's anything wrong with that... :D) but this will disable viewing to default group settings like Registered and Unregistered. Setting Private Field to No allows viewing right along with default Aim, Yahoo and the like.

Great mod BTW, thanks a heap!

stuartn
01-21-2008, 10:12 PM
thanks works a treat added another userfield for ebay, very much adaptable to any site link outside of your own forum. cheers

ChU v2
01-22-2008, 02:25 AM
Nice works well, only prob is i cant get the icons to align properly they are out of place. I added the icons you did to the ones i have but want to know how to make them straight. http://www.uptownrecords.com/forum/showthread.php?t=68337

Thanks very much

Didn't see the images with that link.

Lombardo
02-13-2008, 08:26 PM
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

ChU v2
02-15-2008, 11:57 PM
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

Make sure you adjust the feild number in the link code.

Like fieldXX

queengoc
03-03-2008, 04:42 AM
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!

queengoc
03-03-2008, 06:23 PM
I think I figured everything out. Thanks!

queengoc
03-04-2008, 11:59 AM
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 -->

ChU v2
03-05-2008, 10:00 PM
Link me to your forum and I'll look

queengoc
03-05-2008, 10:18 PM
<a href="http://www.karenmoning.com/forum/index.php" target="_blank">http://www.karenmoning.com/forum/index.php</a>

Thank you CHu!

kingmotox
03-07-2008, 11:18 PM
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

ChU v2
03-09-2008, 04:39 AM
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.

Rideharder
03-10-2008, 03:53 AM
sweet it works!

piloto-43
03-11-2008, 07:38 PM
how could i do this mod in a new information member like this screenshot?

https://vborg.vbsupport.ru/external/2008/03/13.png

ChU v2
03-12-2008, 01:55 AM
Like you want add the "Social Networking" fieldset? That where you want to add the facebook and myspace icons as well?

piloto-43
03-12-2008, 02:19 AM
i want "build" a SOCIAL NETWORDKING fieldset

kingmotox
03-13-2008, 08:42 PM
dont think i did take a look. also unless someone has the aim field filled in the myspace and facebook icons dont show up under the avatar.

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<style type="text/css">
#additionalinfo_list, #membergroups_list { margin-top: 0px; margin-bottom: 0px; }
#additionalinfo_list dd, #membergroups_list dd { margin: 0px 0px $stylevar[cellpadding]px 0px; }
</style>
<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
</head>
<body>
$header
$navbar

<!-- main info - avatar, profilepic etc. -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase[view_profile]<span class="normal">: $userinfo[username]</span></td>
</tr>
<tr>
<td class="alt2">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="border-bottom:1px solid $stylevar[tborder_bgcolor]" width="100%" colspan="2">
<if condition="$userinfo['rank'] OR $userinfo['reputationdisplay']">
<div style="float:$stylevar[right]; padding:4px">
<if condition="$userinfo['rank']"><div align="center">$userinfo[rank]</div></if>
<if condition="$userinfo['reputationdisplay']"><div align="center">$userinfo[reputationdisplay]</div></if>
</div>
</if>
<div class="bigusername">$userinfo[musername] $userinfo[onlinestatus]</div>
<if condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if>
</td>
<if condition="$show['profilepic']">
<td valign="top" align="$stylevar[right]" rowspan="2">
<img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_picture]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" />
</td>
</if>
</tr>
<tr valign="top">
<if condition="$show['avatar']">
<td><img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td>
<else />
<td>&nbsp;</td>
</if>
<td class="smallfont" valign="bottom" align="$stylevar[right]">
<if condition="$show['lastactivity']">
<div>$vbphrase[last_activity]: $userinfo[lastactivitydate] <span class="time">$userinfo[lastactivitytime]</span>&nbsp;</div>
</if>
<if condition="$show['currentlocation']">
<div>$userinfo[action] $userinfo[where]<if condition="$show['detailedtime']"> - <else /> @ </if> $userinfo[time]&nbsp;</div>
</if>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- / main info - avatar, profilepic etc. -->

$template_hook[memberinfo_pos1]

<!-- button row -->
<if condition="$show['profilelinks']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$userinfo['showvcard']">
<td class="vbmenu_control"><a href="member.php?$session[sessionurl]do=vcard&amp;u=$userinfo[userid]" rel="nofollow">$vbphrase[download_vcard]</a></td>
</if>
<if condition="$show['member']">
<td class="vbmenu_control">
<if condition="$show['addbuddylist']">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_buddy_list]</phrase></a>
<else />
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_buddylist]</phrase></a>
</if>
</td>
<td class="vbmenu_control">
<if condition="$show['addignorelist']">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_ignore_list]</phrase></a>
<else />
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_ignorelist]</phrase></a>
</if>
</td>
</if>
<if condition="can_moderate()">
<td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[user_options]</a></td>
</if>
<if condition="$show['giveinfraction']">
<td class="vbmenu_control"><a href="infraction.php?$session[sessionurl]do=report&amp;u=$userinfo[userid]">$vbphrase[give_infraction]</a></td>
</if>
</tr>
</table>
</if>
<!-- / button row -->

<br />

$template_hook[memberinfo_pos2]

<if condition="$show['infractions']">
<!-- infractions row -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="$colspan"><span style="float:$stylevar[right]" class="smallfont"><phrase 1="$userinfo[ipoints]">$vbphrase[x_points_total]</phrase>&nbsp; &nbsp;</span>$vbphrase[infractions]</td>
</tr>
<tr>
<td class="thead">&nbsp;</td>
<td class="thead">$vbphrase[post]</td>
<td class="thead">$vbphrase[date]</td>
<td class="thead">$vbphrase[expires]</td>
<td class="thead">$vbphrase[points]</td>
<td class="thead">$vbphrase[reason]</td>
<td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td>
<if condition="$show['reverse']"><td class="thead">$vbphrase[details]</td></if>
</tr>
$infractionbits
</table>
<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="bottom">
<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>
<!-- / infractions row -->
<br />
</if>

$template_hook[memberinfo_pos3]

<if condition="$show['signature']">
<!-- signature row -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">$vbphrase[signature]</td>
</tr>
<tr>
<td class="alt1" title="$vbphrase[signature]">$userinfo[signature]</td>
</tr>
</table>
<!-- / signature row -->
<br />
</if>

$template_hook[memberinfo_pos4]

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" width="50%">$vbphrase[forum_info]</td>
<td class="tcat" width="50%">$vbphrase[contact_info]</td>
</tr>
<tr valign="top">

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">

<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
$vbphrase[join_date]: <strong>$userinfo[datejoined]</strong>
</div>
</div>

<fieldset class="fieldset">
<legend>$vbphrase[posts]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
</td>
</tr>
<if condition="$vboptions['profilelastpost']">
<tr>
<td>
$vbphrase[last_post]:<br />
<a href="$userinfo[lastposturl]">$userinfo[lastposttitle]</a><br />
$userinfo[lastpostdate] <span class="time">$userinfo[lastposttime]</span>
</td>
</tr>
</if>
<tr>
<td><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td>
</tr>
<tr>
<td><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]&amp;starteronly=1" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td>
</tr>
</table>
</fieldset>

<if condition="$vboptions['usereferrer']">
<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
$vbphrase[referrals]: <strong>$referrals</strong>
</div>
</div>
</if>

<if condition="$show['usernotes']">
<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
$vbphrase[user_notes]:
<if condition="$show['usernoteview']">
<strong>$usernote[total]</strong> [<a href="usernote.php?$session[sessionurl]u=$userinfo[userid]">$vbphrase[view]</a>]
</if>
<if condition="$show['usernotepost']">
[<a href="usernote.php?$session[sessionurl]do=newnote&amp;u=$userinfo[userid]">$vbphrase[post_user_note]</a>]
</if>
<if condition="$show['usernoteview']">
<br />($vbphrase[last_note]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>)
</if>
</div>
</div>
</if>

$template_hook[memberinfo_foruminfo]

</div>
</div>
</td>

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">

<div class="fieldset">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<if condition="!$show['contactlinks']">
<tr>
<td><strong><phrase 1="$userinfo[username]">$vbphrase[x_has_no_contact_info]</phrase></strong></td>
</tr>
</if>
<if condition="$show['homepage']">
<tr>
<td>
$vbphrase[home_page]:<br />
<a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a>
</td>
</tr>
</if>
<if condition="$show['email']">
<tr>
<td>
$vbphrase[email]:<br />
<a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_message_via_email_to_x]</phrase></a>
</td>
</tr>
</if>
<if condition="$show['pm']">
<tr>
<td>
$vbphrase[private_message]:<br />
<a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase></a>
</td>
</tr>
</if>
</table>
</div>

<if condition="$show['hasimicons']">
<fieldset class="fieldset">
<legend>Contact</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<if condition="$show['textimicons']">
<if condition="$userinfo['showicq']">
<tr>
<td>$vbphrase[icq]</td>
<td>$userinfo[icq]</td>
</tr>
</if>
<if condition="$userinfo['showaim']">
<tr>
<td>$vbphrase[aim]</td>
<td>$userinfo[aim]</td>
</tr>
</if>
<if condition="$userinfo['showmsn']">
<tr>
<td>$vbphrase[msn]</td>
<td>$userinfo[msn]</td>
</tr>
</if>
<if condition="$userinfo['showyahoo']">
<tr>
<td>$vbphrase[yahoo]</td>
<td>$userinfo[yahoo]</td>
</tr>
</if>
<if condition="$userinfo['skype']">
<tr>
<td>$vbphrase[skype]</td>
<td>$userinfo[skype]</td>
</tr>
</if>
<else />
<if condition="$userinfo['showicq']">
<tr>
<td>$userinfo[icqicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a></td>
</tr>
</if>
<if condition="$userinfo['showaim']">
<tr>
<td>$userinfo[aimicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a></td>
</tr>
</if>
<if condition="$userinfo['showmsn']">
<tr>
<td>$userinfo[msnicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a></td>
</tr>
</if>
<if condition="$userinfo['showyahoo']">
<tr>
<td>$userinfo[yahooicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a></td>
</tr>
</if>
<if condition="$userinfo['showskype']">
<tr>
<td>$userinfo[skypeicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('skype', '$userinfo[userid]', 400, 285); return false;">$userinfo[skype]</a></td>
</tr>
</if>
<!-- 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[field5]</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 -->


</if>
$template_hook[memberinfo_iminfo]
</table>
</fieldset>
</if>

$template_hook[memberinfo_contactinfo]
</div>
</div>
</td>

</tr>
<tr>
<td class="tcat" width="50%">$vbphrase[additional_information]</td>
<td class="tcat" width="50%">$vbphrase[group_memberships]</td>
</tr>
<tr valign="top">

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">
<if condition="$show['extrainfo']">
<dl id="additionalinfo_list">
<if condition="$show['birthday']">
<dt class="smallfont"><strong>$vbphrase[birth_date]</strong>:</dt>
<dd class="smallfont">$userinfo[birthday]</dd>
</if>
<if condition="$show['age']">
<dt class="smallfont"><strong>$vbphrase[age]</strong>:</dt>
<dd class="smallfont">$userinfo[age]</dd>
</if>
$customfields
</dl>
<else />
<em>$vbphrase[n_a]</em>
</if>

$template_hook[memberinfo_additionalinfo]
</div>
</div>
</td>

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">
<if condition="$show['membergroups']">
<dl id="membergroups_list" class="smallfont">
$membergroupbits
</dl>
<else />
<div class="smallfont"><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></div>
</if>

$template_hook[memberinfo_groups]
</div>
</div>
</td>

</tr>
</table>
<br />

$footer

</body>
</html>

owlbill
03-18-2008, 08:30 PM
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

I am having the same issue. If I find a fix I will post it here.

EDIT: I have found that the MySpace info and/or FaceBook info will show under Additional Information in the Member Profile simply because they are additional Profile Fields and will list there in order. I still cannot get the Icon/Link to show with the other Instant Messaging icons.

owlbill
03-19-2008, 12:35 PM
Ok, got it now.

In MEMBERINFO template, the ADD BELOW text has wrong code.

There are 2 lines with URL links for each MySpace and FaceBook. (4 lines total). All should end with </a></td> but 2 of them end with </td></a>

Fix that in your template and it will show up in the Member Profile area correctly.

As for the info showing up in the Additional Information area, that would be if you have set the Profile Fields to NOT be private/hidden, or if you are admin etc. and have permission to see hidded fields.

Brokenman
03-26-2008, 04:07 AM
I am having a problem getting the images to show up.

The forum template i have didn't have a "misc" folder already existing so I created my own so this is where the images are.

myforum/forums/images/mytemplate/misc/
(iatgaming.net/forums/images/xbox/misc/)

I saw before that the scrypt originally included the www.YOURFORUM.com/forums/images/YOURTEMPLATE/misc/ code so i reworked that into the code to see if that was the problem but i had no luck.

You can check out the problem on my site. It's www.iatgaming.net . Just check out any post made by me "Brokenman" on the site and you will see. It displays in the right section, but images do not appear, just the text.


Here is the code I have entered so far.

Member info
<!-- ChU's MySpace & FaceBook Icon's -->
<if condition="$userinfo['field6']">
<tr>
<td><a href="http://www.myspace.com/$userinfo[field6]"target="_blank"><img src="www.iatgaming.net/forums/images/xbox/misc/myspace.gif"border="0"alt="View Member's Myspace Profile"></td></a>
<td><a href="http://www.myspace.com/$userinfo[field6]"target="_blank">http://www.myspace.com/$userinfo[field6]</a></td>
</tr>
</if>
<if condition="$userinfo['field6']">
<tr>
<td><a href="http://www.facebook.com/$userinfo[field7]"target="_blank"><img src="www.iatgaming.net/forums/images/xbox/misc/facebook.gif"border="0"alt="View Member's FaceBook Profile">

Postbit Legacy
<!-- ChU's MySpace & FaceBook Icon's -->
<if condition="$post[field6]">
<a href ="http://www.myspace.com/$post[field6]"target="_blank"><img src ="www.iatgaming.net/forums/images/xbox/misc/myspace.gif"border="0"alt="View Member's Myspace Profile"></a>
</if>
<if condition="$post[field7]">
<a href ="http://www.facebook.com/profile.php?id=$post[field7]"target="_blank"><img src ="www.iatgaming.net/forums/images/xbox/misc/facebook.gif"border="0"alt="View Member's FaceBook Profile"></a>
</if>
<!-- End ChU's MySpace & FaceBook Icon's -->

Gaskell
03-26-2008, 04:29 PM
Nice hack, installed easily once I'd put the Memberinfo edits in the right place!

Cheers :)

Majava
03-28-2008, 09:54 PM
Thanks for your post Gaskell, I wouldnt have guessed that was my problem till I saw your post.

And thanks to you too ChU because I used this hack to add YouTube and WeGame icons as well. Great stuff.

Wheezy
04-01-2008, 11:56 PM
Works great, thanks for sharing!

ChU v2
04-02-2008, 03:10 AM
I've added more and updated this here: https://vborg.vbsupport.ru/showthread.php?t=174863

Jenkins
04-09-2008, 01:10 AM
cool I'll be installing this soon.

EuroPk
04-11-2008, 04:06 PM
you should make this for 3.7 vbulletin

ChU v2
04-11-2008, 07:30 PM
you should make this for 3.7 vbulletin

I don't have a board for 3.7 nor do I really care to test it out yet. The code should work the same, you'd just have to find where to put it.

sava700
05-01-2008, 01:21 PM
I don't have a board for 3.7 nor do I really care to test it out yet. The code should work the same, you'd just have to find where to put it.

This line does not exist in 3.7 which is why it won't work as you say it will...

<if condition="$show['hasimicons']">


Here is what my postbit looks like that i'm trying to get it to work in.

<br />
<!-- top category table setup -->
<table width="100%" class="tcat" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="88" height="26" align="left" valign="top"><img src="$stylevar[imgdir_misc]/tren_z_front_top_table_ls.gif" width="88" height="26" alt=" " border="0" /></td>
<td width="100%" valign="middle"><div class="smallfont" align="center">$post[icon] <strong>$post[title]</strong></div></td>
<td width="88" height="26" align="right" valign="top"><img src="$stylevar[imgdir_misc]/tren_z_front_top_table_rs.gif" width="88" height="26" alt=" " border="0" /></td>
</tr>
</table>
<!-- End top category table setup -->


$template_hook[postbit_start]
<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" $post[scrolltothis]>
<div class="normal" style="float:$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> &nbsp;</if>
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>&nbsp;
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> &nbsp;</if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> &nbsp;</if>
$post[iplogged]
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</div>

<div class="normal">
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
<if condition="!$show['announcement']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
</td>
</tr>
<tr>
<td class="alt2" style="padding:0px">
<!-- user info -->
<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
<td nowrap="nowrap">

<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]

</td>
<td width="100%">&nbsp;</td>
<td valign="top" nowrap="nowrap">

<div class="smallfont">
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]<if condition="$show['steam']"> $post[steamicon]</if></div>

<!-- Chu's MySpace & FaceBook Icon's -->
<if condition="$post[field15]">
<a href ="http://www.myspace.com/$post[field15]"target="_blank"><img src ="http://www.gamerscrib.net/forums/images/misc/myspace.gif"border="0"alt="View Member's Myspace Profile"></a>
</if>
<if condition="$post[field16]">
<a href ="http://www.facebook.com/profile.php?id=$post[field16]"target="_blank"><img src ="http://www.gamerscrib.net/forums/images/misc/facebook.gif"border="0"alt="View Member's FaceBook Profile"></a></if>
<!-- Chu's End MySpace & FaceBook Icon's -->



<!-- XFire Hack -->
<if condition="$post['field5']"><a href=http://profile.xfire.com/$post[field5]><img src=http://miniprofile.xfire.com/bg/$post[field6]/type/3/$post[field5].png width=149 height=29 border=0></a>
<br>
<a href="xfire:add_friend?user=$post[field5]" rel="nofollow">Add to xFire Friends List</a>
</if>
<!-- / End XFire Hack -->


</div>
</div>

</td>
</tr>
</table>
<!-- / user info -->
</td>
</tr>
<tr>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]">
<else />
<td class="alt1" id="td_post_$post[postid]">
</if>
<!-- message, attachments, sig -->

$template_hook[postbit_messagearea_start]

<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

$template_hook[postbit_signature_start]

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

$template_hook[postbit_signature_end]

<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont">
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<em>
<if condition="$show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
</if>
<if condition="$post['edit_reason']">
$vbphrase[reason]: $post[edit_reason]
</if>
</em>
</div>
<!-- / edit note -->
</if>

<div style="margin-top: 10px" align="$stylevar[right]">
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['spam']">
<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<if condition="$show['managepost']">
<a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
<else />
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</div>

<!-- message, attachments, sig -->

</td>
</tr>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->



<!-- bottom table setup -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="60" align="left" valign="top"><img src="$stylevar[imgdir_misc]/tren_z_front_btm_table_ls.gif" width="60" height="14" alt=" " border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/tren_z_front_btm_table_back.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="14" alt=" " border="0" /></td>
<td width="60" align="right" valign="top"><img src="$stylevar[imgdir_misc]/tren_z_front_btm_table_rs.gif" width="60" height="14" alt=" " border="0" /></td>
</tr>
</table>
<!-- End bottom table setup -->
suggestions?

ChU v2
05-02-2008, 09:49 AM
This line does not exist in 3.7 which is why it won't work as you say it will...

<if condition="$show['hasimicons']">


Here is what my postbit looks like that i'm trying to get it to work in.

<br />
<!-- top category table setup -->
<table width="100%" class="tcat" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="88" height="26" align="left" valign="top"><img src="$stylevar[imgdir_misc]/tren_z_front_top_table_ls.gif" width="88" height="26" alt=" " border="0" /></td>
<td width="100%" valign="middle"><div class="smallfont" align="center">$post[icon] <strong>$post[title]</strong></div></td>
<td width="88" height="26" align="right" valign="top"><img src="$stylevar[imgdir_misc]/tren_z_front_top_table_rs.gif" width="88" height="26" alt=" " border="0" /></td>
</tr>
</table>
<!-- End top category table setup -->


$template_hook[postbit_start]
<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" $post[scrolltothis]>
<div class="normal" style="float:$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> &nbsp;</if>
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>&nbsp;
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> &nbsp;</if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> &nbsp;</if>
$post[iplogged]
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</div>

<div class="normal">
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
<if condition="!$show['announcement']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
</td>
</tr>
<tr>
<td class="alt2" style="padding:0px">
<!-- user info -->
<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
<td nowrap="nowrap">

<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]

</td>
<td width="100%">&nbsp;</td>
<td valign="top" nowrap="nowrap">

<div class="smallfont">
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]<if condition="$show['steam']"> $post[steamicon]</if></div>

<!-- Chu's MySpace & FaceBook Icon's -->
<if condition="$post[field15]">
<a href ="http://www.myspace.com/$post[field15]"target="_blank"><img src ="http://www.gamerscrib.net/forums/images/misc/myspace.gif"border="0"alt="View Member's Myspace Profile"></a>
</if>
<if condition="$post[field16]">
<a href ="http://www.facebook.com/profile.php?id=$post[field16]"target="_blank"><img src ="http://www.gamerscrib.net/forums/images/misc/facebook.gif"border="0"alt="View Member's FaceBook Profile"></a></if>
<!-- Chu's End MySpace & FaceBook Icon's -->



<!-- XFire Hack -->
<if condition="$post['field5']"><a href=http://profile.xfire.com/$post[field5]><img src=http://miniprofile.xfire.com/bg/$post[field6]/type/3/$post[field5].png width=149 height=29 border=0></a>
<br>
<a href="xfire:add_friend?user=$post[field5]" rel="nofollow">Add to xFire Friends List</a>
</if>
<!-- / End XFire Hack -->


</div>
</div>

</td>
</tr>
</table>
<!-- / user info -->
</td>
</tr>
<tr>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]">
<else />
<td class="alt1" id="td_post_$post[postid]">
</if>
<!-- message, attachments, sig -->

$template_hook[postbit_messagearea_start]

<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

$template_hook[postbit_signature_start]

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

$template_hook[postbit_signature_end]

<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont">
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<em>
<if condition="$show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
</if>
<if condition="$post['edit_reason']">
$vbphrase[reason]: $post[edit_reason]
</if>
</em>
</div>
<!-- / edit note -->
</if>

<div style="margin-top: 10px" align="$stylevar[right]">
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['spam']">
<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<if condition="$show['managepost']">
<a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
<else />
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</div>

<!-- message, attachments, sig -->

</td>
</tr>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->



<!-- bottom table setup -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="60" align="left" valign="top"><img src="$stylevar[imgdir_misc]/tren_z_front_btm_table_ls.gif" width="60" height="14" alt=" " border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/tren_z_front_btm_table_back.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="14" alt=" " border="0" /></td>
<td width="60" align="right" valign="top"><img src="$stylevar[imgdir_misc]/tren_z_front_btm_table_rs.gif" width="60" height="14" alt=" " border="0" /></td>
</tr>
</table>
<!-- End bottom table setup -->
suggestions?

for 3.7? No, I don't use 3.7 so I wouldn't have anyway of testing it. I didn't say it would work, I said it could work with some code tweaking in the 3.7 templates.

sava700
05-02-2008, 11:39 AM
for 3.7? No, I don't use 3.7 so I wouldn't have anyway of testing it. I didn't say it would work, I said it could work with some code tweaking in the 3.7 templates.

So you don't have any suggestions looking at that code to tweak it to work?


Cause you have this in the text to find in the memberinfo template:
-------
=FIND:=
-------

<legend>$vbphrase[instant_messaging]</legend>


---------------
=Replace With:=
---------------

<legend>Contact</legend>

But the line to find doesn't exist anymore on 3.7's memberinfo..here is a copy of mine:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude

$usercss
$memberinfo_css
<style type="text/css" id="vbulletin_tabctrl_css">
@import url("clientscript/vbulletin_tabctrl.css?v=$vboptions[simpleversion]");
<if condition="$show['rtl']">@import url("clientscript/vbulletin_tabctrl_rtl.css?v=$vboptions[simpleversion]");</if>
</style>

<script type="text/javascript" src="clientscript/vbulletin_tabctrl.js?v=$vboptions[simpleversion]"></script>

<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>

<if condition="$userinfo['userid'] == $bbuserinfo['userid']">
<script type="text/javascript" src="clientscript/vbulletin_profilefield_edit.js?v=$vboptions[simpleversion]"></script>
</if>
<script type="text/javascript">
<!--
vbphrase['server_failed_respond_try_again'] = "$vbphrase[server_failed_respond_try_again]";
vbphrase['edit_value'] = "$vbphrase[edit_value_js]";

<if condition="$show['post_visitor_message']">
function goto_post_pm()
{
vB_TabCtrls['profile_tabs'].switch_tab('visitor_messaging');
fetch_object('visitor_messaging').scrollIntoView() ;

var textarea = fetch_object('visitor_message_form_textarea');
if (textarea)
{
textarea.focus();
textarea.select();
}
}
</if>
-->
</script>

</head>
<body>

$header
$navbar


<!-- begin user css -->
<div id="usercss" class="floatcontainer">

<div id="content_container">
<div id="content">

<div id="main_userinfo" class="floatcontainer">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<if condition="$prepared['profilepicurl']">
<td id="profilepic_cell" class="tborder alt2"><img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" /></td>
</if>
<td valign="top" width="100%" id="username_box"<if condition="$prepared['profilepicurl']"> class="profilepic_adjacent"</if>>
<if condition="$prepared['rank'] OR $prepared['reputationdisplay']">
<div id="reputation_rank">
<if condition="$prepared['reputationdisplay']">
<div id="reputation">$prepared[reputationdisplay]</div>
</if>
<if condition="$prepared['rank']">
<div id="rank">$prepared[rank]</div>
</if>
</div>
</if>
<h1>$prepared[musername] $prepared[onlinestatus]</h1>
<if condition="$prepared['usertitle']">
<h2>$prepared[usertitle]</h2>
</if>
</td>
</tr>
</table>

<!-- link bar -->
<div class="tborder content_block" id="link_bar">
<ul class="thead block_row block_title list_no_decoration floatcontainer">
<if condition="$prepared['myprofile']">
<if condition="$show['can_customize_profile']">
<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=customize">$vbphrase[customize_profile]</a></li>
</if>
<else />
<if condition="$show['usercss_switch']">
<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=switchusercss&amp;hash=$bbuserinfo[logouthash]&amp;u=$prepared[userid]">$usercss_switch_phrase</a></li>
</if>
</if>

<if condition="$show['contactlinks']">
<li class="thead" id="minicontact"><a href="#contactinfo">$vbphrase[send_message]</a> <script type="text/javascript">vBmenu.register("minicontact");</script></li>
</if>

<if condition="$show['userlists']">
<li class="thead" id="userlists"><a href="profile.php?$session[sessionurl]do=buddylist&amp;nojs=1">$vbphrase[user_lists]</a> <script type="text/javascript">vBmenu.register("userlists");</script></li>
</if>

<if condition="$show['usernotes']">
<li class="thead"><a href="usernote.php?$session[sessionurl]u=$prepared[userid]">$vbphrase[user_notes] ($prepared[usernotecount])</a></li>
</if>

<if condition="can_moderate()">
<li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
</if>
</ul>

<!-- current activity -->
<if condition="$prepared['lastactivitydate'] OR $prepared['action']">
<div class="alt2 smallfont block_row" id="activity_info">
<if condition="$prepared['lastactivitydate']">
<div id="last_online">
<span class="shade">$vbphrase[last_activity]:</span> $prepared[lastactivitydate]<if condition="!$show['detailedtime']"> <span class="time">$prepared[lastactivitytime]</span></if>
</div>
</if>
<if condition="$prepared['action']">
<span class="shade">$vbphrase[current_activity]:</span> $prepared[action] $prepared[where]
</if>
</div>
</if>
<!-- / current activity -->

</div>
<!-- / link bar -->

<!-- user list menu -->
<ul id="userlists_menu" class="vbmenu_popup list_no_decoration" style="display: none">
<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[user_lists]</phrase></li>
<if condition="$prepared['canbefriend']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=friend&amp;u=$prepared[userid]"><if condition="$prepared['requestedfriend']">$vbphrase[confirm_friendship_request]<else />$vbphrase[add_to_friends_list]</if></a>
</li>
</if>
<if condition="$prepared['isfriend']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=friend&amp;u=$prepared[userid]">$vbphrase[remove_from_friends_list]</a>
</li>
</if>
<if condition="$show['addbuddylist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$prepared[userid]">$vbphrase[add_to_contacts]</a>
</li>
</if>
<if condition="$show['removebuddylist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$prepared[userid]">$vbphrase[remove_from_contacts]</a>
</li>
</if>
<if condition="$show['addignorelist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$prepared[userid]">$vbphrase[add_to_ignore_list]</a>
</li>
</if>
<if condition="$show['removeignorelist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$prepared[userid]">$vbphrase[remove_from_ignore_list]</a>
</li>
</if>
</ul>

<!-- contact popup menu -->
<ul id="minicontact_menu" class="vbmenu_popup list_no_decoration" style="display:none">
<if condition="$show['post_visitor_message'] OR $show['pm'] OR $show['email']">
<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[send_message_to_x]</phrase></li>
</if>
<if condition="$show['post_visitor_message']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="visitormessage.php?$session[sessionurl]do=message&amp;u=$prepared[userid]" onclick="return goto_post_pm();"><phrase 1="$prepared[username]">$vbphrase[post_a_visitor_message_for_x]</phrase></a></li></if>
<if condition="$show['pm']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="private.php?$session[sessionurl]do=newpm&amp;u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_private_message_to_x]</phrase></a></li>
</if>
<if condition="$show['email']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_message_via_email_to_x]</phrase></a></li></if>
<if condition="$prepared['hasimdetails']">
<li class="thead<if condition="!$show['post_visitor_message'] AND !$show['pm'] AND !$show['email']"> first</if>">Contact</li>
<if condition="$prepared['icq']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_icq.gif" /> <a href="#" dir="ltr" onclick="imwindow('icq', '$prepared[userid]', 500, 450); return false;"><phrase 1="$prepared[username]">$vbphrase[send_icq_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['aim']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_aim.gif" /> <a href="#" dir="ltr" onclick="imwindow('aim', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_aim_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['msn']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_msn.gif" /> <a href="#" dir="ltr" onclick="imwindow('msn', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_msn_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['yahoo']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_yahoo.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('yahoo', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_yahoo_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['skype']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('skype', '$prepared[userid]', 400, 285); return false;"><phrase 1="$prepared[username]">$vbphrase[send_skype_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['steam']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_steam.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('steam', '$prepared[userid]', 400, 285); return false;"><phrase 1="$prepared[username]">$vbphrase[send_steam_message_to_x]</phrase></a></li>
</if>

</if>

<!-- Chu's MySpace & FaceBook Icon's -->
<if condition="$userinfo['field15']">
<tr>
<td><a href="http://www.myspace.com/$userinfo[field15]"target="_blank"><img src="http://www.gamerscrib.net/forums/images/misc/myspace.gif"border="0"alt="View Member's Myspace Profile"></td></a>
<td><a href="http://www.myspace.com/$userinfo[field15]"target="_blank">http://www.myspace.com/$userinfo[field15]</a></td>
</tr>
</if>
<if condition="$userinfo['field16']">
<tr>
<td><a href="http://www.facebook.com/$userinfo[field16]"target="_blank"><img src="http://www.gamerscrib.net/forums/images/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[field16]"target="_blank">http://www.facebook.com/profile.php?id=$userinfo[field16]</a></td>
</tr>
</if>
<!-- Chu's End MySpace & FaceBook Icon's -->

</ul>
<!-- / contact popup menu -->
</div>



<div id="profile_tabs">
$template_hook[profile_left_first]
$blocks[visitor_messaging]
$blocks[aboutme]
$blocks[stats]
$blocks[friends]
$blocks[infractions]
$blocks[contactinfo]
$template_hook[profile_left_last]
</div>


<script type="text/javascript">
<!--
vBulletin.register_control("vB_TabCtrl", "profile_tabs", "$selected_tab", "&raquo;", "profile.php?u=2&do=loadtab&tabid={1:tabid}");
//-->
</script>

</div>
</div>

<div id="sidebar_container">
<!-- sidebar -->
$template_hook[profile_right_first]
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
$template_hook[profile_right_last]
<!-- / sidebar -->
</div>

<!-- end usercss -->
</div>

$footer

</body>
</html>

TriMe
06-01-2008, 11:31 AM
So you don't have any suggestions looking at that code to tweak it to work?


Cause you have this in the text to find in the memberinfo template:
-------
=FIND:=
-------

<legend>$vbphrase[instant_messaging]</legend>


---------------
=Replace With:=
---------------

<legend>Contact</legend>

But the line to find doesn't exist anymore on 3.7's memberinfo..here is a copy of mine:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude

$usercss
$memberinfo_css
<style type="text/css" id="vbulletin_tabctrl_css">
@import url("clientscript/vbulletin_tabctrl.css?v=$vboptions[simpleversion]");
<if condition="$show['rtl']">@import url("clientscript/vbulletin_tabctrl_rtl.css?v=$vboptions[simpleversion]");</if>
</style>

<script type="text/javascript" src="clientscript/vbulletin_tabctrl.js?v=$vboptions[simpleversion]"></script>

<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>

<if condition="$userinfo['userid'] == $bbuserinfo['userid']">
<script type="text/javascript" src="clientscript/vbulletin_profilefield_edit.js?v=$vboptions[simpleversion]"></script>
</if>
<script type="text/javascript">
<!--
vbphrase['server_failed_respond_try_again'] = "$vbphrase[server_failed_respond_try_again]";
vbphrase['edit_value'] = "$vbphrase[edit_value_js]";

<if condition="$show['post_visitor_message']">
function goto_post_pm()
{
vB_TabCtrls['profile_tabs'].switch_tab('visitor_messaging');
fetch_object('visitor_messaging').scrollIntoView() ;

var textarea = fetch_object('visitor_message_form_textarea');
if (textarea)
{
textarea.focus();
textarea.select();
}
}
</if>
-->
</script>

</head>
<body>

$header
$navbar


<!-- begin user css -->
<div id="usercss" class="floatcontainer">

<div id="content_container">
<div id="content">

<div id="main_userinfo" class="floatcontainer">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<if condition="$prepared['profilepicurl']">
<td id="profilepic_cell" class="tborder alt2"><img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" /></td>
</if>
<td valign="top" width="100%" id="username_box"<if condition="$prepared['profilepicurl']"> class="profilepic_adjacent"</if>>
<if condition="$prepared['rank'] OR $prepared['reputationdisplay']">
<div id="reputation_rank">
<if condition="$prepared['reputationdisplay']">
<div id="reputation">$prepared[reputationdisplay]</div>
</if>
<if condition="$prepared['rank']">
<div id="rank">$prepared[rank]</div>
</if>
</div>
</if>
<h1>$prepared[musername] $prepared[onlinestatus]</h1>
<if condition="$prepared['usertitle']">
<h2>$prepared[usertitle]</h2>
</if>
</td>
</tr>
</table>

<!-- link bar -->
<div class="tborder content_block" id="link_bar">
<ul class="thead block_row block_title list_no_decoration floatcontainer">
<if condition="$prepared['myprofile']">
<if condition="$show['can_customize_profile']">
<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=customize">$vbphrase[customize_profile]</a></li>
</if>
<else />
<if condition="$show['usercss_switch']">
<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=switchusercss&amp;hash=$bbuserinfo[logouthash]&amp;u=$prepared[userid]">$usercss_switch_phrase</a></li>
</if>
</if>

<if condition="$show['contactlinks']">
<li class="thead" id="minicontact"><a href="#contactinfo">$vbphrase[send_message]</a> <script type="text/javascript">vBmenu.register("minicontact");</script></li>
</if>

<if condition="$show['userlists']">
<li class="thead" id="userlists"><a href="profile.php?$session[sessionurl]do=buddylist&amp;nojs=1">$vbphrase[user_lists]</a> <script type="text/javascript">vBmenu.register("userlists");</script></li>
</if>

<if condition="$show['usernotes']">
<li class="thead"><a href="usernote.php?$session[sessionurl]u=$prepared[userid]">$vbphrase[user_notes] ($prepared[usernotecount])</a></li>
</if>

<if condition="can_moderate()">
<li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
</if>
</ul>

<!-- current activity -->
<if condition="$prepared['lastactivitydate'] OR $prepared['action']">
<div class="alt2 smallfont block_row" id="activity_info">
<if condition="$prepared['lastactivitydate']">
<div id="last_online">
<span class="shade">$vbphrase[last_activity]:</span> $prepared[lastactivitydate]<if condition="!$show['detailedtime']"> <span class="time">$prepared[lastactivitytime]</span></if>
</div>
</if>
<if condition="$prepared['action']">
<span class="shade">$vbphrase[current_activity]:</span> $prepared[action] $prepared[where]
</if>
</div>
</if>
<!-- / current activity -->

</div>
<!-- / link bar -->

<!-- user list menu -->
<ul id="userlists_menu" class="vbmenu_popup list_no_decoration" style="display: none">
<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[user_lists]</phrase></li>
<if condition="$prepared['canbefriend']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=friend&amp;u=$prepared[userid]"><if condition="$prepared['requestedfriend']">$vbphrase[confirm_friendship_request]<else />$vbphrase[add_to_friends_list]</if></a>
</li>
</if>
<if condition="$prepared['isfriend']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=friend&amp;u=$prepared[userid]">$vbphrase[remove_from_friends_list]</a>
</li>
</if>
<if condition="$show['addbuddylist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$prepared[userid]">$vbphrase[add_to_contacts]</a>
</li>
</if>
<if condition="$show['removebuddylist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$prepared[userid]">$vbphrase[remove_from_contacts]</a>
</li>
</if>
<if condition="$show['addignorelist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$prepared[userid]">$vbphrase[add_to_ignore_list]</a>
</li>
</if>
<if condition="$show['removeignorelist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$prepared[userid]">$vbphrase[remove_from_ignore_list]</a>
</li>
</if>
</ul>

<!-- contact popup menu -->
<ul id="minicontact_menu" class="vbmenu_popup list_no_decoration" style="display:none">
<if condition="$show['post_visitor_message'] OR $show['pm'] OR $show['email']">
<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[send_message_to_x]</phrase></li>
</if>
<if condition="$show['post_visitor_message']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="visitormessage.php?$session[sessionurl]do=message&amp;u=$prepared[userid]" onclick="return goto_post_pm();"><phrase 1="$prepared[username]">$vbphrase[post_a_visitor_message_for_x]</phrase></a></li></if>
<if condition="$show['pm']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="private.php?$session[sessionurl]do=newpm&amp;u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_private_message_to_x]</phrase></a></li>
</if>
<if condition="$show['email']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_message_via_email_to_x]</phrase></a></li></if>
<if condition="$prepared['hasimdetails']">
<li class="thead<if condition="!$show['post_visitor_message'] AND !$show['pm'] AND !$show['email']"> first</if>">Contact</li>
<if condition="$prepared['icq']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_icq.gif" /> <a href="#" dir="ltr" onclick="imwindow('icq', '$prepared[userid]', 500, 450); return false;"><phrase 1="$prepared[username]">$vbphrase[send_icq_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['aim']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_aim.gif" /> <a href="#" dir="ltr" onclick="imwindow('aim', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_aim_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['msn']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_msn.gif" /> <a href="#" dir="ltr" onclick="imwindow('msn', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_msn_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['yahoo']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_yahoo.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('yahoo', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_yahoo_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['skype']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('skype', '$prepared[userid]', 400, 285); return false;"><phrase 1="$prepared[username]">$vbphrase[send_skype_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['steam']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_steam.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('steam', '$prepared[userid]', 400, 285); return false;"><phrase 1="$prepared[username]">$vbphrase[send_steam_message_to_x]</phrase></a></li>
</if>

</if>

<!-- Chu's MySpace & FaceBook Icon's -->
<if condition="$userinfo['field15']">
<tr>
<td><a href="http://www.myspace.com/$userinfo[field15]"target="_blank"><img src="http://www.gamerscrib.net/forums/images/misc/myspace.gif"border="0"alt="View Member's Myspace Profile"></td></a>
<td><a href="http://www.myspace.com/$userinfo[field15]"target="_blank">http://www.myspace.com/$userinfo[field15]</a></td>
</tr>
</if>
<if condition="$userinfo['field16']">
<tr>
<td><a href="http://www.facebook.com/$userinfo[field16]"target="_blank"><img src="http://www.gamerscrib.net/forums/images/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[field16]"target="_blank">http://www.facebook.com/profile.php?id=$userinfo[field16]</a></td>
</tr>
</if>
<!-- Chu's End MySpace & FaceBook Icon's -->

</ul>
<!-- / contact popup menu -->
</div>



<div id="profile_tabs">
$template_hook[profile_left_first]
$blocks[visitor_messaging]
$blocks[aboutme]
$blocks[stats]
$blocks[friends]
$blocks[infractions]
$blocks[contactinfo]
$template_hook[profile_left_last]
</div>


<script type="text/javascript">
<!--
vBulletin.register_control("vB_TabCtrl", "profile_tabs", "$selected_tab", "&raquo;", "profile.php?u=2&do=loadtab&tabid={1:tabid}");
//-->
</script>

</div>
</div>

<div id="sidebar_container">
<!-- sidebar -->
$template_hook[profile_right_first]
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
$template_hook[profile_right_last]
<!-- / sidebar -->
</div>

<!-- end usercss -->
</div>

$footer

</body>
</html>

To replace 'Instant Messaging' with Contact in vB 3.7.x go to Phrase manager in admincp
search for text "instant_messaging" (Search Phrase Variable Name Only), click edit beside Instant Messaging, put Contact in the edit box on the bottom... or what ever you want to name it.

sava700
06-02-2008, 12:14 AM
To replace 'Instant Messaging' with Contact in vB 3.7.x go to Phrase manager in admincp
search for text "instant_messaging" (Search Phrase Variable Name Only), click edit beside Instant Messaging, put Contact in the edit box on the bottom... or what ever you want to name it.

no you don't understand.....its not about changing them its about finding them either one of them.

I can't even find <legend> in the memberinfo template... something has obviously changed in a major way here.

jmurrayhead
08-17-2008, 01:36 PM
In 3.7, the postbit has the following:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>

But instead of the original template update:
<if condition="$show['hasimicons'] OR $userinfo['fieldXX'] OR $userinfo['fieldXX']">

try this:
<if condition="$userinfo['fieldXX'] OR $userinfo['fieldXX']">

I haven't tested this myself, but might as well give it a try...

BucWiLd
10-15-2008, 04:20 AM
In 3.7, the postbit has the following:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>

But instead of the original template update:
<if condition="$show['hasimicons'] OR $userinfo['fieldXX'] OR $userinfo['fieldXX']">

try this:
<if condition="$userinfo['fieldXX'] OR $userinfo['fieldXX']">

I haven't tested this myself, but might as well give it a try...

didnt work, anyone figure this out yet?

TriMe
12-12-2008, 01:46 PM
For 3.7.* users who would like something like the attached image

In memberinfo_block_contatinfo look for

<if condition="$prepared['hasimdetails']">
<fieldset>
<legend>$vbphrase[instant_messaging]</legend>
<div class="fieldset_padding floatcontainer">
<div><phrase 1="$prepared[username]">$vbphrase[send_instant_message_to_x_using]</phrase></div>
<ul class="list_no_decoration" id="instant_messaging_list">
$block_data[imbits]
</ul>
</div>
</fieldset>
</if>

and replace with

<if condition="$show['hasimicons'] OR $userinfo['field6']">
<fieldset>
<legend>$vbphrase[instant_messaging]</legend>
<div class="fieldset_padding floatcontainer">
<div><phrase 1="$prepared[username]"></phrase></div>
<ul class="list_no_decoration" id="instant_messaging_list">
$block_data[imbits]
<if condition="$userinfo['fieldXX']"><br />
<td><a href="http://www.facebook.com/profile.php?id=$userinfo[fieldXX]"target="_blank"><img src="../images/misc/im_facebook.gif"border="0"alt="View Member's FaceBook Profile"></td></a>&nbsp;
<td><font color="#938d91" size="1">Facebook &nbsp;<a href="http://www.facebook.com/profile.php?id=$userinfo[fieldXX]"target="_blank"></font>&nbsp;<phrase 1="$prepared[username]">$vbphrase[visit_x_facebook_profile]</phrase></a></td>
</if>
</ul>

</div>
</fieldset>
</if>

Replace [fieldXX] with the field number of your Facebook profile field

Replace ../images/misc/im_facebook.gif with the location of your facebook gif, and rename it accordingly.

Add New Phrase in Phrase Manager with varname: 'visit_x_facebook_profile' and text: 'Visit {1}'s Facebook Profile'

Search in admincp Phrases for $vbphrase[instant_messaging], replace with what ever you want. I chose Messaging and Social Networking.

Cheers

zonaenlinea
08-26-2010, 01:58 PM
for 4.0 ?

sector77
01-24-2011, 03:57 AM
This worked except for some minor issues. In the link on the instructions it shows for example: www.facebook.com/user/profile.php?id=1234567. However, the 'user' folder should be removed otherwise the finished link will redirect you to a non-working url.