Quote:
Originally Posted by Itchy Nips
you are correct, sir! I did not have the right code in there. I realized what happened, and this is another feedback for you.
When I pasted that code in replacement of the old code from step 2 (in the instructions), it puts an online status icon next to the username. But their online status also appears where it should (on the bottom of the postbit).
I had to edit your code from this:
PHP Code:
<div id="postmenu_$post[postid]"> <if condition="$show['profile']"> <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]"><if condition="$post['field8']"><img src="$post[field8]" border="0"/></a> <else />$post[musername]</a></if> $post[onlinestatus] <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script> <else /> $post[musername] </if> </div>
to this:
PHP Code:
<div id="postmenu_$post[postid]"> <if condition="$show['profile']"> <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]"><if condition="$post['field7']"><img src="$post[field7]" width="150" height="30" border="0"/></a> <else />$post[musername]</a></if> <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script> <else /> $post[musername] </if> </div>
getting rid of the:
PHP Code:
$post[onlinestatus]
after the </a></if> code.
it all works fine now
kudos to you!
|
Oh right. I completely forgot about it doing that in postbit legacy. Thanks for the fix, will update now.