The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Online status in memberlist
Like the Title suggests.
I have added it so far into the memberlist template like so:- Code:
<vb:if condition="$onlinestatus==0"> <img class="inlineimg onlinestatus" src="{vb:stylevar imgdir_statusicon}/user-offline_memberlist.png" alt="{vb:rawphrase x_is_offline, {vb:raw userinfo.username}}" border="0" /> <vb:elseif condition="$onlinestatus==1" /> <img class="inlineimg onlinestatus" src="{vb:stylevar imgdir_statusicon}/user-online_memberlist.png" alt="{vb:rawphrase x_is_online_now, {vb:raw userinfo.username}}" border="0" /> <vb:elseif condition="$onlinestatus==2" /> <img class="inlineimg onlinestatus" src="{vb:stylevar imgdir_statusicon}/user-invisible_memberlist.png" alt="{vb:rawphrase x_is_invisible, {vb:raw userinfo.username}}" border="0" /> </vb:if> Now, no matter what I do, the code only outputs the very first vb:if, and from what I have so far gathered, the $onlinestatus variable is not global and cannot be used in the memberlist template. Is there a way of making this available, or a hook to pull the correct info, I am at my wits end to get this to work. Remember, I am not a coder |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|