FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » FudAPI Examples
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: FudAPI Examples [message #34214 is a reply to message #19431] Fri, 13 October 2006 23:28 Go to previous messageGo to previous message
DaveQB is currently offline  DaveQB   Australia
Messages: 109
Registered: January 2006
Location: Sydney
Karma:
Senior Member

Thanks mate Cool
That did the trick.

So I am learning with the fud_fetch_online_users function

After uncommenting the GLOBALS.php line in fudapi.inc.php and including said file I run this bit of code


$ret = fud_fetch_online_users();
echo "$ret";



If there is someone of the forum I get
"Object#1"
Or if there is no one on the forum I get
"Array"

So I guess I need to learn about PHP Array handling.
PS I tried the Python way using
echo "$ret[0]";


But that failed.


All I am ultimately trying to do it get all the users in my DB out with their details so I can put them into the Gallery2 DB so I can continue my integration of Gallery2 into FudForum. GPL of course so we can all use it Cool

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Deleting Moderation Queue
Next Topic: integration with a cms (the user database) possible?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Dec 02 11:41:23 GMT 2024

Total time taken to generate the page: 0.04514 seconds