Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Periodic Prune Pms [ Cron Job - Fully Controlable ] Details »
Periodic Prune Pms [ Cron Job - Fully Controlable ]
Mod Version: 1.0.0, by Omranic (Coder) Omranic is offline
Developer Last Online: Apr 2017 I like it Show Printable Version Email this Page

vB Version: 3.7.x Rating: (15 votes - 4.80 average) Installs: 116
Released: 20 May 2008 Last Update: 20 May 2008 Downloads: 554
Not Supported DB Changes Uses Plugins Additional Files Re-usable Code Translations  

/*================================================*\
|| ################################################ ||
|| # 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

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

Screenshots

Click image for larger version

Name:	phpkd_periodic_prune_pms_acp_settings_1.jpg
Views:	704
Size:	43.9 KB
ID:	81050   Click image for larger version

Name:	phpkd_periodic_prune_pms_acp_ugpperms_1.jpg
Views:	635
Size:	9.5 KB
ID:	81051   Click image for larger version

Name:	phpkd_periodic_prune_pms_acp_cronjops_1.jpg
Views:	737
Size:	9.6 KB
ID:	81052  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Statistics Modifications Fully integrated IRC Stats: Updated with Pisg, Cron guide. Rawkarma vBulletin 3.6 Template Modifications 2 06 Mar 2007 02:29
Cron job: Prune forums jamoss vBulletin 2.x Full Releases 15 04 Jul 2003 07:51

  #16  
Old 10 Jun 2008, 07:21
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Good idea... does it work on 3.7.0 or later version?
Reply With Quote
  #17  
Old 13 Jun 2008, 03:42
Omranic's Avatar
Omranic Omranic is offline
 
Join Date: Jan 2005
Location: Egypt
Real name: Abdelrahman Omran
Originally Posted by rapidphim View Post
Good idea... does it work on 3.7.0 or later version?
Dear rapidphim, its for 3.7.x series.
__________________
Me & My Productions: Omranic | vBulletin.org | Github | Premium PHP & vBulletin Solutions!
----------------------------------------------------------------------------
Keep Moving Forward!
Reply With Quote
  #18  
Old 24 Jun 2008, 04:35
alehawk alehawk is offline
 
Join Date: Apr 2008
Hi!
I was looking for this but can you make a tiny modification?
You'll see, I dont want to empty all users inbox, I just want to prune PM whose date is > today+10 days for example, so every user know that any PM will be deleted when it reaches 10 days old, so I always free space from PM form active and inactive users but it wont prune todays PM.
Tnx!
Reply With Quote
  #19  
Old 28 Jun 2008, 12:31
Omranic's Avatar
Omranic Omranic is offline
 
Join Date: Jan 2005
Location: Egypt
Real name: Abdelrahman Omran
Originally Posted by alehawk View Post
Hi!
I was looking for this but can you make a tiny modification?
You'll see, I dont want to empty all users inbox, I just want to prune PM whose date is > today+10 days for example, so every user know that any PM will be deleted when it reaches 10 days old, so I always free space from PM form active and inactive users but it wont prune todays PM.
Tnx!
Dear alehawk,
Do you checked out the product's features ?
It already allow you to determine which usergroups to prune their PMs, and after how much days (how much days old these PMs that should be pruned).
__________________
Me & My Productions: Omranic | vBulletin.org | Github | Premium PHP & vBulletin Solutions!
----------------------------------------------------------------------------
Keep Moving Forward!
Reply With Quote
  #20  
Old 28 Jun 2008, 19:59
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Real name: Jacquii Cooke
Very nice - I suppose you can disable the automatic cron job via AdminCP and only run whenever you want to manually delete all PMs?

Nice hack though - I requested something like this a while ago - nice to see such a feature - should be good.

Thanx for sharing.

Jacquii.

ps - Install reserved for board upgrade.
Reply With Quote
  #21  
Old 30 Jun 2008, 15:08
alehawk alehawk is offline
 
Join Date: Apr 2008
Originally Posted by PHPKD View Post
Dear alehawk,
Do you checked out the product's features ?
It already allow you to determine which usergroups to prune their PMs, and after how much days (how much days old these PMs that should be pruned).
ah ok, I thought it would prume all messages not x day ols msgs
Tnx
Reply With Quote
  #22  
Old 03 Jul 2008, 20:24
coffeefix coffeefix is offline
 
Join Date: May 2005
Very nice - I suppose you can disable the automatic cron job via AdminCP and only run whenever you want to manually delete all PMs?
This is what I did. Works great. Nice product. installed
Reply With Quote
  #23  
Old 04 Jul 2008, 12:11
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Real name: Jacquii Cooke
Originally Posted by coffeefix View Post
This is what I did. Works great. Nice product. installed
Thanx

Jacquii.
Reply With Quote
  #24  
Old 06 Jul 2008, 08:39
alqosman.net alqosman.net is offline
 
Join Date: Jun 2008
Thanks for the good job.

It has been installed.

Q: Putting ZERO days at "Prune PMs X days" field of the usergroup settings, Does it disable the mod for a usergroup.


Thanks
Reply With Quote
  #25  
Old 07 Aug 2008, 11:40
Omranic's Avatar
Omranic Omranic is offline
 
Join Date: Jan 2005
Location: Egypt
Real name: Abdelrahman Omran
Originally Posted by PoetJA-1975 View Post
Very nice - I suppose you can disable the automatic cron job via AdminCP and only run whenever you want to manually delete all PMs?

Nice hack though - I requested something like this a while ago - nice to see such a feature - should be good.

Thanx for sharing.

Jacquii.

ps - Install reserved for board upgrade.
Originally Posted by alehawk View Post
ah ok, I thought it would prume all messages not x day ols msgs
Tnx
Originally Posted by coffeefix View Post
This is what I did. Works great. Nice product. installed
Originally Posted by PoetJA-1975 View Post
Thanx

Jacquii.
Originally Posted by alqosman.net View Post
Thanks for the good job.

It has been installed.

Q: Putting ZERO days at "Prune PMs X days" field of the usergroup settings, Does it disable the mod for a usergroup.


Thanks
You are welcome
Yes, putting "0" days at the "Prune PMs X days" field of the usergroup permissions should disable the mod for this usergroup.
__________________
Me & My Productions: Omranic | vBulletin.org | Github | Premium PHP & vBulletin Solutions!
----------------------------------------------------------------------------
Keep Moving Forward!
Reply With Quote
  #26  
Old 13 Aug 2008, 08:01
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
great idea!
** install **
Reply With Quote
  #27  
Old 17 Aug 2008, 00:20
Omranic's Avatar
Omranic Omranic is offline
 
Join Date: Jan 2005
Location: Egypt
Real name: Abdelrahman Omran
Originally Posted by Artes_Marciales View Post
great idea!
** install **
You are welcome .
__________________
Me & My Productions: Omranic | vBulletin.org | Github | Premium PHP & vBulletin Solutions!
----------------------------------------------------------------------------
Keep Moving Forward!
Reply With Quote
  #28  
Old 25 Aug 2008, 06:49
Chachacha's Avatar
Chachacha Chachacha is offline
 
Join Date: Jul 2006
Just so other 3.6.4 users will know not to waste their time, this mod is not compatible with your version of vbulletin.
Reply With Quote
  #29  
Old 02 Sep 2008, 12:17
BarelyHangingOn BarelyHangingOn is offline
 
Join Date: Feb 2003
Originally Posted by Chachacha View Post
Just so other 3.6.4 users will know not to waste their time, this mod is not compatible with your version of vbulletin.

Thats sucks, I really need to flush the pm system on my board.
Reply With Quote
  #30  
Old 07 Oct 2008, 01:02
qtify.com's Avatar
qtify.com qtify.com is offline
 
Join Date: Aug 2008
Location: K.S.A ER Qtif
Real name: 3li AlQtify
Works great for me , Installed
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 10:35.

Layout Options | Width: Wide Color: