Hi,

The second method you mentioned works for me.. i use the left method
of the core this way

ape.core.left(pubid);

As for the 3rd method, what do you mean by you "fire it from the
client" ? make sure you have created a server side command which will
call the server side method 'left' .. say your command is named
removeUser

now from the client you need to send a request to this command as,
ape.core.request.send('removeUser',{ ...... })

do check the example given here 
http://www.ape-project.org/docs/server/users/left.html

On Aug 4, 5:35 am, "Chiyo's Dad" <[email protected]> wrote:
> anyone?
>
> On Aug 1, 1:50 am, "Chiyo's Dad" <[email protected]> wrote:
>
>
>
> > I need to unsubscribe users from channels. I have tried it several
> > ways. Following the documentation, I have done it like 
> > this:http://www.ape-project.org/docs/client/multi-pipe/left.htmlandhttp://...the
> >  client
> > side, and I have also tried implementing it on the server side as a
> > command as inhttp://www.ape-project.org/docs/server/users/left.html
> > which I then fire from the client side But none of these methods have
> > worked.
>
> > For method #2 and 3, it does not work because the function does not
> > exist (for #2, javascript stops at that line, and for #3, when I
> > restart ape-server I get a message that "cmd.user.left is not a
> > function"). #1 seems to be a function in that it doesn't crash
> > javascript, so it's possible that it correctly kicks the user off,
> > however the event userLeft is not being fired, so other users on the
> > channel don't see that the user is leaving.
>
> > What is the correct way to unsubscribe a user from a channel?

-- 
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/

Reply via email to