ssdevious
03-24-2012, 05:48 PM
Hello,
I'm trying to apply vBulletin's MSN pop-out window onto my custom "User Profile Field" - why doing that, when it's already in vBulletin? Well, It's a part of a mod, so I need to apply that to make it work on custom UPFs.
I'm using this code:
<vb:if condition="$social['msn']">
<a href="javascript://" onclick="imwindow('msn', '{vb:raw post.userid}', 440, 270); return false;"><img src="images/postbit_social/msn.png" onmouseover="this.src='images/postbit_social/msn_a.png'" onmouseout="this.src='images/postbit_social/msn.png'" alt="{vb:rawphrase send_message_via_msn_to_x, {vb:raw post.username}}." /></a>
</vb:if>
Sadly, it only works, when I fill in the "Instant Messaging" --> "MSN Messenger Handle:"
From what I've figured out, that .js will be most likely connected to this:
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.msnicon}
</div>
</vb:if>
I'm kind of lost in this and it would take me days to figure this out, so could somebody please help?
I'll appreciate anything.
Thanks,
~tEh'P?r4d0x
I'm trying to apply vBulletin's MSN pop-out window onto my custom "User Profile Field" - why doing that, when it's already in vBulletin? Well, It's a part of a mod, so I need to apply that to make it work on custom UPFs.
I'm using this code:
<vb:if condition="$social['msn']">
<a href="javascript://" onclick="imwindow('msn', '{vb:raw post.userid}', 440, 270); return false;"><img src="images/postbit_social/msn.png" onmouseover="this.src='images/postbit_social/msn_a.png'" onmouseout="this.src='images/postbit_social/msn.png'" alt="{vb:rawphrase send_message_via_msn_to_x, {vb:raw post.username}}." /></a>
</vb:if>
Sadly, it only works, when I fill in the "Instant Messaging" --> "MSN Messenger Handle:"
From what I've figured out, that .js will be most likely connected to this:
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.msnicon}
</div>
</vb:if>
I'm kind of lost in this and it would take me days to figure this out, so could somebody please help?
I'll appreciate anything.
Thanks,
~tEh'P?r4d0x