News:

Wondering if this will always be free?  See why free is better.

Main Menu

Mark Personal Messages as Read

Started by SleePy, October 31, 2008, 10:23:14 AM

Previous topic - Next topic

SleePy

Link to Mod

This customization will add a new button to the Personal Messages page that allows you to mark all personal messages as read. As well it can be useful for resetting a incorrect unread personal message count.

This customization does make a theme edit to PersonalMessage.template.php, although it should operate with most custom themes without the need for changes.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

edi67

CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

MaXiForum.cz

SMF 1.1.6 is not? :(
Screen pls...
Looking good :)

SleePy

It will work not with 1.1.6, But if you are using 1.1.6, then you really need to upgrade as you are behind in 2 security releases.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

willerby

Thanks Sleepy... I was getting a little miffed with the New Message count being wrong. There are only so many times you can recount forum statistics...
What type of washing machine is September?

An autumnatic. :)

luismanson

QuoteAs well it can be useful for resetting a incorrect unread personal message count.

any ideas why is this happening?

SleePy

It can happen for a number of reasons actually.  Including even admins trying to delete mass pm spam.  Sometimes conversation view does make mistakes with pms.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

luismanson

Hi Sleepy, thanks for this mod, i found to things, the last time i used it it did not work, but today i saw something weird...
my action url has an space:
?sa= markread i looked inside the source and i found
'custom_url' => $scripturl . '?action=pm;sa= markread' in PersonalMessage.php changes. After removing the space it solved my unread PMs bug!!! :D

also your file is a tar.gz which i can not install i had to extract the file and zip its content :(

BTW there is a xslt directory inside for some reason....




SleePy

Thank you for that bug fix :)  I have updated my sources and it will be fixed in the next update to this mod.

As for the tar.gz, I thought I had fixed all packages.  I had a packaging issue last time I updated my mods and it caused them to not package correctly.

The xslt directory is for manual installation of the mod.  You should be able to drop the the .xml files into your browser and get a GUI for manually installing the mod.  Although last I was told this was flaky on windows.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

luismanson

BTW, spanish_latin

// Mark PMs as read
$txt['mark_all_pms'] = 'Marcar todos como leídos';
$txt['pms_marked_read'] = 'Todos los Mensajes Personales fueron marcados como leídos.';

Bugo


SleePy

I can't really screenshot anything.  It simply adds a button in your PM navigation list that allows you to mark all messages read.  I could screen shot the button I guess :P
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

henrik1782

#12
Hi...

Thanks for the mod..

Here is the danish tranlation


<file name="$languagedir/Modifications.danish.php">
<operation>
<search position="end" />
<add><![CDATA[// Mark PMs as read
$txt['mark_all_pms'] = 'Marker alle som læst';
$txt['pms_marked_read'] = 'Alle personlige beskedder blev markeret som læst.';
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.danish-utf8.php">
<operation>
<search position="end" />
<add><![CDATA[// Mark PMs as read
$txt['mark_all_pms'] = 'Marker alle som læst';
$txt['pms_marked_read'] = 'Alle personlige beskedder blev markeret som læst.';
]]></add>
</operation>
</file>


Best regards
Henrik Poulsen
My favorite mods: Forum Firewall, httBL, MessagePreviewOnHover, BoardHover Mod, VB Style Board Index, Separate Replies and Views Column, Realtime clock by Joker, ENotify, Topic Solved.

SleePy

Thank you, I have committed this to my sources and it will be in the next release.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

GlitchPC

Status on this mod?

Does this mod conflict with this one:  PM Readed

SleePy

GlitchPC,
If you check the mod site, you will see it is supporting SMF 2.0 - 2.0.2, which is the current stable release.  It will support any version of SMF 2.0.x unless a drastic change is made in the code that breaks the ability for this mod to edit the correct sections of code.

I have no information if that other modification conflicts.  You would get a error while attempting to install it though if this mod is installed and there is a conflict.  The same can go for any other mod.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

GlitchPC

SleePy...

Thanks...installed.  No installation errors...and no issues, as of yet.

Advertisement: