need an advice please .....how to log in messages
need an advice please .....how to log in messages
Hi there, i want to log the messages that the users send in chat (for reporting), which is the best way doing it or if you have some advices, i'm new to smartfox i'm still looking in the docs for an ideea. i'm using server side script (as) for logging users. thanks in advance
there is always something to learn
Check the server side AS docs -> http://www.smartfoxserver.com/docs/docP ... /index.htm
Specifically check the pubMsg and privMsg events.
Those will be fired on each public/private message, from there you can decide to log them to text file, database, remote server etc...
Hope it helps
Specifically check the pubMsg and privMsg events.
Those will be fired on each public/private message, from there you can decide to log them to text file, database, remote server etc...
Hope it helps
Return to “Server Side Extension Development”
Who is online
Users browsing this forum: No registered users and 21 guests