Myspace Button in postbit
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} 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 --> 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 |