The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Myspace button in postbit Details »» | |||||||||||||||||||||||||
Hey all,
This small modification will add a small button to your postbit. This small modifications will put a button in the postbit to the Myspace page of the user. Bratzer 1. Make a profile field Profile field type = Single-line text box Title: Myspace account Description: Type your Myspace ID. You can leave the rest to default. **Note down the number of the field! Example: field16. You need to replace the X in the next code with the number!** 2. Template changes - In postbit_lecacy & Postbit Find: Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon] Code:
<!-- Myspace start --> <if condition="$post[fieldX]"><a href="http://www.myspace.com/$post[fieldx]" alt="View my myspace" target="_blank"> <img src="images/misc/myspace.gif" border="0"></a> </if> <!-- Myspace end --> Upload it in your: images/misc folder! Bratzer http://www.bratz-designs.com Currently i am working to get this integrated with the messenger fields, when this is updated you will hear from me asap!! Show Your Support
|
Comments |
#12
|
|||
|
|||
Be my guest
|
#13
|
|||
|
|||
This is the graphic I use for it...
|
#14
|
|||
|
|||
You should of at least edited yours so the color would match your background.
|
#15
|
||||
|
||||
Nice mod! Thanks!
|
#16
|
||||
|
||||
Is there a way to add this to the Instant Messaging field and not the Additional Information field.
|
#17
|
|||
|
|||
^^ yes
|
#18
|
|||
|
|||
|
#19
|
||||
|
||||
Quote:
here is the part of that template that I think were something is suppose to be added Code:
$vbphrase[private_message]:<br /> <a href="private.php?$session[sessionurl]do=newpm&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>$vbphrase[instant_messaging]</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> </if> </table> </fieldset> </if> </div> </div> </td> </tr> <tr> |
#20
|
|||
|
|||
I am not sure, but ill try to find it. (You mean in edit profile right?)
|
#21
|
||||
|
||||
Yes
User cp/Edit Profile/Optional Information - All information will be viewable by other forum members. scroll down too Instant Messaging and you will see. You may enter your registered identity for the instant messaging networks if you would like other visitors to be able to contact you using that medium. ICQ Number AIM Screen Name MSN Messenger Handle Yahoo! Messenger Handle Skype Name There is a template called instant messaging template as there are four temlates thast look like this im_send_aim im_send_MSN im_send_Yahoo im_send_Skype im_send_myspace maybe add a new template and add something like this but not sure if I'm on the right path here. also I'm not sure what I need to change for it to show up Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat"> <span class="smallfont" style="float:$stylevar[right]"><a href="#" onclick="self.close()">$vbphrase[close_this_window]</a></span> $vbphrase[aim] </td> </tr> <tr> <td class="panelsurround" align="center"> <div class="panel"> <div align="$stylevar[left]"> <div class="fieldset"> <img src="$stylevar[imgdir_misc]/im_aim.gif" alt="" /> <phrase 1="member.php?$session[sessionurl]u=$userinfo[userid]" 2="$userinfo[username]">$vbphrase[send_message_via_aim_to_x_link]</phrase> (<strong dir="ltr">$userinfo[aim]</strong>) </div> <div class="fieldset"><a href="aim:addbuddy?screenname=$userinfo[aim_link]"><phrase 1="$userinfo[aim]">$vbphrase[add_x_to_your_contact_list]</phrase></a></div> <div class="fieldset"><a href="aim:goim?screenname=$userinfo[aim_link]&message=$vbphrase[aim_hi_are_you_there]"><phrase 1="$userinfo[aim]">$vbphrase[send_x_a_message]</phrase></a></div> <div class="fieldset"> $vbphrase[these_functions_require_aim] </div> </div> </div> </td> </tr> </table> Code:
<if condition="$show['hasimicons']"> <fieldset class="fieldset"> <legend>$vbphrase[instant_messaging]</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> </if> </table> </fieldset> </if> </div> </div> </td> </tr> <tr> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|