Forum Replies Created

Viewing 15 replies - 1 through 15 (of 27 total)
  • Thread Starter NicCrockett

    (@niccrockett)

    Hi Marcel,

    It’s a simple and eloquent solution. You’ve done an amazing job. I know this discussion has bounced around a lot and I appreciate your patience and hard work. Thanks again for all your help and best of luck with the future of the plugin!

    Thread Starter NicCrockett

    (@niccrockett)

    If adding a column with a flag for child comments is possible that sounds great. I think adding that to every comment with child comments, flagged or not, would be a great feature. A way for moderators to easily see which comments create conversations. This could not only help moderate the haters but give insight into a post’s popular comments that an author could address.

    You’re right about the rabbit hole being very deep when it comes to reparenting comments. You should probably leave it as is. If I really need to reparent a comment I can probably manually edit the database table myself.

    You’ve already done a lot, so if this is too much, I completely understand. Thanks for all you’ve done!

    Note to Readers: For anyone reading this later. Don’t manually edit the database unless you know what you’re doing.

    • This reply was modified 1 year, 1 month ago by NicCrockett.
    Thread Starter NicCrockett

    (@niccrockett)

    Thanks for your replies! You raise some good points that I hadn’t considered. I’ll try to address each of your replies below.

    Reply 1:
    I figured comment count was part of WP, but wasn’t sure, thanks for clarifying. I wouldn’t suggest setting the reply to a moderated comment as moderated too. This could possibly auto moderate a hateful comment.

    Reply 2:
    Step 6 is still showing the “already_flagged_note”. I’m okay with is, but you mentioned that it should show “already_moderated”. I’m not sure which “already_moderated” you’re referencing here?

    I didn’t have either of the “already_moderated” code blocks which was part of my problem for steps 8 and 10. For both these steps I’m still seeing the “Report” link, but when I click the link, I receive the “already_moderated_message” now that I’ve added that code block.

    This does raise one question, what is the “already_moderated_note” code block used for? Is this what should have appeared in step 6?

    Reply 3:
    This is now part of what I said about reply 2. You said you weren’t logged in as the 3 users, I was during my testing.

    Reply 4:
    I understand your thought process and I’ll attempt to think through it with you.

    Is there a way for an admin to see a comment thread? I don’t see a way currently, even on the post’s page. Once someone reports a comment, that comment and its child comments are only viewable to the commenter of the reported comment. Even an admin can’t see these on the post’s page. I bring this up because if the reported comment and its child comments are separated by days, months, or years it would be difficult for an admin to determine if they should also allow the child comments. So, unless you know of a way for an admin to see the child comments easily, your current method might be the best method that doesn’t cause a lot of work for the moderator. This method does create abandoned records in the database. This again raises the issue of admins not being able to see the child comments.

    Trashing both the reported comment and its child comments would help with the issue of admins not being able to easily see the child comments. This method also has the benefit of keeping the database clean of abandoned records. However, I could see some admins not wanting to trash the child comments that they can’t also review. Maybe if there was a way to see the child comments this would be a good solution.

    Trashing the reported comment and re-parenting the child comments might be the safest way if you change it. However, can you program this, taking into account an admin might restore the reported comment? Restoring it would mean that the original structure would need to be restored too.

    I hope my crazed thoughts help you. ?? Again, thanks for all your help!

    Thread Starter NicCrockett

    (@niccrockett)

    Sorry for the delay, I’ve been working on something else. I’ve come across a few things and to simplify I’ve created screenshots and descriptions to help you recreate what I’m seeing. I understand it’s the holidays, so don’t feel you need to reply quickly. Thanks again for all your help!

    Environment:
    WordPress version 6.4.2
    Theme: Neve version 3.7.4
    Zeno Report Comments version 2.0.4
    Threshold: 0 (previously I had this set to 3)
    Comment Threading: My theme does use threading.
    Language: English

    Testing Users and Browsers:
    Admin: Firefox
    User 1: Chrome
    User 2: Edge
    User 3: Opera

    Step 1: User 1 reports User 2’s comment and receives the “Thanks” message. This works correctly.
    Step 2: User 2 views post and their comment says, “Comment awaiting moderation.”. The total number of comments has changed from 4 to 3 even though the total shown is still 4. I’m guessing this is working as intended.
    Step 3: User 3 views post and both User 2 and their own comments are hidden. Comment total shows 3 even though only 2 are showing. Should User 3’s comment be hidden since it wasn’t reported?
    Step 4: Admin also doesn’t see User 2 and User 3’s comments. Comment total shows 3 even though only 2 are showing. Should the Admin see these comments?
    Step 5: User 1 refreshes post and can no longer see User 2 or User 3’s comments. Comment total shows 3 even though only 2 are showing. Should User 3’s comment be hidden since it wasn’t reported?
    Step 6: Admin approved comment and User 1 refreshed the post. User 1 can see that it’s now moderated. I used the code you supplied and changed the text slightly to display that it was indeed modified. However, this doesn’t display in later steps. Comment total is now showing 4 correctly. Here’s the code for reference.

    function my_zeno_report_comments_already_flagged_note( $text ) {
    return 'This Comment is already moderated - Modified';
    }

    Step 7: User 2 refreshes the post after Admin moderated the post and everything looks correct.
    Step 8: User 3 refreshes the post after Admin moderated the post and “Report” link is displayed instead of moderated text that User 1 saw. This could be correct if based on user logged in and who reported the comment.
    Step 9: After User 3 refreshes the post, they can click the “Report” link. When clicked, User 3 receives the already moderated text. However, it’s not the text User 1 received that I modified via the code supplied.
    Step 10: When the Admin refreshes the post after they moderate it the “Report” link still appears. Should the link appear for anyone if an Admin has already moderated it?
    Step 11: If the Admin then clicks the “Report” link they receive the already moderated text. However, it’s not the text User 1 received that I modified via the code supplied.

    Additional Notes:
    If I trash the comment (i.e. don’t approve it) it disappears from the post, as it should. However, User 3’s comment doesn’t reappear on the post. I know you said threading is hard to code for because it’s theme dependent. If this is impossible to fix, let me know and I can decide whether to disable threading. If there’s an option I’m missing, please suggest it. The only thing I can think of is to edit the comment, removing the user’s text and replacing it with something generic and then approving it.

    Thread Starter NicCrockett

    (@niccrockett)

    Thanks for the steps to recreate and display the message. I followed them and it does indeed work as you wrote. However, there is a second “Flagged” message, which is what I was seeing. I logged in as two separate users, using two browsers. When the first user reports the comment it says, “Thank You”, exactly as you said. The second user however still sees “Flagged” in their browser. You can also recreate this in one browser by reporting as first user, log out, log in as second user, and you’ll see the “Flagged” message. If there’s a way to change this one, let me know.

    I didn’t think about “moderated” being used on the admin comments screen, sorry. I wanted to modify the text a user sees when they try to report a comment that has already been moderated, current text is “This comment is already moderated”. I just want to remove the “Report” link and text.

    Would it be possible to add the account name and username of the person who reports the comment to the email the admin receives? Something like this topic, which was a nice addition by the way.

    You’re welcome for the CSS, I hope it helps someone.

    Love the name of your website! ??

    Thanks for all your help!

    Thread Starter NicCrockett

    (@niccrockett)

    @mpol thanks for the help and thorough explanations! I need a little more help if you can oblige.

    I got most of the code you provided to work. However, I can’t get the flagged code function to work. I understand the functions that change the default text and the use of   to create a single space, but this one for some reason won’t update the text on the page. I tried a word instead of the space like the code below, but it still didn’t work. Is something missing?

    function my_zeno_report_comments_already_flagged_message( $text ) {
    return 'New Text';
    }
    add_filter('zeno_report_comments_already_flagged_message', 'my_zeno_report_comments_already_flagged_message' );

    I also tried to use your code as a template to change the moderated text. I couldn’t get anything to work using the following code. Can you provide the corrected code?

    function my_zeno_report_comments_moderated_message ( $text ) {
    return 'New Text';
    }
    add_filter('zeno_report_comments_moderated_message', 'my_zeno_report_comments_moderated_message' );

    As for a divider between reply and Zeno’s text, I didn’t think about the theme as an issue, sorry. I completely understand not being able to account for all the theme’s made for WordPress. My site isn’t live yet so I can’t share a link. However, I can offer a solution that worked for me and might work for others, depending on their theme. Anyone reading this later, all the code above is PHP, the following block is CSS.

    .zeno-comments-report-link::before { content: " | "; }
    Thread Starter NicCrockett

    (@niccrockett)

    I found the problem and unfortunately it requires changing settings I need. However, I don’t technically need the UM login page, I just thought it would be a beneficial feature. I originally installed the plugin to test the user and member pages. So, is there a way to disable pages I don’t need in the settings? I see where to assign the pages to a page on my site, but not a way to disable unneeded pages. Obviously I can create pages and assign them to those pages, but then I have pages I don’t need on my website. Thanks for any help you can offer!

    Thread Starter NicCrockett

    (@niccrockett)

    @wpmudev-support8

    1) Sorry for finding the tiny “Unsaved changes” bug. I’ll keep an eye out for a fix in a future update. Obviously, no rush on this.

    2) Great news, this is now fixed!

    3) I noticed something when adding the name field back to the form. When I went to the “User Registration” tab (step 4) both name fields had been auto-assigned to email address. As long as someone checks this tab before updating the form this isn’t an issue. However, I could see people thinking this would be assigned to the appropriate field(s) and not checking the “User Registration” tab. This would result in three form fields trying to write to one database field. I don’t need anything done here, just thought you might want to know.

    I’m going to mark this support ticket resolved. Thanks to you, @wpmudevsupport13 , and any other team members that helped with this issue.

    Sincerely,
    Nick

    Thread Starter NicCrockett

    (@niccrockett)

    @wpmudev-support8 thanks for your help!

    I already tried “Update” while editing the form on both sites. Since you suggested, I tried again with the same results. Anytime I access the “User Registration” tab it says “Unsaved changes”. I can click “Update” and it saves, but as soon as I navigate away from that tab and go back, it says “Unsaved changes” again. This only applies to the “User Registration” tab. Navigation away can mean to any other tab, out of editing, out of Forminator’s menu, or logging out and back into the sites (not closing and closing the browser, including clearing cache and history). This is the same on both sandbox and live sites.

    I followed the steps you suggested and the “First Name” field isn’t available. In fact, it doesn’t appear in any of the other drop downs either, e.g. username, email address, etc.

    Any other suggestions? I uploaded new copies of the forms to my shared folder in case you need them. Shared Folder

    Thread Starter NicCrockett

    (@niccrockett)

    @wpmudevsupport13 thanks for your help!

    I thought it automatically assigned the connection to the field, thanks for clarifying.

    I have two copies of the site, live and sandbox. I see the First Name field on the User Registration tab on the sandbox site, however it isn’t listed on the live site.

    I also noticed something on both copies of the site. When you go to the User Registration tab it marks the form as unsaved even though I haven’t changed anything. Maybe this is normal behavior, but I thought I’d report it anyway.

    Here’s a link to a Dropbox folder. It includes an export of both the live and sandbox forms. Shared Folder

    Thread Starter NicCrockett

    (@niccrockett)

    @missveronicatv

    Thanks for looking into the multiple image uploads and for the webp information.

    Thread Starter NicCrockett

    (@niccrockett)

    Thanks for clarifying and best of luck with the plugin.

    I just noticed the Last Updated column. Thanks, this will be a great help!

    Thread Starter NicCrockett

    (@niccrockett)

    Thanks for the info and a great plugin!

    @gripgrip I’m looking forward to the updated date column.

    Regarding navigating away from unsaved code. I just tested adding code and navigating away without updating. I get the same results as before, code is lost. Let me know if I’m doing anything wrong.

    Thanks for your consideration on these suggestions/issues.

Viewing 15 replies - 1 through 15 (of 27 total)