Search found 4433 matches

by Bax
25 Jun 2007, 16:56
Forum: SmartFoxBits for SFS 1.x
Topic: Post your skin examples
Replies: 0
Views: 3461

Post your skin examples

Have you created your own SmartFoxBits skin? 8) Share it with the other forum users by posting a link to your application or to a simple screenshot!
And if you are interested, best skins could even be added to our examples in the SmartFoxBits download package! :D
Thank you.
by Bax
21 Jun 2007, 07:22
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How do I obtain userId from userName?
Replies: 2
Views: 2418

Re: How do I obtain userId from userName?

kilo wrote:

Code: Select all

if(userList[i].getName==n)

getName is a method, not a property, so use userList[i].getName()
by Bax
20 Jun 2007, 06:59
Forum: SmartFoxServer 1.x Discussions and Help
Topic: PHP Integration
Replies: 1
Views: 1373

The SmartFoxBits' LoginBox component do not support external username/password validation. But you can still achieve this by using SmartFoxBits in conjunction with SmartFoxServer PRO: you can create a custom login procedure using a server-side extension. When your extension receives the login reques...
by Bax
19 Jun 2007, 07:00
Forum: SmartFoxBits for SFS 1.x
Topic: Working example available?
Replies: 1
Views: 4112

You just have to download the SmartFoxBits Community Edition: inside the downloaded zip file you will find a lot of examples, Vegetabled skin included.
Here is the link to the download page, in case you missed it: http://www.smartfoxserver.com/bits/downloads.php
by Bax
14 Jun 2007, 10:05
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Dazed and Confused
Replies: 3
Views: 2010

It would be good if you could post your impressions and comments about using SmartFoxBits, in the respective forum.
Thanks.
by Bax
13 Jun 2007, 07:11
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Dazed and Confused
Replies: 3
Views: 2010

First of all you should be sure that you can reach the server: did you try one of the examples coming with SmartFoxServer? Are you able to connect? Otherwise it could be a firewall or security problem. If other examples work, then could you please explain what happens with the SmartFoxBits Connector...
by Bax
12 Jun 2007, 07:07
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Firewall
Replies: 2
Views: 1764

Please explain more! :D
by Bax
11 Jun 2007, 06:34
Forum: SmartFoxServer 1.x Discussions and Help
Topic: MMORPG compatibility
Replies: 5
Views: 3094

Check this post: viewtopic.php?t=1476
by Bax
04 Jun 2007, 17:41
Forum: SmartFoxServer 1.x Discussions and Help
Topic: ...ok and getting user variables?
Replies: 11
Views: 4636

This should be the working code: var room:Room = sfs.getActiveRoom(); var sfsUser:User = room.getUser(1); var userVars:Object = sfsUser.getVariables(); for (var k:String in userVars) trace(k + " -> " + userVars[k]); Also, are you sure that user 1 has...
by Bax
04 Jun 2007, 17:25
Forum: SmartFoxServer 1.x Discussions and Help
Topic: ...ok and getting user variables?
Replies: 11
Views: 4636

Tom wrote:so you never have to use the method getVariables?

when does that come into play?

Sorry, it seems I haven't been clear... after you get an existing user (see my previous post), then you can retrieve his variables using the methods .getVariable or .getVariables
by Bax
04 Jun 2007, 16:02
Forum: SmartFoxServer 1.x Discussions and Help
Topic: ...ok and getting user variables?
Replies: 11
Views: 4636

Tom, you can't create a new user! You should do something like this: sfsUser = room.getUser(3) where 3 is the user id, and "room" is the Room object in which user 3 is inside. The room object is passed by a number of events, or you can retrieve it like this (for example): sfs.getAc...
by Bax
02 Jun 2007, 10:07
Forum: SmartFoxServer 1.x Discussions and Help
Topic: ...ok and getting user variables?
Replies: 11
Views: 4636

Tom, you said:
i've instantiated a user object... called it sfsUser

What do you mean? You should not instantiate a new user object, but simply retrieve it from the the users list, or from parameters passed with events.
Can you show the code used to create sfsUser?
by Bax
29 May 2007, 06:42
Forum: SmartFoxServer 1.x Discussions and Help
Topic: get user variables
Replies: 1
Views: 1596

This post seems to be quite off-topic. You should probably post it on the gotoAndPlay forums.
Unless you're talking about moving a character in an avatar chat.
Please clarify.
by Bax
28 May 2007, 09:30
Forum: SmartFoxServer 1.x Discussions and Help
Topic: kick or ban users
Replies: 7
Views: 3562

Re: kick or ban users

so i added my name (to be kicked): var dataObj:Object = {} userId = "thijs" msg = "test" dataObj.id = userId.toString() dataObj.msg = msg smartFox.sendXtMessage("$dmn", "kick", dataObj) but i dont kick? Pay attention: user id is not user name. The dataObj obj...
by Bax
28 May 2007, 06:22
Forum: SmartFoxServer 1.x Discussions and Help
Topic: kick or ban users
Replies: 7
Views: 3562

You have to login as a Moderator in order to be able to kick and ban users.

Go to advanced search