Advertisement:

Author Topic: Edit Unread PMs  (Read 935 times)

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,248
    • XPtsp.com Community
Edit Unread PMs
« on: March 12, 2017, 06:46:19 AM »
Link to Mod


EDIT UNREAD PMs v1.3
By Dougiefresh -> Link to Mod


Introduction
This mod allows permitted membergroups to edit and unsend personal messages, as long as nobody has read them.

This mod has been tested with the PM Attachments mod, and does support adding and removing PM attachments while editing the PM.

Admin Settings
In Admin => Members => Permissions, there are two new permissions:
o Can Edit Unread PMs
o Can Unsend Unread PMs

Legacy Disclaimer
This mod was part of the now-discontinued Enhanced PM System.  It is been seperated from it and built into a newer, hopefully better mod...

This updated mod makes additional checks to make sure nobody has read the PM before you are allowed to edit or unsend it.

Compatibility Notes
This mod was tested on SMF 2.0.13, but should work on SMF 2.1 Beta 3, as well as SMF 2.0 and up.  SMF 1.x is not and will not be supported.

Related Discussions
o Outbox with editable PMs
o Unsend PM
o Private Message Email Notification

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

License
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.
NOTICE:  My website is back up!

My Free Simple Machines mods on XPtsp.com and Simple Machines Customization Site!
My mods are being uploaded and are available at GitHub as well!

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,248
    • XPtsp.com Community
Re: Edit Unread PMs
« Reply #1 on: March 13, 2017, 01:44:54 PM »
Uploaded v1.1 - March 13th, 2017
o Added support for SMF 2.1 Beta 2.
NOTICE:  My website is back up!

My Free Simple Machines mods on XPtsp.com and Simple Machines Customization Site!
My mods are being uploaded and are available at GitHub as well!

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,248
    • XPtsp.com Community
Re: Edit Unread PMs
« Reply #2 on: March 28, 2017, 09:53:33 PM »
Uploaded v1.2 - March 28th, 2017
o Added support for the core theme in SMF 2.0.x.
o Fixed install errors by changing file extension on language_english_20x.txt to .xml.


Edit Unread also chokes when attempting to install after Search (I haven't seen whether it installs with Separate). It also gives me a "Modification parse error" when testing whether it can modify the language_english_20x.xml file.

Also, all of them pretty universally report a multitude of errors with the Core theme's template file.
This should resolve these bug reports concerning this mod.  Thank you for reporting them!
« Last Edit: March 28, 2017, 10:21:31 PM by dougiefresh »
NOTICE:  My website is back up!

My Free Simple Machines mods on XPtsp.com and Simple Machines Customization Site!
My mods are being uploaded and are available at GitHub as well!

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,248
    • XPtsp.com Community
Re: Edit Unread PMs
« Reply #3 on: July 05, 2017, 10:28:42 PM »
Uploaded v1.3 - July 5th, 2017
o Added support for SMF 2.1 Beta 3.
o Removed support for SMF 2.1 Beta 2.
NOTICE:  My website is back up!

My Free Simple Machines mods on XPtsp.com and Simple Machines Customization Site!
My mods are being uploaded and are available at GitHub as well!