kapii
12-02-2012, 04:15 AM
I am attempting to code a custom plugin, but on php side I need it to check if the member is online, something like so:
if (member is online)
{
$do_this;
}
else
{
$do_that;
}
I know in the templates it is <vb:if condition="$onlinestatus==1">
but how to do it in php?
if (member is online)
{
$do_this;
}
else
{
$do_that;
}
I know in the templates it is <vb:if condition="$onlinestatus==1">
but how to do it in php?