Back to vBulletin 4.x Template Modifications

Myspace Button in postbit
Mod Version: 1.00, by txsbmw

vB Version: 4.0.0 Rating: (1 vote - 5.00 average) Installs: 8
Released: 13 Jan 2010 Last Update: Never Downloads: 0
Not Supported Template Edits  

This will add a Myspace button to the postbit of any member who has a myspace page (assuming they filled out the profile field).

Go to Admin Cp and click Add New User Profile Field

Profile Field Type: Single Line Text Box
Title: Myspace Page
Description: Enter your Myspace username here. ex: usmchangout or if you have not chosen a myspace username enter your friend ID. You can find this by viewing your profile and locating the numbers within that profile. They will be followed by friendID=
Field Editable by user: Yes
Display Page: Edit Profile

Click Save and remember your field # (ex field22)

Upload the attached pic to images/misc

In your postbit template find:

HTML Code:
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
Add below (remember to replace the XX with your own field number that you just created):

HTML Code:
<!-- Myspace start --> 
<vb:if condition="$post['fieldXX']"><a href="http://www.myspace.com/{vb:raw post.fieldXX}" target="_blank"> 
<img src="images/misc/myspace.gif" alt="Go to {vb:raw post.username}'s Myspace page"  border="0"></a> 
</vb:if> 
<!-- Myspace end -->
Click save

Download

No files for download.

Screenshots

Similar Mods

Mini Mods Myspace button in postbit vBulletin 3.6 Template Modifications
Mini Mods Myspace button in signature vBulletin 3.6 Template Modifications
Myspace button in signature vBulletin 3.5 Template Modifications
Myspace button vBulletin 3.5 Template Modifications

vblts.ru supports vBulletin®, 2022-2024