Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vBshout Automatic Pruning *ALL VERSIONS* Details »
vBshout Automatic Pruning *ALL VERSIONS*
Mod Version: 1.20, by Distance (Member) Distance is offline
Developer Last Online: Nov 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.x Rating: (2 votes - 5.00 average) Installs: 51
Released: 08 May 2007 Last Update: 18 Jun 2007 Downloads: 488
Not Supported Uses Plugins Additional Files  

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.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases Automatic Inactive Users Pruning - vB3.7 RC2 J98680Bxxxxx vBulletin 3.7 Add-ons 44 28 Mar 2009 15:56
Automatic Inactive Users Pruning Revan vBulletin 3.0 Full Releases 20 29 Apr 2008 18:05
Automatic Zero-Reply Pruning Revan vBulletin 3.0 Full Releases 19 06 May 2005 04:04

Comments
  #2  
Old 08 May 2007, 01:10
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Real name: Josh
.: v1.0 Release Notes :.

In vBshout 2.1 Only!!

Because vBshout 2.1 is a file based shoutbox when the the Cron script runs to prune the Shoutbox the database will clear the shouts however the file will still have the shouts stored.
Even though the shouts have been cleared the shoutbox will not update until a new shout is made.
I plan to release a version that will also clear the html file soon.

.: v1.10 Release Notes :.

Original bug fixed.
When the shoutbox prunes it will display a message saying the shoutbox has been successfully pruned.

.: v1.20 Release Notes :.

Fixed table prefix for maximum compatibility
__________________
My software never has bugs. It just develops random features.

Distance


Last edited by Distance; 18 Jun 2007 at 13:39.
Reply With Quote
  #3  
Old 08 May 2007, 06:31
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
hey nice work, look forward to the one that will clear the html file as well, will install it later on. thanks.
Reply With Quote
  #4  
Old 08 May 2007, 07:52
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Real name: Josh
Yeah its because its a flatfile system.. Annoying eh

Please click install
__________________
My software never has bugs. It just develops random features.

Distance

Reply With Quote
  #5  
Old 08 May 2007, 12:31
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Real name: MrDby
working anybody?
Reply With Quote
  #6  
Old 08 May 2007, 16:43
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Real name: Josh
There is no reason whatsoever why this should not work unless you do not have vBshout installed.
__________________
My software never has bugs. It just develops random features.

Distance

Reply With Quote
  #7  
Old 08 May 2007, 19:05
bitdefuser bitdefuser is offline
 
Join Date: Mar 2007
Location: C:\WINDOWS
It would be nice if after it prunes it would say, "Weekly Shoutbox Prune Complete" in the shoutbox.
Edit: And would include the next time for cleanup but, that's not really necessary.
Reply With Quote
  #8  
Old 08 May 2007, 19:16
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Real name: Josh
I was going to implement something where it adds the message

'The shoutbox will auto prune in x minutes.. etc'

I suppose I could add a message for after the prune aswel
__________________
My software never has bugs. It just develops random features.

Distance

Reply With Quote
  #9  
Old 08 May 2007, 20:29
bitdefuser bitdefuser is offline
 
Join Date: Mar 2007
Location: C:\WINDOWS
Because vBshout 2.1 is a file based shoutbox when the the Cron script runs to prune the Shoutbox the database will clear the shouts however the file will still have the shouts stored. Even though the shouts have been cleared the shoutbox will not update until a new shout is made. I plan to release a version that will also clear the html file soon.
Problem solved with my suggestion.
Reply With Quote
  #10  
Old 08 May 2007, 22:57
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Real name: Josh
I have already solved the problem

The problem was making sure it was compatible with both versions 2.0 and 2.1. It was surprisingly easier than what I thought considering they are two totally different systems.

Pending final testing and possibly another feature implemented the new v1.10 will be released tomorrow evening.

Distance
__________________
My software never has bugs. It just develops random features.

Distance

Reply With Quote
  #11  
Old 08 May 2007, 23:36
LouiseDM's Avatar
LouiseDM LouiseDM is offline
 
Join Date: Jan 2007
Real name: Louise
installed
Reply With Quote
  #12  
Old 09 May 2007, 16:09
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Real name: Josh
.: v1.10 Release Notes :.

Original bug fixed.
When the shoutbox prunes it will display a message saying the shoutbox has been successfully pruned.
__________________
My software never has bugs. It just develops random features.

Distance

Reply With Quote
  #13  
Old 09 May 2007, 16:50
D.Ilyin D.Ilyin is offline
 
Join Date: Oct 2005
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
  #14  
Old 09 May 2007, 16:57
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Real name: Josh
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
__________________
My software never has bugs. It just develops random features.

Distance

Reply With Quote
  #15  
Old 12 May 2007, 14:04
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Real name: MrDby
3.6.6?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 09:56.

Layout Options | Width: Wide Color: