Search found 89 matches

by zachofthegolden1
20 Sep 2011, 18:41
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How to create a Admin Badge?
Replies: 21
Views: 7227

if (smartfox.amIModerator)
this._modBadge._visible = true
else
this._modBadge._visible = false
by zachofthegolden1
20 Sep 2011, 18:39
Forum: SmartFoxServer 1.x Discussions and Help
Topic: need help
Replies: 16
Views: 5161

ive made the bade hidden it just wont show at all even for moderators if (smartfox.amIModerator) this._modBadge._visible = true else this._modBadge._visible = true if (user.isModerator) this._modBadge._visible = true I used that code in the On user enter room
by zachofthegolden1
14 Sep 2011, 00:31
Forum: SmartFoxServer 1.x Discussions and Help
Topic: chat boubble closes too quickley
Replies: 1
Views: 1140

chat boubble closes too quickley

hello im having troubble with chat bubble ive set my disired time for it to dissapear but if ive been on the game for more then 2 minutes when i or anyone else messages the chat boubble will show only for 2 seconds then dissapear,, im finding it very annoying when i refresh and talk it works by the ...
by zachofthegolden1
13 Sep 2011, 20:24
Forum: SmartFoxServer 1.x Discussions and Help
Topic: need help
Replies: 16
Views: 5161

ok it worked to identify ive placd a mod badge with the instance modBadge so ill try to figre a way to hide it
by zachofthegolden1
13 Sep 2011, 17:47
Forum: SmartFoxServer 1.x Discussions and Help
Topic: need help
Replies: 16
Views: 5161

Hi. Welcome to the Forums! Well, in the User object there is a method called isModerator() . This method returns a boolean which is true when an User is a moderator or false when isn't. So, in the onUserEnterRoom() event, you can simply check if the user is or not a moderator and show or hide the b...
by zachofthegolden1
13 Sep 2011, 17:39
Forum: SmartFoxServer 1.x Discussions and Help
Topic: custom messages
Replies: 1
Views: 1087

custom messages

hello when a mderator on y game kicks a user a administrator message would appear to that user being banned saying he has been banned. is there a way i can set a different window to load up? so like i made a custom ban window to popup so when a moderator kicks bans the user instead of the admin mess...
by zachofthegolden1
13 Sep 2011, 17:32
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Cross-domain policy file
Replies: 3
Views: 2016

With me i port fowarded port 9339 and port fowarded port 8081 and waited 30 minutes for my outer to process it all then my game was working fine for other people have you pointed your swf to your external ip address? also if you are hosting it froma website make a new file called crossdomain.xml i u...
by zachofthegolden1
11 Sep 2011, 15:29
Forum: SmartFoxServer 1.x Discussions and Help
Topic: need help
Replies: 16
Views: 5161

ok i found a way around this but not thw way i have hoped, basically i make the game with al the eatures then publish then i make another button and oublish under a new name then for me i go to the one with button and normal players go to the app without button when i click it shows a avatar with th...
by zachofthegolden1
10 Sep 2011, 13:53
Forum: SmartFoxServer 1.x Discussions and Help
Topic: need help
Replies: 16
Views: 5161

i love the site and ive tried the boolns for the if mderator show badge, right now i set the badge to hidden so its there but no one can see it, also i tried the veribals it works if i have a button but then everyone else is able to click it Try something like; if(_global.myName = "YOUR NA...
by zachofthegolden1
10 Sep 2011, 13:17
Forum: SmartFoxServer 1.x Discussions and Help
Topic: need help
Replies: 16
Views: 5161

i love the site and ive tried the boolns for the if mderator show badge, right now i set the badge to hidden so its there but no one can see it, also i tried the veribals it works if i have a button but then everyone else is able to click it
by zachofthegolden1
10 Sep 2011, 11:50
Forum: SmartFoxServer 1.x Discussions and Help
Topic: need help
Replies: 16
Views: 5161

its not working :( is there a exampe file or something im really lost
by zachofthegolden1
05 Sep 2011, 20:54
Forum: SmartFoxServer 1.x Discussions and Help
Topic: need help
Replies: 16
Views: 5161

is there a example code i could use? because ive set the moderators bade to modbadge everytime i enter it in and hide from other users my avatar wont show O.O //---------------------------------------------------------- // Handles a new user entering the room //--------------------------------------...
by zachofthegolden1
05 Sep 2011, 19:59
Forum: SmartFoxServer 1.x Discussions and Help
Topic: need help
Replies: 16
Views: 5161

thank you for the quick reply, im still kinda lost on it, ive checked the join room there isn't a boolen flag but it says false
by zachofthegolden1
05 Sep 2011, 19:40
Forum: SmartFoxServer 1.x Discussions and Help
Topic: need help
Replies: 16
Views: 5161

need help

Hello, i'm new here, i recently got smartfox server pro, ive setup my game :D but i need a little help with some features i wanted to add i wanted to add some badges whitch i have http://i633.photobucket.com/albums/uu57/WGN_2009/nobadge.png but threes this 1 badge i want only moderators to have so i...

Go to advanced search