The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Temp Ban For All Users That Don't Post
I thought i'd be able to do this with move/prune users, but there isnt the option. What I want is to search for all users that havent made a post for say 30 days, then give them a temporary banning for about a week. I think this should be fairly simple to make hopefully.
Can someone help? |
#2
|
||||
|
||||
You want to ban people who haven't posted ??????
|
#3
|
||||
|
||||
Quote:
I don't know how to make cross-table querys but with this query you can move all those users into another usergroup: Code:
UPDATE user SET usergroupid = X WHERE lastpost < UNIX_TIMESTAMP(NOW()-30*24*60*60) |
#4
|
||||
|
||||
Create a new Usergroup (give it a name) with settings you want the members to have.
- no Arcade - no Downloads - no Gallery - no whatever Quote:
- 1 to move the users to the group - 1 to move them back when they do whatever it is your want them to do. http://www.vbulletin.com/docs/html/u..._add_promotion |
#5
|
|||
|
|||
Quote:
Thanks. But I think you misunderstand. I want it so that if they haven't made a post for 30 days, then it will ban them for 7 days (like the temporary banning options in vB3) I dont think a 7 day banning is a usergroup though. So I cant figure out how to do this one myself |
#6
|
|||
|
|||
bump
|
#7
|
|||
|
|||
bump
|
#8
|
|||
|
|||
why would you want to temp ban someone for not posting? I'd never come back or consider posting if you did that.
|
#9
|
|||
|
|||
Wouldn't that be kinda pointless? I mean, someone hasn't posted for 30 days, and you want to ban that person for 7? Either the person wouldn't care because he won't be there anyway to see the ban, or if the user comes back he would most likely be all "wtf?" and never come back after that.
Good luck though. |
#10
|
|||
|
|||
bump
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|