The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Universal Cron Job Clean up (collective work from vb.org programmers)
Hi I would love to make a super Cron Job. This one I would like to start cleans up removed users.
Here is the catch. If the user is deleted it will check and remove them from: vbarcade Vbarticals vbjurnals photopost etc etc etc until that person has nothing left on the site. inculding attachments (inculding the attachment in PM hack) This would be awsome for all users AND can work together with alot of hacks! We could make it like a Linux kind of thing in the sense we all add to it untill almost any hack on here can be used with it if needed. Can we start this together guys? (Pulls up britches) WELP! >ahhh< I made the idea... >Sniffff< any one else in des hear parts can add to it? I do not have a problem testing and handling the submitions and updates. Also I can handle the version dates and submition of authors. |
#2
|
|||
|
|||
no one?
|
#3
|
|||
|
|||
not sure how to do the hack but what would happen if people never had the following hacks installed
vbarcade Vbarticals vbjurnals photopost because out of them i only have photopost but its still a good idea u came up as it would make the board and database a lot cleaner. |
#4
|
|||
|
|||
nothing. the cron job will do this...
gather a list of users right... look in all areas (for the most common hacks) so arcade table, photopost ect... if there is a user hanging around that is NOT in the userlist it is safe to say that user is deleted thus remove leftovers. If you do not have lets say the Arcade tables.... then nothing will show. Same way if you DO have the arcade but alot of users never used it. nothing will happen. It only removed orphan files, tables of deleted users. Now all we need is some nice people to start and adding to this super cron job. |
#5
|
|||
|
|||
come on guys?
|
#6
|
|||
|
|||
wow. I will give it a bit more time if not I will drop the idea.
|
#7
|
||||
|
||||
it's fairly easy to write the script; however, for some ppl who don't have either vbarcade, Vbarticals, vbjurnals or photopost (i don't have vbarticle nor vbjournal nor photopost), it gives an error in mysql DELETE statement.
|
#8
|
|||
|
|||
I thought I would get the "it's easy"s.
Ok dont worry about the errors how can you help? I would love to hear how you can implement your ideas to this project. |
#9
|
||||
|
||||
However, you can work around to avoid these mysql errors, i think.
this vbcronjob would delete and clean up all article, posts, subscriptions, and stuffs related to the users who have 0 posts. It's configurable btw. PHP Code:
|
#10
|
|||
|
|||
woah nice action! can we release this? (we... lol you did the work.)
I have no quarms testing for you. what errors you get so far? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|