The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
cron jobs....
Hello
I need 1 cron jobs for delete Users Awaiting Email Confirmation members.Because every 3 days delete every member one by one,a lot time How can I do that ? |
#2
|
||||
|
||||
Side note -- You don't have to delete them one at a time. Go to Users > Prune and select Users Awating Email as the group, set the date for whatever time you want and delete them all that way at the same time.
|
#3
|
|||
|
|||
Quote:
how about a script that automatically deletes this user group users if they failed to validate their email within 3 days? basically i am doing this everyday... it will be great if there is a cron job that does this... |
#4
|
|||
|
|||
Hm. There is one over at vb-germany.com, but I dunno, if I'm allowed to post it over here....
|
#5
|
|||
|
|||
Quote:
care to post the link? i hope its not in german |
#6
|
|||
|
|||
Actually it is in german, but I'll translate it for ya. I just hope, that'll be okay over there....
http://www.vbulletin-germany.com/for...highlight=Cron I don't think, that you'll be able to download attachments over there, so I'll attach it here. And this is, what you'll have to do, to get this to work: The cronjob works like this: First of all, all users, who weren't there for 180 days will receive an email, that their account will be deleted, if they wont show up on your forums within the following 7 seven days. After that, every user, who wasn't there for 180 + 7 days will be deleted. However, you can that, if you'd like to. It's pretty much important that you run that script daily! First step to do is add some phrases: Phrase Type: Email Subject Text Varname: infouser Text: Account inactive And another one: Varname: killuser Text: Account deleted Phrase Type: Email Body Text Varname: infouser Text: Hello $username, we noticed that you weren't on $vboptions[bbtitle] for a long time. Your account will be deleted, if you won't visit $vboptions[bbtitle] within the next 7 days. Sincerely, Your $vboptions[bbtitle] Team Varname: killuser Text: Hello $username, we noticed that you weren't on $vboptions[bbtitle] for a long time. Your account has been deleted. Sincerely, Your $vboptions[bbtitle] Team Upload the file, add a cron and your done. Thanks to Xothous from vb-ger.com for releasing it. |
#7
|
|||
|
|||
Wow, great hack!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|