Gossamer Forum
Home : Products : Gossamer Forum : Development, Plugins and Globals :

Re: [carfac] Is there a way to do......

Quote Reply
Re: [carfac] Is there a way to do...... In reply to
Try out this global (call it something like WHOS_ONLINE):

Code:
sub {
require GForum::Online;
my $online = (GForum::Online->whos_online())[1];
return $online;
}

Then in a template, put <%WHOS_ONLINE%>, and you will be able to use the online_users, online_guests, has_online_users and has_online_guests template variables/loops.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Subject Author Views Date
Thread Is there a way to do...... SandraR 5341 Jul 11, 2003, 8:13 AM
Thread Re: [SandraR] Is there a way to do......
Franco 5203 Jul 11, 2003, 11:02 AM
Thread Re: [Franco] Is there a way to do......
SandraR 5192 Jul 11, 2003, 11:29 AM
Thread Re: [SandraR] Is there a way to do......
ArmyAirForces 5190 Jul 11, 2003, 3:09 PM
Thread Re: [ArmyAirForces] Is there a way to do......
carfac 5143 Jul 15, 2003, 4:58 PM
Thread Re: [carfac] Is there a way to do......
bretzke 5153 Jul 15, 2003, 5:36 PM
Thread Re: [bretzke] Is there a way to do......
carfac 5178 Jul 15, 2003, 6:21 PM
Thread Re: [carfac] Is there a way to do......
carfac 5150 Jul 15, 2003, 6:33 PM
Thread Re: [carfac] Is there a way to do......
carfac 5089 Aug 6, 2003, 11:40 AM
Thread Re: [carfac] Is there a way to do......
Jagerman 4892 Sep 19, 2003, 4:42 PM
Thread Re: [Jagerman] Is there a way to do......
carfac 4925 Sep 19, 2003, 4:55 PM
Post Re: [carfac] Is there a way to do......
carfac 4891 Sep 19, 2003, 5:02 PM