ssdevious
03-19-2012, 03:18 PM
Hello,
I'm having sort of a problem with the following - I created a custom user field and linked a JavaScript to it, however, when it opens, it doesn't recognize the user.
Anybody any ideas?
<vb:if condition="$social['msn']">
<a href="javascript://" onclick="imwindow('msn', '{vb:raw userinfo.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>
This MSN is just an example, vBulletin has something like this by default, I know that, I'm just trying to use the mechanics for a mod.
Will be grateful for any ideas.
Best Regards,
~tEh'P?r4d0x
I'm having sort of a problem with the following - I created a custom user field and linked a JavaScript to it, however, when it opens, it doesn't recognize the user.
Anybody any ideas?
<vb:if condition="$social['msn']">
<a href="javascript://" onclick="imwindow('msn', '{vb:raw userinfo.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>
This MSN is just an example, vBulletin has something like this by default, I know that, I'm just trying to use the mechanics for a mod.
Will be grateful for any ideas.
Best Regards,
~tEh'P?r4d0x