Search found 35 matches

by hoanghuybao
05 Oct 2015, 16:53
Forum: SFS2X Java / Android API
Topic: Activate code in Sign Up Assistant component
Replies: 8
Views: 13152

Re: Activate code in Sign Up Assistant component

Hi Lapo,
I think that we should have an option which allows set number character of activate code. It is very easy to handle.
by hoanghuybao
04 Oct 2015, 08:35
Forum: SFS2X Java / Android API
Topic: Activate code in Sign Up Assistant component
Replies: 8
Views: 13152

Activate code in Sign Up Assistant component

Hi admin
Currently, I see that activate code has 32 character in the length. It is very long and make difficult for user mobile input.
I want this is 4 character only. How to implement that?
Thanks
by hoanghuybao
13 Sep 2015, 16:35
Forum: SFS2X Java / Android API
Topic: LoginAssistant doesn't work with ROOM LEVEL Extensions!
Replies: 3
Views: 7119

Re: LoginAssistant doesn't work with ROOM LEVEL Extensions!

Thanks for your comment. I have more question with Sign up/Login assistant component:
The SignUp has event to listen:

Code: Select all

addRequestHandler(SignUpAssistantComponent.COMMAND_PREFIX, suac);

Why doesn't have the Login assistant component event to listen?

Thanks
by hoanghuybao
12 Sep 2015, 17:40
Forum: SFS2X Java / Android API
Topic: LoginAssistant doesn't work with ROOM LEVEL Extensions!
Replies: 3
Views: 7119

LoginAssistant doesn't work with ROOM LEVEL Extensions!

Hi admin, When I create room in the runtime, I get error message in smartfox.log Exception: com.smartfoxserver.v2.exceptions.SFSRuntimeException Message: LoginAssistant doesn't work with ROOM LEVEL Extensions! Description: Extension initialization failed. +--- --- ---+ Stack Trace: +--- --- ---+ com...
by hoanghuybao
12 Sep 2015, 13:36
Forum: SFS2X Java / Android API
Topic: How to check room joinable in room list?
Replies: 2
Views: 6186

Re: How to check room joinable in room list?

Thanks for your comment. It is good solution in this case.
by hoanghuybao
08 Sep 2015, 18:03
Forum: SFS2X Java / Android API
Topic: How to check room joinable in room list?
Replies: 2
Views: 6186

How to check room joinable in room list?

Hi admin, We can get room list using: sfsClient.getRoomList(); and then foreach the room list to get the room name. User will try to sending request join the room sfsClient.send(new JoinRoomRequest(roomName)); , server returns an event ROOM_JOIN or ROOM_JOIN_ERROR. In case the room is full, we get a...
by hoanghuybao
08 Sep 2015, 17:12
Forum: SFS2X Java / Android API
Topic: Login Assistant component should support change password
Replies: 10
Views: 14491

Re: Login Assistant component should support change passwor

Thanks for your comment. I look forward to in new release.
by hoanghuybao
08 Sep 2015, 15:39
Forum: SFS2X Java / Android API
Topic: Login Assistant component should support change password
Replies: 10
Views: 14491

Login Assistant component should support change password

Hi admin,

I appreciate the Sign Up/ Login assistant component but I think that we should support more operation "change password" in the Login component. It is necessary.
Please give your comment.

Regards,
Thong
by hoanghuybao
08 Sep 2015, 15:30
Forum: SFS2X Java / Android API
Topic: Login assistant post processing doesn't work
Replies: 4
Views: 16261

Re: Login assistant post processing doesn't work

Hi Lapo,

I use org.gjt.mm.mysql.Driver for MYSQL driver.
by hoanghuybao
05 Sep 2015, 20:33
Forum: SFS2X Java / Android API
Topic: Login assistant post processing doesn't work
Replies: 4
Views: 16261

Re: Login assistant post processing doesn't work

The smartfox.log shows
Skipping Unsupported SQL TYPE: -7, Column:permission
. The "permission" column has type TINYINT. I don't know reason why MYSQL shows the error message but when I try to changing the type to INT, it worked as expected.
by hoanghuybao
05 Sep 2015, 11:22
Forum: SFS2X Java / Android API
Topic: Login assistant post processing doesn't work
Replies: 4
Views: 16261

Login assistant post processing doesn't work

Hi all, I read tutorial Login Assistant component about at http://docs2x.smartfoxserver.com/DevelopmentBasics/login-assistant. I try getting an example but the method loginData.extraFields doesn't work as I expected: lac = new LoginAssistantComponent(this); // Configure the component lac.getConfig()...
by hoanghuybao
03 Sep 2015, 16:45
Forum: SFS2X Java / Android API
Topic: Permission Manager doesn't work as expected
Replies: 9
Views: 12423

Re: Permission Manager doesn't work as expected

Yes, thanks for your explanation. Now I understood reasons why we need to setting profile from server side.
P/S: the my code is only a demo for simple client from java. :D
by hoanghuybao
03 Sep 2015, 13:54
Forum: SFS2X Java / Android API
Topic: Permission Manager doesn't work as expected
Replies: 9
Views: 12423

Re: Permission Manager doesn't work as expected

Hi Lapo, You don't understand my question. The "Ban User" only is example for the question. I have 2 situations: 1) The profile GUEST is set denied request "Join Room" and client code has the check User user = sfsClient.getUserManager().getUserByName(userName); if (!user.isGuest(...
by hoanghuybao
03 Sep 2015, 11:28
Forum: SFS2X Java / Android API
Topic: Permission Manager doesn't work as expected
Replies: 9
Views: 12423

Re: Permission Manager doesn't work as expected

Hi Lapo,

Sorry, this is my mistake and inconvenience. I edited band ==> ban.
here Image

Regards,
Thong
by hoanghuybao
03 Sep 2015, 10:13
Forum: SFS2X Java / Android API
Topic: Permission Manager doesn't work as expected
Replies: 9
Views: 12423

Re: Permission Manager doesn't work as expected

Hi Lapo, I have one question for you. You said: "you should recognize Guest users from client side (the User object tells you the permission profile) and inhibit the interface buttons that cannot be used by that class of users". I don't think that it's good solution. Because at Privilege M...

Go to advanced search