change default guest_nnn

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
shareproduct
Posts: 15
Joined: 30 Jul 2009, 18:36

change default guest_nnn

Post by shareproduct »

Hello,

I'm using SFS Pro 1.6.6, in My config.xml, I've setup a default room :

<Rooms>
<Room name="Home" isPrivate="false" isTemp="false" autoJoin="true" limbo="true" />
</Rooms>

SFs assigns a default name to the user when s/he joins this default room, i.e. default user name in the room is guest_nnn.

Is there any way to change this default name? say I wont it to be based on a given pattern : ID_nnn

I've checked, there's a function _server.getGuestName(), but there's no one to set this Guest Name

Thanks for help
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post by BigFIsh »

Sorry, there's no way to change the default formatting of the guest names.

However, you could implement your own formatting for guest names using custom login functionality.
Smartfox's forum is my daily newspaper.
shareproduct
Posts: 15
Joined: 30 Jul 2009, 18:36

Post by shareproduct »

Thanks BogFish,
Yeah, that coould be an avenue however I'm using Facebook so really don't need a login for the moment
Post Reply