PDA

View Full Version : How to make online or ofline usser in postbit


gnavpott
01-18-2011, 07:26 AM
Is there someone who can help me with a hack or a Modification

What I seek is that you can see in postbit whether a user is online or ofline

I have searched on the page but can find nothing
greeting
gnavpott

JacquiiDesigns
01-18-2011, 06:54 PM
User online status code should already be included in the vB postbit o.O

TheLastSuperman
01-18-2011, 10:27 PM
User online status code should already be included in the vB postbit o.O

Agreed... however I do remember some older vB3 styles without it in the templates so O.o there as well! I reckon it depends however you should be able to create a new default style and snag the code from there then paste into your custom style (if that is the case here) and be done with it ;).

Something along these lines:

<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>

JacquiiDesigns
01-19-2011, 05:13 PM
Something along these lines:

<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>

I was gonna say that in the follow-up post.
You beat me to it :p