The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Automatically change usergroup after certain amount of time
I would like there to be a way for members' usergroups to automatically change to a different one after a certain amount of time since their last post.
This seems like it would be fairly simple to do, but I have no idea. Or is there a way to do this already? |
#2
|
||||
|
||||
do you want to change at the moment they revisited the board or even if they dont revisit? If latter, it will require a cron script.
|
#3
|
||||
|
||||
could be done with vb3 very simply as its a built in feature
|
#4
|
||||
|
||||
I'd prefer it to change even if they don't revisit. But either way would be fine with me. It beats having to do it manually, that's for sure.
|
#5
|
||||
|
||||
let us know:
a) Usergroups the hack will apply b) New Usergroup hack will put users in c) Time hack will check |
#6
|
||||
|
||||
Ok...usergroups 9 and 11 would change to usergroup 2 at 30 days since last post. And I guess it would check this once per day, midnight I guess, though that part doesn't matter much.
Thanks!!! |
#7
|
||||
|
||||
Create a "anynameyouwant.php" file in your forum directory and put this code inside that file:
PHP Code:
Please test this script in a test board first! I dont expect a problem but I don't like giving away scripts like this as they make changes in DB so a bug can create serious problems. I didnt test the script myself. |
#8
|
||||
|
||||
Thank you so much! I'll give it a whirl...
|
#9
|
|||
|
|||
Question Logician, what exactly does set_time_limit( ) function do? I appreciate any assistance.
Regards, g-force2k2 |
#10
|
||||
|
||||
Ok, I tried it and it changes everyone in usergroups 9 & 11, regardless of the time since their last post, to usergroup 2. Any ideas?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|