|
|||
|
Hi,
In the manuel I found de following response codes: 0 - login successfully; 1 - wrong password; 2 - the username can't be used ; 3 - login error, e.g. error in connecting database; 4 - username does not exist; 5 - successfully login as the administrator; 6 - guest login not allowed; 7 - username banned But..... there is no response code for: * moderator * speaker Why not? Regards, Sander |
|
|||
|
Well I understand your concern, but as Daniel had made clear to you,
>moderator, speaker are defined in each room, it can't defined after login >before enter room, you can define moderator and speaker in the admin >panel, edit room . You know your question involves two pages: a room list page before user enter room, and a in-a-room page after user enter room. When a user stays in a room list page, he's the same as everyone, there's no way to know if he's moderator or speaker. the point is, moderator and speaker is only for specific room, not for all rooms. Only when the user enters a room, the chat system can define his identity. So when a user auto-login, he will be on the room list page. and the code can only return a value to show whether he's logged in successfully, not his class. well, that's the way the chat system works. thank you for understanding. |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|