Hi,
I have got this in my code which essentially manages the list of connected
users
>From that you should be able to retrieve the list of your connected friends.
Hope this helps.
In nickname.js:
var g_userlist = new $H;
Ape.addEvent('adduser', function(user)
{
g_userlist.set(user.name.toLowerCase(), true);
});
Ape.addEvent('deluser', function(user)
{
g_userlist.erase(user.name.toLowerCase());
}
Le 9 mars 2012 16:53, Rossco <[email protected]> a écrit :
> OK, I have managed to update APE to Mootools 1.4.5 and the error is
> now gone but APE does not work with IE9 due to an extra coma found at
> the end of the config. It's not there but IE seems to think it's
> there... the same happens with the demos so it's not just my setup.
>
> IE9 error console shows this. You can see the coma at the end, I think
> this is what breaks APE. If I refresh the page and open the console
> it works again. I love IE so much...
>
> SCRIPT5007: apeCoreSession.js"]}}], line 184 character 3
>
> Anyway, I have rewritten the entire script and it's working to a
> degree. I used the chat demo as the basis for my script but I am now
> really stuck... my site is running on a CMS and each user has a
> friends list that is stored in a mysql database. I would like to
> generate a list of online and offline friends and only that user can
> see those on the list. What I have so far is an online/offline list
> but the online list is just anyone who is logged in, it's not
> specifically those only on your friends list. I assume I have to edit
> the nickname.js or similar to only display those who are on your
> list? Would someone be able to tell me how to best tackle this and
> possibly help out?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/ape-project?hl=en
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/
> Git Hub : http://github.com/APE-Project/
>
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/