vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Shouts Autoprune for vBShout v2.0 (https://vborg.vbsupport.ru/showthread.php?t=146386)

Stifmeister2 05-02-2007 10:00 PM

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)
just change 24 to whatever suits you best.


~ 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. :)

d8tabyte 05-03-2007 03:47 PM

awesome, thanks!

Masiello 05-03-2007 04:43 PM

Hi, can this work with vBshout 2.1?

Masiello 05-03-2007 07:05 PM

When i try to run it:

don't happen nothing, it don't delete any shout :(

FIXED

Stifmeister2 05-03-2007 07:40 PM

Quote:

Originally Posted by Masiello (Post 1240788)
When i try to run it:

don't happen nothing, it don't delete any shout :(

FIXED

Ok good to hear. :)

FreshFroot 05-03-2007 08:54 PM

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

Distance 05-03-2007 09:22 PM

You could say that for alot of the mods on here. They are all just to lighten the load on admins :)

Stifler 05-03-2007 11:17 PM

Quote:

Originally Posted by Distance (Post 1240882)
You could say that for alot of the mods on here. They are all just to lighten the load on admins :)

every little bit helps.

Snake 05-03-2007 11:19 PM

Wow this is awesome! Thanks. :D

fn9mm 05-03-2007 11:25 PM

will try
this is handy
thx


All times are GMT. The time now is 10:27 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.01315 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete