By Paul on Thursday, 02 November 2017
Posted in General Issues
Replies 7
Likes 0
Views 541
Votes 0
I imported from Kunena a large forum. So now members have thousands of unread posts/replies. Aside from that I don't see a "Mark as Read" feature for users. Am I missing this? This is a pretty standard forum feature that users expect and now that I've migrated users are complaining that they cannot distinguish new threads and existing threads with new replies.

What users want is the ability to come to a forum now, read what they want then come back later and have a quick way to distinguish only what is unread and what is new since their last visit.

How would I implement lists of thread such as using the Most Recent or Category page, where a "New" label was next to each thread?
You can mark all unread post as read from frontend user edit profile page then click on Others filter, you can refer on my attached screenshot below.

How would I implement lists of thread such as using the Most Recent or Category page, where a "New" label was next to each thread?

By default, it will only show bold for the thread title if the user haven't read that thread yet, you can check my second attached screenshot.

If you would like to implement to show "NEW" label, you can try modify these 2 files.

JoomlaFolder/components/com_easydiscuss/themes/wireframe/posts/item.php (recent page)
JoomlaFolder/components/com_easydiscuss/themes/wireframe/forums/item.php (forum page)

We already have a method to determine whether this thread user read yet.


$post->getHeaderClass();
·
Thursday, 02 November 2017 11:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Arlex, thank you for the reply and I am very happy to hear that these things are available. I will try setting up the "New" label but the first part, won't work for me because I am using the EasySocial profile with EasyDiscuss. When a user goes to edit their profile, they get the EasySocial profile which doesn't include the items in your screenshot.
·
Thursday, 02 November 2017 11:19
·
0 Likes
·
0 Votes
·
0 Comments
·

By default, it will only show bold for the thread title if the user haven't read that thread yet, you can check my second attached screenshot.

Also @arlex The thread title does not return to bold when new replies are added. This is the problem. Users want to know when there is a new reply not just a new thread.
·
Thursday, 02 November 2017 13:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Arlex, thank you for the reply and I am very happy to hear that these things are available. I will try setting up the "New" label but the first part, won't work for me because I am using the EasySocial profile with EasyDiscuss. When a user goes to edit their profile, they get the EasySocial profile which doesn't include the items in your screenshot.

If you really want to mark all the existing user read all the migrated old post now, you can try download my attached file and replace into JoomlaFolder/components/com_easydiscuss/easydiscuss.php then run this URL on your site :
[gist type="php"]
http://site.com/index.php?option=com_easydiscuss&markasread=1
[/gist]
Before you replace the file, you have to backup the original file first because that is just only allow you manually run the php script to update those unread data to read.
And make sure you have backup first before run anything here.

Also @arlex The thread title does not return to bold when new replies are added. This is the problem. Users want to know when there is a new reply not just a new thread.

Hm, unfortunately currently that method only determine for the unread post, that is not possible to determine which reply haven't read yet from the current logged in user.
·
Thursday, 02 November 2017 22:43
·
0 Likes
·
0 Votes
·
0 Comments
·

Hm, unfortunately currently that method only determine for the unread post, that is not possible to determine which reply haven't read yet from the current logged in user.


Are you distinguishing between a consistently logged in user (i.e. session) vs a new login? In other words, that once the user logs out then logs back in, this would change to indicate new replies?

It seems there is some parameter being passed for replies because the notifications indicate when a reply is posted. How could we pass that same parameter in the various thread displays?
·
Thursday, 02 November 2017 23:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Are you distinguishing between a consistently logged in user (i.e. session) vs a new login? In other words, that once the user logs out then logs back in, this would change to indicate new replies?

First i thought you would like to mark all unread post to read for all the existing user? Because based on what you told me in previous reply, when you migrate all the post from Kunena to Easydiscuss, all the existing user getting a lots of unread old post, am i right regarding this part?

If yes, basically what i did for you that PHP script is allow you to update all the existing user for those unread post mark it as read. But you need to manually run this URL on the browser.

http://site.com/index.php?option=com_easydiscuss&markasread=1


So all the existing user unread post will start from 0 post.

Because currently we do not have a setting to allow user able to perform this in Easysocial user profile page, but I will report this to our developer and see whether we can do something about this in the future.

It seems there is some parameter being passed for replies because the notifications indicate when a reply is posted. How could we pass that same parameter in the various thread displays?

What i can share with you is how the default system notification work when someone reply on one of the thread.

When the user reply on other user thread, it will go through these php files
JoomlaFolder/components/com_easydiscuss/views/post/view.ajax.php (reply method)
JoomlaFolder/administrator/components/com_easydiscuss/includes/post/post.php (save method > replyNotify method)

1. system need to check which user should be send out email notification to them
2. once system get all the users which notification suppose to send, it will store in this table #__discuss_notifications
3. this system notification will appear on their user account.
·
Friday, 03 November 2017 16:09
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post