By Ningning Niumai on Wednesday, 28 January 2015
Posted in General Issues
Replies 18
Likes 0
Views 1K
Votes 0
1. Go to Components\EasyDiscuss\Categories\
2. Click on any category available. in this case, "Uncategorized"
3. Click on the tab, "Permission" and look at "Who can view replies in this category"

I only want show all reply of current user login (author's reply), Please let me know, how ?

Thanks.
Hi Ningning,

I am sorry for the late reply.
If I understand you correctly, you want to display only the replies from the current user login? I believe there is no settings available in the current system. However, you can hack the code to achieve this. Here I have attached to you a file, please download it and put it here:
.../components/com_easydiscuss/models/posts.php

By the way, this settings here http://screencast.com/t/BhFKwE82v , are for restricting specific user group or user to view replies.

If you have anymore questions, please do not hesitate to ask us here.
·
Wednesday, 28 January 2015 12:59
·
0 Likes
·
0 Votes
·
0 Comments
·
hey thanks.

Will download and let you know on the update
·
Wednesday, 28 January 2015 19:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Please keep us updated.
·
Wednesday, 28 January 2015 19:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi again,

Did you make changes to the posts.php file you uploaded here to work the way i requested?

Wondering since i don't see any code changes that'll make the owner see his/her own replies!! or are you asking me to edit the posts.php?

Please confirm. Was busy and couldn't check on the file earlier thinking you made the changes.

Thank You
·
Wednesday, 11 February 2015 05:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ningning,

I am sorry for the late reply.
In the attached file, I have made some customization at line 820 and 1104. This customization will only shows replies from the current login user. This is my screenshot before I added the file: http://screencast.com/t/c4iDeYFaY and this is after added the file: http://screencast.com/t/LMztWl69 . May I know is this what you're trying to achieve here or am I missing something here?

Please advise.
·
Wednesday, 11 February 2015 12:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, that's what i wanted.

Will talk to my developer right away. Don't know why he said what he said!!

Thank you
·
Wednesday, 11 February 2015 14:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ningning,

Please do update us back.
·
Wednesday, 11 February 2015 19:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

I had made certain changes to com_easydiscuss\themes\simplistic\post.php as suggested here: http://stackideas.com/forums/regarding-assigned-moderators-to-see-replies

The changes in your post.php nullifies it

I actually wanted to show the replies to self, assigned moderator and administrators.

Could you kindly give me a few pointers here? i'm stuck.
·
Friday, 13 February 2015 01:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Instead of your changes in posts.php as suggested by you, i tried this code in com_easydiscuss\themes\simplistic\post.php since i needed to show to administrator, assigned moderators too.

<?php if (($category->canViewReplies() && $post->assignment->assignee_id == $my->id) || DiscussHelper::isMine() || DiscussHelper::isSiteAdmin()){ ?>

And also,
<?php if (($category->canViewReplies() && $post->assignment->assignee_id == $my->id) || DiscussHelper::Mine() || DiscussHelper::isSiteAdmin()){ ?>


but both didn't work out. I wish there's a documentation to help with the codes. I feel guilty taking much of your time with such little changes.

PS: That topic is locked and i couldn't reply there anymore
·
Friday, 13 February 2015 02:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ningning,

Let me conclude your requirement here. Correct me if I'm wrong.

Let say you have these users; Steven, John, Admin, Moderator. When John reply to Question A, Steven can't view John's reply. Only John, Admin and Moderator can view it.
·
Friday, 13 February 2015 16:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, that's exactly it.

Currently, only the Admins and Assigned Moderator can view it.
·
Friday, 13 February 2015 16:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I'm sorry, can you provide us your backend and FTP so we can directly modify it in your site?
·
Friday, 13 February 2015 17:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Should i send the information here? Is it secured or should i create a separate ticket?

PS: it includes a .pem file

Also, is there a way you could send me an instruction instead? Please
·
Friday, 13 February 2015 20:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ningning,

What you are trying to achieve here is not possible out of the box with EasyDiscuss and I am afraid we might not be able to assist you with this.
·
Saturday, 14 February 2015 13:40
·
0 Likes
·
0 Votes
·
0 Comments
·
what?!

i thought NIK FARIS is gonna help out. It is already working, just not together!!

it won't take a few minutes.
·
Saturday, 14 February 2015 19:33
·
0 Likes
·
0 Votes
·
0 Comments
·
I am really sorry but it actually requires more work than just a "simple coding" and I am afraid we might not be able to assist you with this.
·
Saturday, 14 February 2015 23:15
·
0 Likes
·
0 Votes
·
0 Comments
·
i had already told my team it's getting done by the weekend

Thanks for your time anyways.
·
Sunday, 15 February 2015 02:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ningning,

I'm sorry to hear that. But after I consulted with the developers, it is not possible at the moment.
·
Sunday, 15 February 2015 11:17
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post