Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-03-2004, 07:23 PM
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
Location: TURKEY - Istanbul
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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 ?
Reply With Quote
  #2  
Old 04-03-2004, 09:02 PM
Christine's Avatar
Christine Christine is offline
 
Join Date: Oct 2001
Location: PA
Posts: 472
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Reply With Quote
  #3  
Old 08-16-2004, 08:51 AM
d3nnis d3nnis is offline
 
Join Date: Jun 2003
Location: Singapore
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Christine
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.


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...
Reply With Quote
  #4  
Old 08-16-2004, 09:04 AM
Vega Vega is offline
 
Join Date: May 2004
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hm. There is one over at vb-germany.com, but I dunno, if I'm allowed to post it over here....
Reply With Quote
  #5  
Old 08-17-2004, 06:38 AM
d3nnis d3nnis is offline
 
Join Date: Jun 2003
Location: Singapore
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vega
Hm. There is one over at vb-germany.com, but I dunno, if I'm allowed to post it over here....

care to post the link? i hope its not in german
Reply With Quote
  #6  
Old 08-17-2004, 07:11 AM
Vega Vega is offline
 
Join Date: May 2004
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Attached Files
File Type: php del_inaktiv.php (3.3 KB, 33 views)
Reply With Quote
  #7  
Old 02-01-2005, 03:55 AM
Wential Wential is offline
 
Join Date: Aug 2004
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, great hack!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:47 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04277 seconds
  • Memory Usage 2,236KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (1)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete