Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
vBshout Automatic Pruning *ALL VERSIONS* Details »»
vBshout Automatic Pruning *ALL VERSIONS*
Version: 1.20, by Distance Distance is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Chat Modifications - Version: 3.6.x Rating:
Released: 05-07-2007 Last Update: 06-17-2007 Installs: 53
Uses Plugins
Additional Files  
No support by the author.

vBshout Automatic Pruning

NOTE: Does not work with Inferno vBshout


What does it do?

This addon will automatically prune (remove all shouts) from the vBshout Shoutbox.

*You can set the time when the product will prune the Shoutbox.


How do I get vBshout?

vBshout 2.0
vBshout 2.1


.: Installation :.


1. Upload pruneshout.php to your /includes/cron/ folder
2. Import the product product-shoutbox_prune.xml



.: Upgrading :.

Upgrading from 1.0 / 1.0

1. Upload and overwrite /includes/cron/pruneshout.php
2. Import the product product-shoutbox_prune.xml (Make sure overwrite is turned on)


.: Configuration :.


By default the shoutbox will prune every Sunday night at 11.59pm

If you wish to change this proceed to the following steps.


1. On your admincp find Scheduled Tasks. Expand the group and then click on Scheduled Task Manager
2. Find Shoutbox Pruning and select Edit from the dropdown menu, then click go.
3:

You can change the settings to whatever you want.

Note: * means every. So if you had it as Hour: * then it would run every hour.

Get the idea?

4. Once you have finished click save



.: Version History :.

1.0: Initial Release2.0: Bug fix & after prune message
1.10: Bug fix and after-prune message.
1.20: Fixed table prefix for maximum compatibility

View Release Notes


.: Future Releases :.
  • Direct link in admincp to prune the shoutbox
Thanks
Distance


Note: This has been tested with vBshout 2.0 and 2.1. Please backup your forums before installing this mod. I say this so I am not liable for any data loss etc although that situation is EXTREMELY unlikely.

Show Your Support

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

Comments
  #12  
Old 05-08-2007, 10:36 PM
LouiseDM LouiseDM is offline
 
Join Date: Jan 2007
Location: Nederlands
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed
Reply With Quote
  #13  
Old 05-09-2007, 03:09 PM
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Location: Boston, Uk
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

.: v1.10 Release Notes :.

Original bug fixed.
When the shoutbox prunes it will display a message saying the shoutbox has been successfully pruned.
Reply With Quote
  #14  
Old 05-09-2007, 03:50 PM
D.Ilyin D.Ilyin is offline
 
Join Date: Oct 2005
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank's for update!
BTW Distance is it any chance to do the following:
NOT delete, but rename shouts file (i'm talking about 2.1 version) and create new empty file?
Reply With Quote
  #15  
Old 05-09-2007, 03:57 PM
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Location: Boston, Uk
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have the concept of the flatfile system wrong.

This is how it works:

The shoutbox reads from the html file
When a new shout is made it is sent to the database
The database updates the html file

This way everytime someone loads up the shoutbox it only has to read a small html file (with only the latest X shouts stored) without having to bring up the whole shout table.

There would be a way but for the amount of people who would use it it isn't worth the hasstle.

Distance
Reply With Quote
  #16  
Old 05-12-2007, 01:04 PM
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Location: Hades
Posts: 1,298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3.6.6?
Reply With Quote
  #17  
Old 05-12-2007, 04:45 PM
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Location: Boston, Uk
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The vB version says 3.6.X.

This means it will work with all versions of vBulletin 3.6

Distance
Reply With Quote
  #18  
Old 05-13-2007, 01:56 PM
vB Nova vB Nova is offline
 
Join Date: Mar 2007
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To make it work for the flatfile version just nick the function out of the vbshout.php file and include it into the cron file. Then it's just a case of running the function to rebuild the .html file.
Reply With Quote
  #19  
Old 05-13-2007, 05:15 PM
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Location: Boston, Uk
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I worked with the creator to make this.. This is the best way to do it
Reply With Quote
  #20  
Old 05-14-2007, 09:49 AM
itsblack itsblack is offline
 
Join Date: Dec 2005
Location: Augsburg
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to only prune the messages which are X days old?
Reply With Quote
  #21  
Old 05-14-2007, 07:53 PM
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Location: Boston, Uk
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not with this modification, no.
Reply With Quote
Reply

Thread Tools

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 05:27 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
  • Page Generation 0.07212 seconds
  • Memory Usage 2,293KB
  • 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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete