Re: Private Messages

Posted by BigKev On 2023/3/15 9:22:28
I made a couple more adjustments.

The PM system should now show the Display Name instead of the Username. Both in the list of messages and in the username drop-down when creating a new message. Also, I fixed the sort so it is insensitive alpha sort. Before, it was case-sensitive. So that leads to an odd sort.

Also, I found the bug where some people were seeing that they have unread items, but when they go to the Inbox there is nothing new.

This is caused by the fact a message was deleted without actually reading it. Messages are not deleted until a purge is run. They just get marked in the database with a delete flag. The issue is that even though they were set to delete, they were also set as unread. Now, when a msg is being set to delete, the read flag is also set. So this should solve the issue. Also,

I ran a purge to remove all the old deleted messages permanently. Nearly 5000 of them.

All of these bugs were added at some point when the last system update was done. Rather than wait for those to be corrected, I just fixed them myself.

If you see anywhere else on the website where it is displaying the UserName vs the Display Name, please let me know.

This Post was from: https://packardinfo.com/xoops/html/modules/newbb/viewtopic.php?post_id=254948