Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2003
Posts: 31
User
User
Offline
Joined: Feb 2003
Posts: 31
Unless I am missing something I can't seem to find a way to do this? We do have it setup where you have to register to even see our site but even banned users/banned IP can create a new account to view the forums (of course they can't post). We would prefer to cut off all access to these people and right now we are having to go through every new users, do an IP look up to see if they have been banned. They of course can keep doing this until they get tired of creating accounts.

Anyone know an easier way?


NOTE: We do not have mail setup on our server right now so we can't use the e-mail to verify account which would also be a big help.

Sponsored Links
Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
Use .htaccess to ban them from even opening up your site in a browser.

[]
If you want to deny access to a particular individual, and you know the IP address or domain name that the individual uses to connect to the Internet, you can use .htaccess to block that individual from your web site.


<Limit GET>
order deny,allow
deny from 123.456.789.000
deny from 456.78.90.
deny from .aol.com
allow from all
</Limit>
In the example above, a user from the exact IP number 123.456.789.000 would be blocked; all users within a range of IP numbers from 456.78.90.000 to 456.78.90.999 would be blocked; and all users connecting from America Online (aol.com) would be blocked. When they attempted to browse your web site, they would be presented with the 403 Forbidden ("You do not have permission to access this site") error.
[/]

That was taken from http://www.hostingmanual.net/other/htfun.shtml

Obviously the author doesn't know much about IP ranges. But the idea still works.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, banned users can do everything but post and send PMs under 6.2.

In 6.3 they are much more banned - they cant' do anything. There is a "better ban" mod here in the Archived Beta Mods forum to enhance the banning in 6.2. It's a very easy mod.

Joined: Feb 2003
Posts: 31
User
User
Offline
Joined: Feb 2003
Posts: 31
[]JoshPet said:
Yeah, banned users can do everything but post and send PMs under 6.2.

In 6.3 they are much more banned - they cant' do anything. There is a "better ban" mod here in the Archived Beta Mods forum to enhance the banning in 6.2. It's a very easy mod. [/]

I am using 6.3b1 and we did a test and they could still view the forums? What changes have been made?

Will that mod work with 6.3


The .htaccess has to be done from the server right? Not something we have access to as it is hosted.

Apprecaite the assistance

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
From the 6.3 Changelog:
[]
Modified the banuser function so a user cannot login at all when they are banned. If they are currently logged in they will get a message that they are now banned on the next screen they visit.
[/]

But it's towards the bottom of the changelog - so it probably wasn't in b1 yet.

That mod won't work (or be needed) with 6.3 as the ban check was moved from every script to part of the authenticate process.

Upgrade and you'll be set.

Sponsored Links
Joined: Feb 2003
Posts: 31
User
User
Offline
Joined: Feb 2003
Posts: 31
Thanks

Any word on when it will be out of beta
I just hate to do another update with all the mods I have to step around.

Good to hear this is solved. I assume that a person with a banned IP will not be able to access anything on the later versions?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
No timetable other than "when its ready".

It's b4 - but only the second public beta - so who knows.

Joined: Feb 2003
Posts: 31
User
User
Offline
Joined: Feb 2003
Posts: 31
Well that is understandable. I just wish they had a list of the changes that needed to be made between the two betas.

I will just hold out till then.

Thanks again!

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, they don't track changed files between betas - as there's usually sooooo many changes. Betas are just for testing purposes.

But you can use something like Beyond Compare to see the changed files.

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
.htaccess will work for you. I'm on a shared server myself. All you have to do is place the file in whatever folder you want it to effect. If you put it in your public_html folder it will effect your whole site, unless cancelled out by an .htaccess file in a sub-folder with differing commands.

.htaccess files are one of the most overlooked tools available.

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)