Page 1 of 1

[Wdiget] Who is online

PostPosted: Wed Feb 09, 2011 3:42 pm
by fc_Damir
Hi to all,

I want to share with us this new widget for raxan that display
who is online info like country, flags and number of user per country
using ip info and api of hostip.


I have some problem on my server when use


or $p = new RaxanWebPage(''.$stringIp);

because on my server direct access on remote file is not allowed.

In this case I use curl.
Widget first try load with raxan web page and if failed try use curl.

Nice tutorial that help me build this who is online widget for raxan: ... ql-jquery/

Good coding and enjoy
(125.5 KiB) Downloaded 399 times

Re: [Wdiget] Who is online

PostPosted: Thu Feb 10, 2011 3:16 am
by raymond
Hi Damir,

Very nice widget! I like it.

Thanks for sharing.



PostPosted: Thu Feb 10, 2011 5:51 am
by Zippie97
thanks, that helped me a lot!

Re: [Wdiget] Who is online

PostPosted: Thu Feb 10, 2011 7:25 am
by fc_Damir

there is a little change on the widget.

Now on page is only necessary add:

<div id="visitors"></div>

and all html code is display into visitors id or id that you want.

Re: [Wdiget] Who is online

PostPosted: Thu Feb 10, 2011 10:13 am
by fc_Damir

in this version I have add two event that show/hide panel with visitors.

demo with some dummy data:

Best regards