Ok I will explain what I've done and what I want.
My site is a tournament, I made a clan wars page, when a team register a clan war each team must press 1 button (Join), that gives us 2 buttons, but these buttons must be enabled only if a moderator is on.
I tried javascript, I Used a button to enable Join buttons but it will only work for the person who clicks the button (the moderator) not for public use.
What I need Is a button that moderators click on it and it enables join buttons for everyone, or also another good idea.
Thank You In Advance.
Enabling / Disabling Buttons Public Use.
Moderator: General Moderators
-
schwarzwolf
- Forum Newbie
- Posts: 7
- Joined: Sat May 30, 2009 10:17 am
Re: Enabling / Disabling Buttons Public Use.
You'd have to use ajax.
Although this isn't very secure. Someone could easily modify the page to enable the buttons and join anyway. You'd better use some PHP to enforce this as well.
Although this isn't very secure. Someone could easily modify the page to enable the buttons and join anyway. You'd better use some PHP to enforce this as well.