Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Universal Clean up Cron Job Details »»
Universal Clean up Cron Job
Version: 1.00, by T3MEDIA T3MEDIA is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 03-24-2005 Last Update: Never Installs: 3
Is in Beta Stage  
No support by the author.

THIS IS A MUST NEED FOR ALL USERS ON VB.ORG


This is a cron job to help users that have installed a few major hacks.

When a user installs a hack at times a user may wish to be deleted or is deleted by the administration. At times due to large sites the user may have orphaned files lying around from external hacks. This cron job will remove these lost files and attempt to clean up your site.

I at this time like to thank tnguy3n and Revan for starting this in the first place.


If you are a coder here on vB and released a hack previously or in the future please PM me with a method of clearing your hack for deleted users and it will be added to the Universal Clean up file.

As always please use at your own risk. I will try to gather as much data to make this file a proper installation.

================================================== =======
How to install this hack
================================================== =======
log into your admincp => Schedule Tasks => Schedule Task Manager, and Add New Scheduled Task
Title: Universal Clean Up Cronjob
Day of the Week: *
Day of the Month: *
Hour: 24
Minute: 0
Log Entries: Yes (or No)
Filename: ./includes/cron/cleanup.php
================================================== =======
March 25, 2005 (version 1 beta released)
================================================== =======
Files so far UCU does:
vbarticle
vbjournal
photopost

Files UCU is looking to work on next:
vbarcade
Vbarticals

Original Thread (talk about work here)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-25-2005, 12:38 PM
paratek's Avatar
paratek paratek is offline
 
Join Date: Feb 2003
Location: New York
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where is it?
Reply With Quote
  #3  
Old 03-25-2005, 01:46 PM
Bryan Ex's Avatar
Bryan Ex Bryan Ex is offline
 
Join Date: Feb 2004
Location: Canada
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I presume this would only work if PhotoPost uses the same database as vB3?
Reply With Quote
  #4  
Old 03-25-2005, 03:14 PM
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Location: The Matrix
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Obviously we make a cron job for this, but there are no actual instructions...so I'm not sure what/when to use it.
Reply With Quote
  #5  
Old 03-25-2005, 03:46 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not a bad idea
Reply With Quote
  #6  
Old 03-25-2005, 04:57 PM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To install this hack, log into your admincp => Schedule Tasks => Schedule Task Manager, and Add New Scheduled Task
Title: Universal Clean Up Cronjob
Day of the Week: *
Day of the Month: *
Hour: 24
Minute: 0
Log Entries: Yes (or No)
Filename: ./includes/cron/cleanup.php
Reply With Quote
  #7  
Old 03-25-2005, 08:27 PM
GenSec GenSec is offline
 
Join Date: Oct 2001
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

T3MEDIA,

Look here:

https://vborg.vbsupport.ru/showthrea...threadid=71657
Reply With Quote
  #8  
Old 03-26-2005, 10:30 AM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

GenSec-> Nice would you be intrested in working with us to do this with the cron job? That way there is no hacking involved.

Let me know.
Bryan Ex -> How do you have PP set up on your system?

Guy PLEASE send back results so we can update and make this flawless
Reply With Quote
  #9  
Old 03-26-2005, 04:06 PM
Bryan Ex's Avatar
Bryan Ex Bryan Ex is offline
 
Join Date: Feb 2004
Location: Canada
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by T3MEDIA
Bryan Ex -> How do you have PP set up on your system
I have vB3 in it's own database along with any hacks I've added but use a separate database specifically for PhotoPost. Both are on the same server with the same mySQL login. Basically what I need is a way to check users in database2 (PP) against the user list in database1 (vb) so some sort of database switch would be needed in the PP line in the cron. This would certainly go a long way at cleaning up my galleries as it's full of blank users names from former members that have since left.
Reply With Quote
  #10  
Old 09-19-2005, 09:54 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bryan Ex
I have vB3 in it's own database along with any hacks I've added but use a separate database specifically for PhotoPost. Both are on the same server with the same mySQL login. Basically what I need is a way to check users in database2 (PP) against the user list in database1 (vb) so some sort of database switch would be needed in the PP line in the cron. This would certainly go a long way at cleaning up my galleries as it's full of blank users names from former members that have since left.
I dont think this will work. No it wont. Sorry for the long delay.

Any new updates or added code so users can clean their files with ease?

Thanks.
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 08:11 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12079 seconds
  • Memory Usage 2,295KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete