The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Hi there,
someone ever came accross the idea to temporarily deactivate a member's account - would be helpful occassionally -Tom |
#2
|
||||
|
||||
Just create a new usergroup, with no post-permissions.
|
#3
|
||||
|
||||
Hi FireFly,
thanks for the kick in the butt! Sure, that's the best way, so I just create a group "Arrest" with no post-permission and may play with the error-message to state the current status of the user... Just another quick question Would it be hard to create an extra error message for this user group "You're under posting arrest, please wait a week and be a little more friendly in the future"? Thanks, your fast replies are as always greatly appreciated, -Tom |
#4
|
||||
|
||||
Kicking people in the butt is always fun.
About the error message, it shouldn't be too hard. Take a look at functions.php, find this: PHP Code:
PHP Code:
Yup, that should work. |
#5
|
||||
|
||||
Thanks a bunch, great, very clean solution - thanks!
You should become an IT teacher/trainer, since you can make things very clear -Tom |
#6
|
||||
|
||||
So it worked... cool.
There's one "bug" in this though. If a user tries to get to some kind of admin. options, he'll get a "You are arrested punk!" message. If you care so much I'll try to fix it. |
#7
|
||||
|
||||
Yeah, worked instantly very well!
I lost you here, how could that happen? If you don't mind, I would like to hear how to solve a potential problem Cheers pal for your help on this |
#8
|
||||
|
||||
How could that happen? Very easily:
A user tries to edit another's post. If he is not logged in, he will get the "No permissions not logged in" message. If he is logged in, and under arrest, he will get the "You are under arrest man" message. Else, he will get the "No permissions logged in" message. Got it? |
#9
|
||||
|
||||
Quote:
Quote:
thx, -Tom |
#10
|
||||
|
||||
I guess it's fine... but just make sure you add all of the other options that the regular nopermission templates have.
Just add something for the arrested part. Hey, if it's good for you, it's sure good for me. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|