![]() |
Shouts Autoprune for vBShout v2.0
Shouts Autoprune for vBShout v2.0
Please note! This hack was NOT made by me. It was made by S@NL - BlackBik. I have posted this with author's permission. :) ~ What does this hack do? ~ The script will delete all shouts older than xx hours. (You can change it to whatever you want, default is 24 hours.) If you want to change it, you can do it by editing the deletion time in the vbshout_prune.php: Code:
(TIMENOW - (60 * 60 * 24) ~ Hack Installation ~ 1. Download the attached php file and put in the /includes/cron directory. 2. Make a new scheduled task from ACP, "Add New Scheduled Task" (see attached image for more info). Of course you can set it to run whenever you want and as often as you want, I have it running every night at 05:05. :) |
awesome, thanks!
|
Hi, can this work with vBshout 2.1?
|
When i try to run it:
don't happen nothing, it don't delete any shout :( FIXED |
Quote:
|
what's the point of the hack :P cant a staff member at the forum or an admin take 1 min to type prune in the SB :p
|
You could say that for alot of the mods on here. They are all just to lighten the load on admins :)
|
Quote:
|
Wow this is awesome! Thanks. :D
|
will try
this is handy thx |
Quote:
|
That is not the point.
|
I will install it this summer when it will be time for holidays and no one will write prune :D
|
Quote:
|
Quote:
|
Quote:
That way the users can still see older shouts since their last visit, but the archive isn't too big... |
Quote:
1. You have vbshout 2.0 or 2.1? I'm not sure if this works for 2.1 or not, should work but I haven't tested. 2. Are you sure you uploaded the php file to oyur forum//includes/cron folder? And are you sure you put the right path to the scheduled task you had to create (Filename)? |
Quote:
|
Quote:
The script itself is very simple and should work... |
Quote:
|
its a nice addition this, lazy or not, every little tweak helps...
|
Quote:
|
Quote:
|
Damn I don't underatand... Did you change the settings from "vbshout prune.php"? Maybe you accidentally deleted something there when you edited it?
|
Shouldnt this be in template modifications?
|
This isn't a template modification, it's a cron script.
|
Quote:
|
i installed...i will see if it works..thanks!!
|
There is a version that works with 2.1 HERE
:) |
All times are GMT. The time now is 04:21 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|