Previous Thread
Next Thread
Print Thread
Rate Thread
#232316 01/08/2003 5:36 PM
Joined: Aug 2002
Posts: 27
User
User
Offline
Joined: Aug 2002
Posts: 27
I am using ubbt 6.1 and have a question about bans. When I ban someone they can not post or send private messages but they still have access to view hidden forums.

How can I prevent any access same as with unregistered users?


Sponsored Links
marketnoize #232317 01/08/2003 6:46 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Right, banned users just can post or send PM's.

They can't see "hidden" forums unless you've given the user access to see "hidden" forums in the first place.

If you dont' want unregistered users to see forums, adjust the group access to the forums.

Under Admin, choose "edit or delete a forum" and adjust the read/write privledges at the bottom based on user groups.

Daine #232318 01/08/2003 7:10 PM
Joined: Aug 2002
Posts: 27
User
User
Offline
Joined: Aug 2002
Posts: 27
The user group Banned has no access to any of my forums but If I become A BANNED user I see everything.

If I send the banned user a PM it goes through to their in box and they are able to read all PM's sent to them.

I don't understand why they even have access to my home when banned. They use this access to jerk around with their profile.

I have installed a few hacks, maybe I messed something up along the way.

By the way even though they are banned no names show up in my banned user group?

marketnoize #232319 01/08/2003 7:16 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
No that's the way it works. Other people have suggested more restrictions.

Banned users have all access that they normally have.... except they can't read posts or send PMs.

Taking a look at the code, I think you could easily restrict banned users from sending PMs and more.....

If you are interested in that, let me know and I'll see if I can write something up. I think it'll be a simple tweak.

Daine #232320 01/08/2003 7:22 PM
Joined: Aug 2002
Posts: 27
User
User
Offline
Joined: Aug 2002
Posts: 27
More restrictions would be great. I can imagine your busy but if at your convience you have time to code something up
I would appreciate it.

Sponsored Links
marketnoize #232321 01/08/2003 9:07 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Instructions posted here

Note - I wrote it for 6.2.... but I think it'll work fine in 6.1.

My instructions have you add a few bits of code in places. The places you are looking for might not be exactly the same in 6.1, but I expect you'll be able to find the right place (basically after the authenticate function).

Josh

Daine #232322 01/08/2003 11:16 PM
Joined: Aug 2002
Posts: 27
User
User
Offline
Joined: Aug 2002
Posts: 27
Hey Thank You Josh

Since you wrote it for 6.2 everywhere it says U_Number needs to be change to U_Name correct?

marketnoize #232323 01/08/2003 11:57 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Oh good catch..... It'll need to be U_Username.

Oh yea, in 6.1 it'll look like this:

// ------------------
// Check for any bans
$html = new html;
$userob -> check_ban($user['U_Username'],$Cat);

Daine #232324 01/09/2003 12:22 AM
Joined: Aug 2002
Posts: 27
User
User
Offline
Joined: Aug 2002
Posts: 27
I have installed the hack you coded for 6.2 and blocked everything except my home.

I used the code in you last post and like majic no more "My Home" for banned members.

Thanks alot for the help.


marketnoize #232325 01/09/2003 12:45 AM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
You are welcome.

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
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
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)