![]() |
Online status conditional?
Let's say in memberinfo I want to show certain picture if user is online and certain picture if user is offline. Is it possible to do that with "if" conditionals?
|
yes your looking for a usergroup conditional. or if not guest
|
hm, not to registered users, but to Online Registered users.
|
Quote:
|
Sorry I think I confused myself there. First post edited.
Let's say in memberinfo I want to show certain picture if user is online and certain picture if user is offline. Is it possible to do that with "if" conditionals? something like <if $userinfo[onlinestatus]==1> or something like that. |
Quote:
|
but how do I set it to online/offline?
I tried $userinfo[onlinestatus]==1 , it doesnt seem to work. Is there any other way? |
Offline.
Code:
<if condition="$onlinestatus==0"> Code:
<if condition="$onlinestatus==1"> Code:
<if condition="$onlinestatus==2"> |
hm thanks but this doesnt seem to work in memberinfo...only postbit
|
Should go in the 'postbit_onlinestatus' template. It's best to edit that template and just leave the memberinfo and postbit templates alone.
|
All times are GMT. The time now is 02:47 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|