<RoomNameAvoidChars> doesn't seem to be working in my config.
I create a room with the Chars I wanted it to avoid.
I use: <RoomNameAvoidChars><![CDATA[,.:]]></RoomNameAvoidChars>
I can still use these characters and the room is made with no problem and is still accessible by everyone. I have tried this inside my <zone> area, nothing has working so far. What am I doing wrong?
<RoomNameAvoidChars> not working.
-
- Posts: 19
- Joined: 20 Mar 2018, 01:14
Re: <RoomNameAvoidChars> not working.
Hi,
I don't know how to reproduce this problem. Maybe you're testing with Rooms defined directly in the config.xml?
Keep in mind the setting is meant to filter out characters from user created Rooms, which means Rooms created dynamically via client side requests.
Other than that the <RoomNameAvoidChars> works as expected for me. I've created different Rooms with those "avoid" characters and they get all filtered out correctly.
Cheers
I don't know how to reproduce this problem. Maybe you're testing with Rooms defined directly in the config.xml?
Keep in mind the setting is meant to filter out characters from user created Rooms, which means Rooms created dynamically via client side requests.
Other than that the <RoomNameAvoidChars> works as expected for me. I've created different Rooms with those "avoid" characters and they get all filtered out correctly.
Cheers
-
- Posts: 19
- Joined: 20 Mar 2018, 01:14
Re: <RoomNameAvoidChars> not working.
I misunderstood, I thought this would PREVENT the user rather then just remove the words, so it would say "hey you can't do this action" in a messagebox window. How would I go about doing this then?
This is solved.
This is solved.
Re: <RoomNameAvoidChars> not working.
I am not sure what you're asking.
What is it that you don't want the users do?
Thanks
What is it that you don't want the users do?
Thanks
-
- Posts: 19
- Joined: 20 Mar 2018, 01:14
Re: <RoomNameAvoidChars> not working.
@Lapo Nevermind, I figured it all out. This is solved! thank you.
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 50 guests