Search found 8 matches

by gsources75
16 Oct 2010, 19:06
Forum: Server Side Extension Development
Topic: error in connection string
Replies: 1
Views: 4410

error in connection string

Ok i understand how i can create an extension but i have some doubt.




<DatabaseManager active="true">
<Driver>sun.jdbc.odbc.JdbcOdbcDriver</Driver>
<ConnectionString>Data Source=localhost;Initial Catalog=Destinies;User Id=xxxxxx;Password=xxxxxx</ConnectionString>
<UserName>yourname</UserName ...
by gsources75
14 Oct 2010, 11:20
Forum: Server Side Extension Development
Topic: extension to get users info
Replies: 5
Views: 9035

ok but i don't know how create extension and how get info in flash
by gsources75
13 Oct 2010, 05:56
Forum: Server Side Extension Development
Topic: extension to get users info
Replies: 5
Views: 9035

i don't understand that files i do must create...


<DatabaseManager active="true">

<Driver>org.gjt.mm.mysql.Driver</Driver>
<ConnectionString>jdbc:mysql://192.168.0.15:3306/sfsTest</ConnectionString>
<UserName>myUserName</UserName>
<Password>myPassword</Password>

<TestSQL><![CDATA ...
by gsources75
12 Oct 2010, 22:16
Forum: Server Side Extension Development
Topic: extension to get users info
Replies: 5
Views: 9035

extension to get users info

Ok I know that there are tutorial for DataBase Extension but i don't understand..... sorry

OK i 'm developing a multi-rooms chat, the users is recorded in a Sql server database.

i have this code in config.xml


<DatabaseManager active="true">

<Driver>org.gjt.mm.mysql.Driver</Driver ...
by gsources75
08 Oct 2010, 06:38
Forum: SmartFoxServer 1.x Discussions and Help
Topic: privateMessage and receiver
Replies: 1
Views: 4369

privateMessage and receiver

Ok i write an example.

There are 2 user in room.

fox1 and fox2. I'm fox1.

i send a private message.

smartFox.sendPrivateMessage("ciao",id, room);

ok it works but on event

private function onPrivateMessage(event : SFSEvent) : void {

i can know only sender i know "from" and not "to".

i test ...
by gsources75
12 Sep 2010, 22:31
Forum: SmartFoxServer 1.x Discussions and Help
Topic: chat with emoticons
Replies: 6
Views: 11652

chat with emoticons

i'm developing a simple chat. I this chat the users can write special character and application show emoticons... such as :) becomea simple smyle.

I have problem with emoticon, i use a only textfield of all public message, when add message with emoticon, this emoticon is bottom text no right the ...
by gsources75
12 Sep 2010, 15:42
Forum: SmartFoxServer 1.x Discussions and Help
Topic: info users in database
Replies: 1
Views: 4223

info users in database

Hi,

i 'm developing a chat with multiroom. All users are registered and all data are in a SqlServer Database.

Only user logged can load page of chat but how can i get info of every user in chat ?



var room:Room= smartFox.getRoom(smartFox.activeRoomId);
var user_in_room:Array= room.getUserList ...
by gsources75
06 Sep 2010, 21:49
Forum: SmartFoxServer 1.x Discussions and Help
Topic: simple question over a multiroom chat
Replies: 0
Views: 3186

simple question over a multiroom chat

Hi , fist sorry for my bad english.


I'm developing a multi-rooms chat, and i have some doubt...


1) the user can enter in more room at the same moment so i create a class
InRoomUser. In this class i have the textfield of public messages.

This method involves the creation of more instance of ...