• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Feature Requests (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

GetOnlineNick in external pages

This forum is now locked as we will no longer be developing the v1.x branch

Moderators: OldWolf, re*s.t.a.r.s.*2

Topic locked
5 posts • Page 1 of 1

Postby josea_iag » Wed Mar 12, 2008 12:24 pm

Hello,

I would like to know if somebody can write me a little script in php to print in another pages (foraing pages) who users is online in the phpfreechat. I want to give information in other pages (external pages, for instance joomla, droopal, etc.) about the online users in the chat.

Thanks a lot
josea_iag
New member
 
Posts: 1
Joined: Wed Mar 12, 2008 12:14 pm
Top

Postby NatyALC » Wed Mar 12, 2008 12:43 pm

Hola josea_iag!

I've the same request... I've tried some script but don't works :(
Please, tell me if you earn how to do that...

See you :)
Naty
NatyALC
New member
 
Posts: 6
Joined: Wed Mar 05, 2008 7:23 pm
Top

Postby NatyALC » Wed Mar 12, 2008 12:56 pm

I've created this, but it's not a very clean way to do this :(

Code: Select all
<?
   $count = 0;
   $d = dir('./data/private/chat/s_'.md5('My chat number').'/nickid-to-metadata/');
   while (false !== ($entrada = $d->read())) {
      if (substr($entrada, 0, 1)!='.') $count++;
   }
   $d->close();

   echo $count;
?>
NatyALC
New member
 
Posts: 6
Joined: Wed Mar 05, 2008 7:23 pm
Top

Postby luismaria86 » Sun Apr 06, 2008 12:15 am

doesnt work
luismaria86
New member
 
Posts: 6
Joined: Fri Apr 04, 2008 9:50 pm
Top

Postby OldWolf » Mon Apr 07, 2008 2:08 am

Have a look at the demos... I believe the one you want demo31. :)
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top


Topic locked
5 posts • Page 1 of 1

Return to Feature Requests (v1.x)

Who is online

Users browsing this forum: No registered users and 6 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub