Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Prune PMs older than 30 days Details »»
Prune PMs older than 30 days
Mod Version: 1.00, by GenSec (Coder) GenSec is offline
Developer Last Online: Jun 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.3 Rating: (3 votes - 3.67 average) Installs: 20
Released: 14 Oct 2004 Last Update: Never Downloads: 11
Not Supported  

These hack adds a cron job to prune old PMs for vBulletin 3.

======================
Upload the attached .php file
======================

includes/cron directory
cleanoldpm.php

========================
Make a vB-Cron entry
========================

Go to admin controlpanel

1) Scheduled Tasks
2) Add New Scheduled Task with the following data

Titel: Prune PMs older 30 days
weekday: *
day of month: *
hour: 0
minute: 0
enable log: no
filename: ./includes/cron/cleanoldpm.php



Thats all.

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.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Prune PMs older than x days GenSec vBulletin 2.x Full Releases 6 15 Nov 2003 15:10
Date blinks to get attention if viewed message is older than X days Logician vBulletin 2.x Full Releases 11 07 Feb 2003 09:53

  #16  
Old 13 Dec 2004, 09:37
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
fix

Please let us know. I would like to install this as well.
Reply With Quote
  #17  
Old 14 Dec 2004, 00:20
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Real name: Jason
Great work!! Thanks!!
Reply With Quote
  #18  
Old 21 Dec 2004, 12:12
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Originally Posted by T3MEDIA
Please let us know. I would like to install this as well.
::bump:: polite.
__________________
http://www.t3media.com (Ideas at the speed of thought.)
http://www.sprnch.com social networking!
http://hunterex.com (cellphones super cheap!)
Reply With Quote
  #19  
Old 22 Dec 2004, 18:13
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Real name: Jason
Originally Posted by T3MEDIA
::bump:: polite.
Any have any idea how to change it from 30 days? I want them pruned after 180 days for example.

thanks again,

-Jason
Reply With Quote
  #20  
Old 23 Dec 2004, 06:24
GenSec GenSec is offline
 
Join Date: Oct 2001
Originally Posted by trackpads
Any have any idea how to change it from 30 days? I want them pruned after 180 days for example.

thanks again,

-Jason
In cleanoldpm.php change

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #21  
Old 23 Dec 2004, 13:30
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
hummm. ok.
__________________
http://www.t3media.com (Ideas at the speed of thought.)
http://www.sprnch.com social networking!
http://hunterex.com (cellphones super cheap!)
Reply With Quote
  #22  
Old 23 Dec 2004, 13:39
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Why this does not keep a log? I see G. was here but doesnt reply. I was intrested in this whole heartly.

No thanks.

Happy holidays.
__________________
http://www.t3media.com (Ideas at the speed of thought.)
http://www.sprnch.com social networking!
http://hunterex.com (cellphones super cheap!)
Reply With Quote
  #23  
Old 23 Dec 2004, 14:48
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Real name: Jason
Originally Posted by GenSec
In cleanoldpm.php change

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
THANKS!
Reply With Quote
  #24  
Old 23 Dec 2004, 15:53
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
have the problems for this hack been fixed ?
Would be a great addition ( in fact should come standard in vb )
Reply With Quote
  #25  
Old 11 Jan 2005, 06:01
Vman Vman is offline
 
Join Date: Apr 2004
I have installed this a few months ago...And I have yet to see the cron job do its job! yet I get no errors on this...Why...

i.e.:
I have had 157 PM's and I still have 157 PM's after a month and 1/2...the cron did not work...
Reply With Quote
  #26  
Old 15 Jan 2005, 07:03
Vman Vman is offline
 
Join Date: Apr 2004
OK, Is there a way to change the 30 days to 15 days and how?
Reply With Quote
  #27  
Old 15 Jan 2005, 16:14
MrD's Avatar
MrD MrD is offline
 
Join Date: Aug 2003
Real name: Marcus
Hi,
Originally Posted by BBCVman
OK, Is there a way to change the 30 days to 15 days and how?
http://www.vbulletin.org/forum/showp...4&postcount=20

in this post, the User change the Time to 180 days

U must be change the timenow variable to your time
__________________
Greetz from Dortmund/Germany
Marcus
Reply With Quote
  #28  
Old 15 Jan 2005, 18:13
Vman Vman is offline
 
Join Date: Apr 2004
Thank You!!!!
Reply With Quote
  #29  
Old 07 Feb 2005, 16:30
+Fares+ +Fares+ is offline
 
Join Date: Nov 2002
Originally Posted by alkahf
Hello GenSec
Before install hack
Private Messages: 2 Unread, Total 280.
After installed hack:
The same numbers: Private Messages: 2 Unread, Total 280.
But I have now only 5 PMs.
How fix it ?

akahf
Before install hack
Private Messages: 0 Unread, Total 916.
After installed hack:
The same numbers: Private Messages: 0 Unread, Total 916.
But I have now only 573 PMs.
How fix it ?
Reply With Quote
  #30  
Old 18 Feb 2005, 15:25
MAK-upl MAK-upl is offline
 
Join Date: Feb 2005
306 - clicks install
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 03:41.

Layout Options | Width: Wide Color: