Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Periodic Prune Pms [ Cron Job - Fully Controlable ] Details »»
Periodic Prune Pms [ Cron Job - Fully Controlable ]
Version: 1.0.0, by Omranic Omranic is offline
Developer Last Online: Sep 2021 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.7.x Rating:
Released: 05-19-2008 Last Update: 05-19-2008 Installs: 118
DB Changes Uses Plugins
Re-useable Code Additional Files Translations  
No support by the author.

/*================================================* \
|| ################################################ ||
|| # Product Name: Periodic Prune Pms ......................... Version: 1.0.0 # ||
|| # Licence Number: Free License .................................................. .... # ||
|| # --------------------------------------------------------------------------------- # ||
|| # .................................................. .................................................. # ||
|| # ..... Copyright ?2005-2008 PHP KingDom. Some Rights Reserved. ...... # ||
|| # .... This file may be redistributed in whole or significant part under ..... # ||
|| # .. "Creative Commons - Attribution-Noncommercial-Share Alike 3.0" ... # ||
|| # .................................................. .................................................. # ||
|| # ---------------- 'Periodic Prune Pms' IS FREE SOFTWARE ---------------- # ||
|| # .... http://www.phpkd.net | http://www.phpkd.net/info/license/free .... # ||
|| ################################################ ||
\*================================================ */



Please remember to click Mark as Installed if you use this modification.
Support questions from members who have not marked this as installed will be considered low priority.



Many thanks:
  • All vBulletin experts.
  • vBulletin.com for their professional products and premium support.
  • vBulletin.org for their articles, mods [Thanks also to articles' authors & mod coders].


Name: Periodic Prune Pms

Descreption: This mod allows forum administration to specify a period after which all pms of users will be deleted (Per Usergroup).

How it works:
Nothing complex, it's just a cronjob.

Features:
  • Specific Features:
    • Can enable/disable mod globally. v1.0.0
    • Can specify which folders to be pruned (All Folders / Just Inbox / Just Outbox / All folders other that inbox & outbox). v1.0.0
    • Can specify which PMs to be deleted [Message Status] (Read / Unread / Both). v1.0.0
  • Default Features:
    • Supported.
    • Fully phrased.
    • Uses Bitfields.
    • MD5 Hash checked.
    • Logging cronjob runs.
    • Fully controllable from AdminCP.
    • Doesn't require any manual edits.
    • Fully compatible with vBulletin 3.7.x series.
    • Will not alter environment of vb or other hacks.
    • cronjob controlled from Scheduled tasks as normal vB Crons.


Help Us:
  • With your brilliant suggestions, ideas to develop this mod.
  • With your appreciated translations (translation credits go to their owners).


Known Isues:
  • None till now.

History:
  • v1.0.0 20/5/2008 07:07 AM (EEST): First initial public release.


Notes:
  1. Mod is disabled by default, you should enable it from AdminCP options.
  2. cronjob run once daily (at midnight), you can configure it from 'Scheduled Task Manager'.
  3. Supported languages of this mod is available as a translated product not as language files, each product has an attribution at it's end defines the it's language (ie: -[English]).
  4. This mod is supposed to work with vBulletin 3.5.x & 3.6.x series, but we don't support versions prior 3.7.x series!


Files Tree:
  • import
    • product-phpkd_periodic_prune_pms-[Lang Name].xml
  • upload
    • includes
      • cron
        • prunepms.php
      • xml
        • bitfield_phpkd_periodic_prune_pms.xml
      • md5_sums_phpkd_periodic_prune_pms.php

Screen Shots:
  • Available down there.


Technical Notes:
  • Plugins: 0
  • New Files: 3
  • File Edits: 0
  • New Templates: 0
  • Template Edits: 0
  • New Database Tables: 0
  • Database Alterations: 1
  • New Phrases: 19
  • New Options: 3
  • Cron Jops: 1


Installation Procedure:
  • Import the product file from your AdminCP.
  • Upload all the content of the upload folder to your forum ROOT.
  • Done .


Control:
  • AdminCP -> vbulletin options -> Periodic Prune PMs Settings
  • AdminCP -> Usergroups -> Usergroup Manager -> Periodic Prune PMs Permissions
  • AdminCP -> Scheduled Tasks -> Scheduled Task Manager -> Prune PMs


At the end:
  • Thanks to all of you for supporting us by installing our products.


Other Products:

Keep Moving Forward!

Download Now

File Type: zip phpkd_periodic_prune_pms.zip (7.3 KB, 616 views)

Screenshots

File Type: jpg phpkd_periodic_prune_pms_acp_settings_1.jpg (43.9 KB, 0 views)
File Type: jpg phpkd_periodic_prune_pms_acp_ugpperms_1.jpg (9.5 KB, 0 views)
File Type: jpg phpkd_periodic_prune_pms_acp_cronjops_1.jpg (9.6 KB, 0 views)

Show Your Support

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

Comments
  #32  
Old 01-20-2009, 07:31 PM
uwebgg uwebgg is offline
 
Join Date: Jan 2009
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it does not work with 3.8.x :-(
Reply With Quote
  #33  
Old 02-20-2009, 06:45 PM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To me there seems to be on flaw in this, and that's that it only prunes from the pm table. It needs to do pmtext as well, otherwise you're leaving the bulk of the data in the database.
Reply With Quote
  #34  
Old 03-29-2009, 04:50 PM
pedroenf pedroenf is offline
 
Join Date: Jun 2006
Location: Portugal
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could it be re-made to work in 3.8.X? It would be great. I have tried in 3.8.1 and no luck
Reply With Quote
  #35  
Old 03-31-2009, 07:36 AM
pedroenf pedroenf is offline
 
Join Date: Jun 2006
Location: Portugal
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updating:

It does work on 3.8.1.
Reply With Quote
  #36  
Old 04-01-2009, 10:32 AM
stamos2003 stamos2003 is offline
 
Join Date: Nov 2003
Location: Berlin
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's not working on 3.8x
though the pmtext table is not pruned too, this lets a mass of dead text in the database
Reply With Quote
  #37  
Old 04-01-2009, 11:27 AM
pedroenf pedroenf is offline
 
Join Date: Jun 2006
Location: Portugal
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For me it is working fine. It takes a while to get the job done but it does!

My PM tables before pruned (older than 1 year):

VBPM 26,6MB
Format fixed
Collation latin1_swedish_ci
Rows 520,364
Row length ø 21
Row size ø 54 Bytes
Next Autoindex 806,562

VBPMReceipt 21,7KB
Format dynamic
Collation latin1_swedish_ci
Rows 189
Row length ø 58
Row size ø 118 Bytes

VBPMText 63,3MB
Format dynamic
Collation latin1_swedish_ci
Rows 142,364
Row length ø 441
Row size ø 466 Bytes
Next Autoindex 233,864

My tables after pruned:

VBPM 12,6MB
Format fixed
Collation latin1_swedish_ci
Rows 245,613
Row length ø 21
Row size ø 54 Bytes
Next Autoindex 811,408

VBPMReceipt 20,9KB
Format dynamic
Collation latin1_swedish_ci
Rows 173
Row length ø 58
Row size ø 123 Bytes

VBPMText 32,8MB
Format dynamic
Collation latin1_swedish_ci
Rows 55,058
Row length ø 599
Row size ø 624 Bytes
Next Autoindex 236,758

As you can see lots of Mb where gone from my PM tables, and i didn't hand deleted them!!!
Reply With Quote
  #38  
Old 04-24-2009, 12:45 PM
masterme's Avatar
masterme masterme is offline
 
Join Date: Jan 2007
Location: Holland
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it work on 3.6.5?
If not, why is there a redirect from the 3.6 mods to this one telling we must use this one instead the 3.6.x version.
Reply With Quote
  #39  
Old 04-24-2009, 11:44 PM
pedroenf pedroenf is offline
 
Join Date: Jun 2006
Location: Portugal
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
4. This mod is supposed to work with vBulletin 3.5.x & 3.6.x series, but we don't support versions prior 3.7.x series!
Stated above.
Reply With Quote
  #40  
Old 04-26-2009, 01:26 PM
masterme's Avatar
masterme masterme is offline
 
Join Date: Jan 2007
Location: Holland
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And?
If you read the comments people who use it on older versions than 3.7 should work, but they often don't. And in the older versions of this mod they say we must use this version. So what is so strange about my question? If they say we must use this version, they must also give support. But he, that is my opinion...
Reply With Quote
  #41  
Old 08-13-2009, 07:50 AM
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Mod!!!
¿work with 3.8.3???

Thanks!!
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:29 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.18431 seconds
  • Memory Usage 2,337KB
  • Queries Executed 26 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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
  • (4)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete