Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=533)
Automatically Remove Inbox Label
Author: SMF Customization Team (http://www.simplemachines.org/community/index.php?action=profile;u=1) |
Supported Languages: English |
Link To Mod (http://custom.simplemachines.org/mods/index.php?mod=533) | Mod Discussion (http://www.simplemachines.org/community/index.php?topic=125739.0) | Other SMF Customization Team Mods (http://custom.simplemachines.org/mods/index.php?action=profile;u=1) |
Summary:This mod will add an option in the personal message options section of everyone's profile to automatically remove the inbox label when adding a different label to a personal message.
Without this mod if you add a label to a PM it adds the label, but the message still shows in your inbox. With this mod enabled (you check the option that the mod adds), the message won't show in the inbox when you apply a label to it.
Compatibility:Compatible with SMF 1.1, standard feature in SMF 2.0
Installation Information:The Package Manager should work in most cases, if you have problems installing please use the discussion thread as well as Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402)
LicenseCopyright (c) 2015, Simple Machines
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* 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.
* Neither the name of the <organization> nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
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 <COPYRIGHT HOLDER> 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.
Change Log:Version 1.1 - March 23, 2016
- BSD License
Version 1.0 - August 11, 2006
- Initial release
I've been meaning to do this mod for ages.
Great work, installed fine, worked fine, thanks :)
i have begun loving this SMF Customization Team user... thanx...
Ermm ... I don't really understand the description. Anyone with screenie ? :'(
Yeah me too... Scrn please
You mean of the option? It's the only visible change.
But what exactly does it do.. the details aren't that obvious lol
when u do the options in your profile, with this mod it wont show them options on your personal message page.
mod is to clean the page up, as the options u tick to enable / disable would assume you allways use those options
Right now if you add a label to a PM it adds the label, but the message will still show in your inbox. If you check the option that this mod adds, the message won't show in the inbox when you apply a label to it.
intresting
so basically it will sort your inbox by labels
This hasn't worked for me since upgrading to 1.1.2. Is the mod going to be updated?
On 1.1.3 works :)
It works on 1.1.4 too! - very good!
8: Undefined index: name
File: /home/xxxxxxxxx/public_html/forum/Themes/default/PersonalMessage.template.php
Line: 457
8: Undefined index: id
File: /home/xxxxxxxxx/public_html/forum/Themes/default/PersonalMessage.template.php
Line: 455
8: Undefined index: id
File: /home/xxxxxxx/public_html/forum/Themes/default/PersonalMessage.template.php
Line: 457
Here are the lines of code(line 448 - 459):
// Are there any labels which can be added to this?
if (!$message['fully_labeled'])
{
echo '
<option value="" disabled="disabled">', $txt['pm_msg_label_apply'], ':</option>';
foreach ($context['labels'] as $label)
{
if (!isset($message['labels'][$label['id']]))
echo '
<option value="', $label['id'], '"> ', $label['name'], '</option>';
}
}
BUMPPPPPPPP!
Its floods my error log with like 10 pages of errors everytime someone labels a PM. Its been 2 months now....any chance of getting a reply please?
bump - up to three months of waiting.....
Not sure if this is what you're after littleone, but this might help:
http://www.simplemachines.org/community/index.php?topic=295253.msg1948604#msg1948604
SMF 2.0.RC2 için ne zaman günelleyeceksiniz acaba?
Sorry for the delay on this.
SMF 2.0 RC2 and SMF 2.0 RC3 have this feature by default, so this mod will never be updated for them.
The mod should still work on all 1.1.x versions, since 1.1 RC3 to 1.1.11. It was tested. However, please do tell if there are still problems for you with it.