Jump to content
MakeWebGames

Recommended Posts

Posted

Re: Maintenance mode?

You could just create a sql in the user table

alter table users add mainmode INT (11) default 0;

add to each script

if($ir['user_level'] = 1)

{

die("<h1>Maintenance Mode Come Back Later</h1>");

}

The above will allow staff to go on line rather than members

Posted

Re: Maintenance mode?

easy, so you can define who can get into the game whilst maintence mode is turned on by simply changing their "mainmode" number to anything but "1".

:) Shedh

Posted

Re: Maintenance mode?

oops my bad it should have been

if($ir['mainmode] = 1)

snd underneath it should have been

else

if($ir['user_level'] = 2)

 

you get the idea lol

Posted

Re: Maintenance mode?

Just place it within header once

if($ir['mainmode'] > 1)

{

die("Undergoing Maintenance.");

}

 

and just create a staff option to change maintenance mode for staff...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...