![]() |
Does this physically remove the old threads from the database? Does the line of code that says "delete_thread($thread['threadid'], false, true, NULL, false, $thread);" use the built in vBulletin functions to remove the thread and posts?
Can someone help me find the "delete_thread" function? Please confirm just what this script does... Thanks! EDIT: OK, I think I figured out what this calls but it will take me some time to figure the code out.. I assume this is using the class_dm_threadpost.php file to handle the removal of the thread and that it will also remove the posts and that these removals are by removal or the rows of data from the database... :alien: |
Hi,
tried this hack - and nothing happened :confused: Ok, read the small text in the forum manager again, and it says: "will automatically prune all Threads from this Forum where the last reply is older then the set amount of days" A-HA! So, if I have threads WITHOUT any replies they won't be deleted. Is that right? How can the code be changed to enable the pruning of threads without replies older than x days??? Possible? TIA and best regards, adusei |
Adusie,
Open the xml file and Edit line #27, by replacing where it says: "lastpost" with "dateline". Then import the product with: "Allow Overwrite" option enabled. btw, Working perfect in 3.6.3 |
Does this work on sub-forums too?
As in will the setting it to prune on the parent effect the child forums too? |
Does anyone know the function to move a thread? I rather have it move all the threads to a dedicated forum, then I can manually prune that single forum when my server is offline, since pruning is extremly CPU intensive when pruning thousands of threads.
I would like to change this: PHP Code:
To move the thread to a dedicated forumID, that I use as a recycle bin. |
works for 3.6.5:D
|
Anyone willing to hold a n00bs hand? I would love to use this to delete all threads in one forum at midnight each night. I need explicit instructions though, not just a bunch of code. Tell me where to put it, copy this, paste here, change this....and I can fly with it. But just giving me code...I'm lost.
|
Yes - over night (once a day) seems like a better idea than runing an intensive script like this each hour. How please? Thanks.
|
Quote:
- Upload in your cron dir (includes/cron/) a php file (e.g. autoprune.php) with this code: Code:
<?php That's all :) |
Is there a better version for this? 3.6.7 ?
|
Quote:
Anyway I can do this? Thanks |
Works on version 3.6.8
|
Quote:
I'm just curious, how to specify the x days for each forum like the one in Forum Manager since the plugin has already been disabled or removed ? I'm still stuck here. |
wtf you lose your forum posts ammount
|
Quote:
That's the reason why it is (by default) executed every hour, as this keeps the amount small. Quote:
Pruned posts/threads are gone - forever. |
Is this work fine in 3.6.8 ?, because I installed it and set it in a specific forum that I want to delete all the threads that are 30 days old or more, but nothing happened the old threads still there in that forum.
Or only works since now for the future threads that will be in that forum ? Mario |
Quote:
|
This mod works in vbulletin 3.7.0?
|
Yes it does!
One thing you need to do is to change the hook location as mentioned above. |
and how can I change the hook ???, help!!
|
after installing into 3.5.4 I get this error message when I attempt to set the number of days on a forum:
Quote:
|
Quote:
|
Thank you very much Nogura!!
I did it, so I hope with this the mod works again perfectly. |
Quote:
This appears to be the only autoprune for 3.5.4 and I run an NNTP gateway which fills up fast. :) |
anyone? :(
|
I had to manually add:
PHP Code:
./includes/class_dm_forum.php the plugin Quote:
|
Andreas, i have uploaded your hack for auto prune i want to know if set to 0 will it delete threads or posts and if i just want the hack to delete thread say every 30 days will it do this no matter wheather the threads have replies or not please advise?
Tony |
HI! is this hack will be released for 3.7-3.8?
|
Is there any reason it has to use cron_cleanup_hourly? Could it be set to cron_cleanup_daily and run only once per day?
|
Hi
Please help me... I need mod for auto delete thread after X day... but amount of days set separately for each thread. |
Installed @ Vbulletin 3.8.1
Changed hook to "cron_script_cleanup_hourly1" Works! Thx! |
I need this mod for auto prune topic's that cleanup by ( topic start date ) and not by ( last reply date )
Can someone help me please ?? Vbulletin 3.8.1 |
Is there a SQL query to auto update the length of time for all your forums without having to go and edit each forum?
|
Quote:
Or is there a better MOD for vBulletin 3.8 ? |
thx. works in 3.8.3.
|
Quote:
|
howdo i do this please change the Hook location to cron_script_cleanup_hourly
plus i cannot see setting in forum manager for this mod? im on vb3.7 beta4 |
Hello,
here the xml for VB 3.8.x at own risk :) on gunboard.de it works perfect. settings are in the forummanagement. greets gunboard |
Someone have it working on vb4 ?
|
Does this plugin work with vb4?
|
All times are GMT. The time now is 08:34 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|