|
|
Joined: Aug 2002
Posts: 27
User
|
User
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?
|
|
|
|
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.
|
|
|
|
Joined: Aug 2002
Posts: 27
User
|
User
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?
|
|
|
|
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.
|
|
|
|
Joined: Aug 2002
Posts: 27
User
|
User
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.
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Instructions posted hereNote - 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
|
|
|
|
Joined: Aug 2002
Posts: 27
User
|
User
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?
|
|
|
|
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);
|
|
|
|
Joined: Aug 2002
Posts: 27
User
|
User
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.
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
You are welcome.
|
|
|
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.
|
|
Posts: 449
Joined: February 2008
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|