Jump to content

Community

Mike John

Expire PM Attachments (Support)

Recommended Posts

Removes old PM attachments with the ability to send a warning PM X days before removal.

Features v1:

  • Set how many days after sending before attachments are removed.
  • Set how many days before removal will a PM warning be sent.
  • Restrict the removal to attachments above a specific file size.
  • Exclude selected groups from having their attachments removed.
  • Send an optional warning PM before removal detailing attachment details and removal date.

 

 

Share this post


Link to post
Share on other sites
On 3/24/2019 at 12:25 AM, Joel R said:

I'm getting a locked task on 4.4.2

It looks like it's missing the actual days when adding time. Can you confirm you've changed or saved any of the settings? In particular the "Warning time frame" or "Removal time frame".

Share this post


Link to post
Share on other sites

Error from the log: DateInterval::__construct(): Unknown or bad format (PD)

I see what's wrong.  Removal time frame, Warning time frame, and Size Trigger are all 0 in my settings.  Which is weird because I thought I changed those settings upon installation. 

1333303325_ExpirePM.thumb.JPG.4ccf578bf5f4995082fb03be8e89d095.JPG

Share this post


Link to post
Share on other sites

Hi @Mike John  saw this in the system log

DateInterval::__construct(): Unknown or bad format (PD)

#0 /home/nginx/domains/mycommunity.com/public/plugins/expirepmattachments/tasks/expireAttachments.php(60): DateInterval->__construct('PD')
#1 /home/nginx/domains/mycommunity.com/public/system/Task/Task.php(255): IPS\pluginTasks\_expireAttachments->execute()
#2 /home/nginx/domains/mycommunity.com/public/system/Task/Task.php(224): IPS\_Task->run()
#3 /home/nginx/domains/mycommunity.com/public/applications/core/interface/task/task.php(62): IPS\_Task->runAndLog()
#4 {main}

 

Share this post


Link to post
Share on other sites
On 5/20/2019 at 1:34 AM, Joel R said:

I see what's wrong.  Removal time frame, Warning time frame, and Size Trigger are all 0 in my settings.  Which is weird because I thought I changed those settings upon installation. 

Did the settings "stick" after you set them again?

On 5/27/2019 at 11:01 PM, Joel R said:

  saw this in the system log

Do you have ftp access to your files? I actually had a similar issue with the birthday greeter some time ago. I've got a test patch you can try until the next version is released.

Share this post


Link to post
Share on other sites
On 6/10/2019 at 11:08 PM, Mike John said:

Did the settings "stick" after you set them again?

Do you have ftp access to your files? I actually had a similar issue with the birthday greeter some time ago. I've got a test patch you can try until the next version is released.

Hi @Mike John

I continue to have errors on the plugin.  I believe the settings do not save.  

 

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...