annoying

Author Topic: [A] Archive Old PMs v1.0  (Read 40 times)

dougiefresh

  • Adminstrator
  • Expert Member
  • *****
  • Posts: 252
[A] Archive Old PMs v1.0
« on: Dec 07, 2017, 11:05:38 AM »

MOVE OLD PMS TO END v1.0
By Dougiefresh -> Link to Mod


Introduction
This mod moves PMs that are over a user-specified number of days to the bottom of the PM list.  It also attaches an "archived" image to the PM subject, making it easy to identify which PMs have been archived.

The number of days is set on a per-member basis and is initially set to 0.  Changing this value lower than it's current value does not unarchive messages already marked as archived.

Profile Settings
There is a new setting in My Messages => Preferences => Change Settings:
o Enable archiving personal messages?
o Archive personal messages older than [x] days

Compatibility Notes
This mod was tested on SMF 2.0.15 using a MySQL database, but should work on SMF 2.0 and up.  SMF 1.x is not and will not be supported.  Postgres databases have not been tested.

Related Discussion
o PM Archiving?

Changelog
The changelog has been removed and can be seen at XPtsp.com.

License
Quote
Copyright (c) 2017, Douglas Orend
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

dougiefresh

  • Adminstrator
  • Expert Member
  • *****
  • Posts: 252
Re: [A] Archive Old PMs v1.0
« Reply #1 on: Dec 07, 2017, 11:06:28 AM »

Download Mod


FileName: Archive_Old_PMs_v1.0.zip
Size: 6 kb (6,362 bytes)
MD5: ce12ded1249a968c0eb56aa840e62262
Built: Dec 07, 2017, 11:10:01 AM
Downloaded 7 times

Changelog

Uploaded v1.0 - November 7th, 2017
o Initial release to the public