Support Forums
*sigh* How do I ban an entire country from my MyBB forum? - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Webmaster Support (https://www.supportforums.net/forumdisplay.php?fid=36)
+---- Forum: Forum Software Help (https://www.supportforums.net/forumdisplay.php?fid=49)
+---- Thread: *sigh* How do I ban an entire country from my MyBB forum? (/showthread.php?tid=16132)

Pages: 1 2


*sigh* How do I ban an entire country from my MyBB forum? - RUbernerd - 02-11-2011

Ok, so I have been having trouble recently. Several users have been registering on my forum recently, all showing on stopspamnow and all with a whois lookup of the ip address pointing to Israel. What plugins would I install to block all ip's showing israel be forbidden from registering?


RE: *sigh* How do I ban an entire country from my MyBB forum? - DAMINK™ - 02-11-2011

.htaccess and ban the range? Thats what i do.

order allow,deny
allow from all
deny from 61.0.0.0/255 <- not the real ip to ban ofcourse.
Or you could redirect them to a place more appropriate?

RewriteCond %{REMOTE_ADDR} ^61\.0\.0\.0
RewriteCond $1 !^index\.php$
RewriteRule (.*) http://www.antichildporn.org/ [R=302,L] <-- just an example. I use this for people that post rude stuff on my forum.



RE: *sigh* How do I ban an entire country from my MyBB forum? - Iris - 02-12-2011

I'm having almost the same exact problem.

Ive got a vbuilliten forum, but bots keep joining and I can only prune them. Help is nice.


RE: *sigh* How do I ban an entire country from my MyBB forum? - DAMINK™ - 02-12-2011

If you have a problem with vb mate then i can help you.
I never get a single bot anymore on my forum. Well i get them try register constantly. But my traps ALWAYS work.
1) http://www.vbulletin.org/forum/showthread.php?t=244746&highlight=stop+the+bots
2) http://www.vbulletin.org/forum/misc.php?do=producthelp&pid=vbstopforumspam
3) Enable a few questions in random to be asked. I use things like six plus five instead of 6 + 5.

With these 3 things working you will be fine. Bots will be stopped in there tracks.
I dont use a visual capture at all because bots can read them.



RE: *sigh* How do I ban an entire country from my MyBB forum? - Iris - 02-12-2011

A visual capture is a capcha right? Sorry I dont really know.
Also, I can't access / use it as it's not s legit copy (Damn).

I'm going to get one in the future though Smile


RE: *sigh* How do I ban an entire country from my MyBB forum? - DAMINK™ - 02-14-2011

(02-12-2011, 10:29 PM)Iris Wrote: A visual capture is a capcha right? Sorry I dont really know.
Also, I can't access / use it as it's not s legit copy (Damn).

I'm going to get one in the future though Smile

Then i cant help. As a paying Customer i dont appreciate those that steal it. Sorry mate.

@ RUbernerd Any updates on this thread?


RE: *sigh* How do I ban an entire country from my MyBB forum? - Griffin - 02-15-2011

There is also a plugin entitled GlowHost Spam-O-Matic which blocks out around 100 bots per day on my forum, I don't have the need to run an anti-captcha.

http://www.vbulletin.org/forum/showthread.php?t=248042


RE: *sigh* How do I ban an entire country from my MyBB forum? - crazy4cs - 02-17-2011

see,if you wanna ban a country,there is likely that you ban their IP range which is the best way in myBB,just notice their first 2 numbers of the IP for example,if Israel has IP starting from 115.13.***.*** and if you wanna ban that range,just do this:

1) Login your ACP
2) Users and Groups
3) Banning> IP Ban or w/e

Now to enter a range of IP to be banned there,do this:

Suppose the IP is 115.13.***.*** so if you wanna ban that range,what you would do is in the IP ban range enter something like this:

Code:
115.13.*.*

So it will ban the whole IP range and it would show the IP banned message next time when they visits Smile


RE: *sigh* How do I ban an entire country from my MyBB forum? - Cherrybomb - 02-20-2011

I have a simple tutorial on how to block whole countries via htaccess. Where would I post that on this forum?


RE: *sigh* How do I ban an entire country from my MyBB forum? - Eve - 02-20-2011

(02-20-2011, 07:20 AM)Cherrybomb Wrote: I have a simple tutorial on how to block whole countries via htaccess. Where would I post that on this forum?

Post your tutorial as a separate thread, in this section.