MyBB Community Forums

Full Version: Any script thing to make only X ips access my forum?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm starting a new private forum, which won't be public to anyone but the IPs I want. I was going to use Nickman's Invitation Only plugin, but it seems it doesn't work in earlier versions and updating isn't possible right now cause he's very busy. So I was wondering if some kind of specific IP script thing would be possible.

I'm pretty sure I saw this somewhere else already, but I just don't remember. And yeah, not just the index but ALL pages. The forum must remain as private as possible. Toungue Any other tips regarding keeping the forum really private are also appreciated.

Regards,
faviouz
You could use something like this in your .htaccess:
order allow,deny
allow from [ip #1]
allow from [ip #2] 

That's from a site on google search :p
A local .htaccess, like in a specific folder or the default one in the root? Thanks for the answer.
The one in your forum directory, probably best just to add it to the bottom.
I'm not really sure if it will work but i'm sure other users and Google will help you if it doesn't. :p