View Full Version : Myspace and Facebook in profile like Yahoo, msn, and aol IM
colochris
06-21-2009, 04:52 PM
Hello to all.
I have seen a few times where a forum will have additional blocks in a users profile where they can add their url to their myspace and facebook accounts.
Also not sure if it is possible to place a small logo for a myspace or facebook under a users member name like the IM logos, but I wanted to see how hard this would be and if it is even possible.
Chris
--------------- Added 1245607508 at 1245607508 ---------------
Here is an example https://vborg.vbsupport.ru/showthread.php?t=160232
HMBeaty
06-21-2009, 05:11 PM
Something like this?
http://www.usmilitarylife.com/forum/member.php?u=1 (Click the "Contact Info" tab)
colochris
06-21-2009, 10:03 PM
Yes something like that indeed.
I have seen a few sites that add these extra blocks so a member can add their link in it, yet I have not figured it out. Any help is appreciated.
Chris
smartkidbk5
06-21-2009, 10:14 PM
Did you try that link you gave?
Even though it is an old mod, it just has template edits, and may work. If it doesnt, I will try editing it for you. Just contact me on AIM- eXn GraViTY, or PM me
HMBeaty
06-21-2009, 10:22 PM
Basically, to do like how I did it in mine in the link above, go to your AdminCP > User Profile Fields > Add New User Profile Field with the following:
Profile Field Type: Single-Line Text Box
Title: Myspace ID
Description: Enter your Myspace Profile ID if you have one
Field Required: No
Field Editable by User: Yes
Private Field: No
Field Searchable on Members List: No
Show on Members List: No
Then go to AdminCP > Styles & Templates > Style Manager > Edit Templates > memberinfo_block_contactinfo:
Find:
<dd><a href="$prepared[profileurl]">$prepared[profileurl]</a></dd>
Underneath, add:
<!-- Start U.S. Military Life Customization -->
<if condition="$userinfo['fieldx']">
<dt class="shade">Myspace</dt>
<dd><a href="http://www.myspace.com/$userinfo[fieldx]">$userinfo[fieldx]</a></dd>
<else />
<dt class="shade">Myspace</dt>
<dd>$userinfo[musername] has not entered their MySpace Friend ID</dd>
</if>
<!-- End U.S. Military Life Customization -->
And change x to your profile field number
colochris
06-21-2009, 11:55 PM
Is it possible to add an icon under a user name? Like an IM
--------------- Added 1245633716 at 1245633716 ---------------
Basically, to do like how I did it in mine in the link above, go to your AdminCP > User Profile Fields > Add New User Profile Field with the following:
Profile Field Type: Single-Line Text Box
Title: Myspace ID
Description: Enter your Myspace Profile ID if you have one
Field Required: No
Field Editable by User: Yes
Private Field: No
Field Searchable on Members List: No
Show on Members List: No
Then go to AdminCP > Styles & Templates > Style Manager > Edit Templates > memberinfo_block_contactinfo:
Find:
<dd><a href="$prepared[profileurl]">$prepared[profileurl]</a></dd>
Underneath, add:
<!-- Start U.S. Military Life Customization -->
<if condition="$userinfo['fieldx']">
<dt class="shade">Myspace</dt>
<dd><a href="http://www.myspace.com/$userinfo[fieldx]">$userinfo[fieldx]</a></dd>
<else />
<dt class="shade">Myspace</dt>
<dd>$userinfo[musername] has not entered their MySpace Friend ID</dd>
</if>
<!-- End U.S. Military Life Customization -->
And change x to your profile field number
How did you get it on the contact us page? I can only do the about me page?
HMBeaty
06-22-2009, 12:36 AM
Edit the template memberinfo_block_contactinfo
colochris
06-22-2009, 01:12 AM
Ah ok. I also sent a pm, I am not sure how to make the field show a link? It is showing the whole html info I put in
HMBeaty
06-22-2009, 01:14 AM
What code are you using in the memberinfo_block_contactinfo template?
colochris
06-22-2009, 12:20 PM
I am getting closer, yet I need additional help if anyone has had experience with this
BlueNinjaGo
06-22-2009, 06:58 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=211531&highlight=myspace+facebook" target="_blank">https://vborg.vbsupport.ru/showt...space+facebook</a>
That doesn't work?
colochris
06-22-2009, 09:27 PM
https://vborg.vbsupport.ru/showthread.php?t=211531&highlight=myspace+facebook
That doesn't work?
Well with that mod the vanity url does not work. So myspace.com/bowlingboards
Does not work. Only numbers. So face book works myspace don't
Also I would like to have youtube so that is why I am in need of help
I am willing to pay too
I have gotten close to hand coding yet I am not sure if it is nice to have the info in the contact area or not
Any help is appreciated
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.