MyBB Community Forums

Full Version: Block registration from a country?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
You can block countries with the Blocked plugin.

https://www.blocked.com/
Later......I got something installed.

And as I expected here's the catch (there's ALWAYS a catch)

Your Free Trial expires in 10 days.

Some much for the "free" aspect.
(2016-10-22, 02:57 PM)PDA1 Wrote: [ -> ]Later......I got something installed.

And as I expected here's the catch (there's ALWAYS a catch)

Your Free Trial expires in 10 days.

Some much for the "free" aspect.

After 10 days it reverts to the free version which continues to block countries.
No idea what CloudFlare is.

BlockScript has a plugin that easily integrates into myBB.

Of course the only catch there is it doesn't work. It appears in the plugin list but I can't figure out how to make it work.
(2016-10-22, 09:48 PM)PDA1 Wrote: [ -> ]No idea what CloudFlare is.

BlockScript has a plugin that easily integrates into myBB.  

Of course the only catch there is it doesn't work.  It appears in the plugin list but I can't figure out how to make it work.

Did you follow the instructions on this page?

https://www.blocked.com/install.php
Yes, I did and now have added the blocked country using the control panel of Blocked.

I assume that's all I need to do.

Is there was a way to test whether the country is really blocked from accessing my site?

But here's what adds more bother to my life;

Once BlockScript is installed, it must be integrated into your website and/or your scripts.

You can imagine my thoughts- how in the world is a dope like me to figure that one out?!

I guess I'll just leave things as they are.

Thanks for the continued help.
(2016-10-22, 10:54 PM)PDA1 Wrote: [ -> ]Yes, I did and now have added the blocked country using the control panel of Blocked.

I assume that's all I need to do.

Is there was a way to test whether the country is really blocked from accessing my site?

But here's what adds more bother to my life;

Once BlockScript is installed, it must be integrated into your website and/or your scripts.

You can imagine my thoughts- how in the world is a dope like me to figure that one out?!

I guess I'll just leave things as they are.

Thanks for the continued help.


Lets see if I can't help you here:

Firstly, follow their installation guide:
Quote:
  1. Download BlockScript and extract the contents of the .zip file.

  2. Upload the "blockscript" directory and its contents.

  3. CHMOD 0777 (or 0755 if running under suPHP) the "detector.php" file and the "/blockscript/tmp/" directory.

  4. Visit "http://www.yoursite.com/blockscript/install.php" in your browser.

  5. Follow the on-screen prompts.


You can either use: https://www.blocked.com/src/blockscript_mybb.zip
OR you can follow these steps:
  1. Locate /inc/init.php
  2. after <?php add the following: include_once("./blockscript/detector.php"); (ON A NEW LINE)
Now open .htaccess with your editor and add the following to the top:

RewriteEngine On

# protect html files
[size=small][font=Monaco, Consolas, Courier, monospace]RewriteCond %{REQUEST_FILENAME} \.(htm|html)$[/font][/size]
RewriteRule .* /blockscript/detector.php [L,QSA]


# protect shtml files
#RewriteCond %{REQUEST_FILENAME} \.(stm|shtm|shtml)$
#RewriteRule .* /blockscript/detector.php [L,QSA]

# protect images
RewriteCond %{REQUEST_FILENAME} \.(bmp|gif|ico|jpe|jpeg|jpg|png)$
RewriteRule .* /blockscript/detector.php [L,QSA]

# protect directory indexes
RewriteCond %{REQUEST_FILENAME} !/blockscript/
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule .* /blockscript/detector.php [L,QSA]


Any further issues, feel free to let me know!
Ok. Thanks. I wait a day and see if the blocked country still can access our site.
(2016-10-24, 06:10 PM)PDA1 Wrote: [ -> ]Ok.  Thanks.  I wait a day and see if the blocked country still can access our site.

You can check it yourself with a proxy...
(2016-10-24, 06:39 PM)Neeeeeeeeeel.- Wrote: [ -> ]
(2016-10-24, 06:10 PM)PDA1 Wrote: [ -> ]Ok.  Thanks.  I wait a day and see if the blocked country still can access our site.

You can check it yourself with a proxy...


How do I do that?  (remember- I'm not a techy)
Pages: 1 2 3