php forum
php mysql forum
php mysql smarty
 
Topic Options
#58070 - 11/16/05 04:49 PM Banned modification that blocks access to view board
Devin_82504 Offline
Junior Member

Registered: 09/11/04
Posts: 18
Loc: Michigan
One thing that I have noticed in even my new UBB 6.7.3 as well as the .2 builds is that when I ban a member, they are not able to login or post or even register if their IP is banned. But, guess what? Banned members still have access to view this kind of board and still have the ability to read the post and member topics. I dont like that.

A good modification script would be one that if IP, member name, or even email address is banned from board, the message that comes up when going to the board URL would be that "You are not allowed to view this board because you've been banned by the board administrators." followed by the "Use you browsers back button to return"

I have an access of over 11,000 banned IP addresses on mine. But, those former members or ones who registerd and were declined by mod quee of registartion mode can still access the board. I don't like that.

Now, I know from what the Groupee Staff have said about the new PHP product that is yet still coming everyone, that it does by its defult usergroup settings block access to the entire board for banned members, IPs, emails, and so on. This is something that I still think needs to be a mod for UBB 6x series. Its long over due.

Thanks for reading and now your thoughts.
_________________________
All My Best,
Devin

Top
#58071 - 11/16/05 04:57 PM Re: Banned modification that blocks access to view board
Ron M Offline
Admin Emeritus

Registered: 11/29/01
Posts: 789
Loc: Des Moines, IA
A better solution would be to use .htaccess to ban them from the cgi-bin and the noncgi directories.

Code:
order allow,deny
deny from 127.0.0.1
allow from all

Replace 127.0.0.1 with the offending IP address. You can do multiple lines of the deny from 127.0.0.1

Why make UBB do the work when you can save the load and let Apache knock them down wink
_________________________
http://thegeeksinc.com
[img]http://www.ubbdev.com/ud/?u=Sub_Zero&s=1[/img] points generated

Top
#58072 - 11/16/05 04:59 PM Re: Banned modification that blocks access to view board
Devin_82504 Offline
Junior Member

Registered: 09/11/04
Posts: 18
Loc: Michigan
Because its a lot easier to just ban them then they are banned from the board. I dont see the point in having to edit the .htacess as well.
_________________________
All My Best,
Devin

Top
#58073 - 11/16/05 05:03 PM Re: Banned modification that blocks access to view board
Ron M Offline
Admin Emeritus

Registered: 11/29/01
Posts: 789
Loc: Des Moines, IA
By including the ban on every page you will drastically increase the load on your server. Everytime you open a page, you would have to open the ban file and read that to see if they can view the page.

.htaccess does what you are asking without causing the UBB to work harder.
_________________________
http://thegeeksinc.com
[img]http://www.ubbdev.com/ud/?u=Sub_Zero&s=1[/img] points generated

Top
#58074 - 11/16/05 07:11 PM Re: Banned modification that blocks access to view board
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
I concourr with Sub, .htaccess will ban the users globally over the site vs just registering/posting; by banning them on your forum you're just saying "I don't want this person to be able to register", by banning their account you're saying "I don't want this user posting on my forum"...

.htaccess is a far superior way of banning any user from accessing your site.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top



Moderator:  Gizmo 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks