PDA

View Full Version : Reset options for banned users?


Black Tiger
Fri 2nd May '08, 8:21pm
I wonder if this is possible.

When a user get's banned, he will get into the "banned members" usergroup.
That works ok.

But can't it be made so the options are also reset to what's defined for the banned usergroup?
For example, a user has the option "receive admin email" on, and "email on pm" active. I've setup my banned usergroup to -not- receive admin emails and also all other options are set to "no".

However when a user get's banned by me or my supermods, and I lookup that user in the ACP, the options that user set are still active the way he set them up during registration. Why is that?

The a second question. Marco has made a nice manual on making it more difficult for spambots by asking a question during registration:
http://www.vbulletin.com/forum/showthread.php?t=205214

However, I'm running 3.7 gold now. And there is another option present:
"Which page displays this option?"
Can he update that nice manual for 3.7?

Jake Bunce
Sat 3rd May '08, 2:13am
Those are user preferences, not group permissions. Banning a user moves them to the banned group but that doesn't have anything to do with their user preferences. There is no Receive Email from Administrators permission in the usergroup settings.

Regarding the user profile fields... that option is not new to 3.7. For the purposes of that guide, it doesn't matter what that is set to, as long as you set the field to be required on the registration form.

Black Tiger
Sat 3rd May '08, 9:36am
Sorry, you're correct, they are user preferences, but you can setup a set of default permissions for a usergroup in the usergroup permissions.
Can view, can post, etc. I presume that is taken care of automatically then.

But is it possible to automatically set all user preference settings to no when banning them?

GameWizard
Sat 3rd May '08, 9:46am
I would probably say no, unless you manually program something like this in. However I think that a more effective approach would be to simply make those functions useless for banned users.

If you have a Yes/No option to see a certain function, but the user cannot see the forum, then it doesn't matter what the user chooses!

If there is something however that you want the banned users to not be able to use (which isn't affected by usergroup permissions), you will need manually code in conditionals that eliminate this functionality for the banned usergroup.

Black Tiger
Sat 3rd May '08, 11:06am
Oke thanks, I will have al ook over at vb.org if there is (or can be made) that will set the admin email and pm options to no.

Jake Bunce
Sun 4th May '08, 1:58am
Note that the other group permissions are not even considered if the user is banned. Banned users can't access anything regardless of the other group permissions.