Jump to content
MakeWebGames

Register Lock


Recommended Posts

Posted

Ok so basically what this does is lock your register so no new users cant sign up. Existing users can still login though, and you can turn the register lock on and off in your basic settings.

 

Open register.php

FIND

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

ADD UNDER

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Open Staff.php

FIND

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

ADD UNDER

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

SQL:[mysql]INSERT INTO `database`.`settings` (`conf_id` ,

`conf_name` ,

`conf_value`)

VALUES (NULL , 'register_off', '0');

[/mysql]

And there ya go :)

Posted

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

i never put code even at the end of Heredoc...

why MRES?

1. I accidentally put it at the side of the end of the doc, instead of under. 2. because mres secures the $IP hack. unless ud rather have ppl sign up with fake ips. it doesnt really matter as long as u got the $IP hack secured inside the actual game, as it will cut off the $IP. but yea.
Posted

Server remote is actually better.

If you use MRES , your IP logs will say EVERYONE is a multi. It bugs it a bit.

Just using server remote, secures it and ip track works.

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...