PDA

View Full Version : Help! Postbit username popup not working!


cowcowcow
05-28-2011, 01:50 AM
Wondering if anyone can point me in the right direction of fixing this, when i click on the members name it just goes to his member page instead of having the pop up come out!

I've done lots of customization but im always very careful and don't touch scripts or functions.



<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>

<else />
$post[musername]asd
</if>



Thank you! :)

kh99
05-28-2011, 03:19 PM
I think the part that activates the menu needs to be inside a tag that has the id being registered. Here part of the default postbit template:

<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>


It looks like you took out the <div id="postmenu_$post[postid]"> part.

cowcowcow
05-28-2011, 03:40 PM
thank you so much msn! that was the exact problem and now it works perfect :)