Jump to content
MakeWebGames

Recommended Posts

Posted

Re: IP Banning tool [V1] + [V2]

 

hi make a folder called ipbans (no caps)

and then chomd it to 777

and did you change the username part where it says username

ok thanks, but is the cpanel user name the same as the bit where i put user name and pass? or is like the link to cpanel? because if its the name then yea i changed it!

Posted

Re: IP Banning tool [V1] + [V2]

i spent a hour trying to get this to work kept saying the ipbans folder couldnt be found :(

Kept checking chmods permissions and the code couldnt work out what was wrong...

After a hour realised i was logged into my wrong ftp account and had added the ipbans folder to one of my other websites :lol:

but anyway fantastic mod thanks very much already come in very handy :)

Posted

Re: IP Banning tool [V1] + [V2]

Ok i got this to work but it does not display the ip's :|

Here is what im using:

You're unable to view this code.

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

 

Lol and this is for v2 but it does not show the ip's :S

Posted

Re: IP Banning tool [V1] + [V2]

I tried putting it in for V2, and it is under the General section of the Admin Panel, but when I enter an IP and click ban, it comes up with this:

Not Found

The requested URL /admin.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2 Server at www.globalconflict2250.co.uk Port 80

Huh? What's that!?

Posted

Re: IP Banning tool [V1] + [V2]

 

I tried putting it in for V2, and it is under the General section of the Admin Panel, but when I enter an IP and click ban, it comes up with this:

Not Found

The requested URL /admin.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2 Server at www.globalconflict2250.co.uk Port 80

Huh? What's that!?

 

Go through the code mate and change admin.php to staff.php :)

  • 1 year later...
Posted

Re: IP Banning tool [V1] + [V2]

this mod is absolutly shocking i tried it on my game and folowed all the steps and it blocked every account thats god damn stupid

  • 2 weeks later...
Posted

Re: IP Banning tool [V1] + [V2]

isnt

You're unable to view this code.

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

unsecure? thats how hackers got into my site before.

Posted

Re: IP Banning tool [V1] + [V2]

 

isnt

You're unable to view this code.

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

unsecure? thats how hackers got into my site before.

yes it is and all cases should be changed to

You're unable to view this code.

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

Posted

Re: IP Banning tool [V1] + [V2]

 

isnt

You're unable to view this code.

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

unsecure? thats how hackers got into my site before.

yes it is and all cases should be changed to

You're unable to view this code.

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

 

Or

$IP = getenv('REMOTE_ADDR');

Posted

Re: IP Banning tool [V1] + [V2]

I use:

You're unable to view this code.

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

 

It's not mine, can't remeber where from. Effective Though.

  • 1 year later...
Posted

NO WHY WOULD YOU POST IN THIS. YOU MAY BE A BASIC CODER, CAN YOU FIND AND REPLACE, THERES ALOT OF TOPICS THAT WILL TELL YOU HOW TO DO THIS, TOP RIGGHT, GO AND SEARCH!!!!!!!!!!!!!!!!!

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