Report Content
[resolved] Option to include the URL of the post and show post author in Reports screen (6 posts)

  1. Supa
    Posted 2 years ago #

    I see this particular topic regarding "url in mail" has already been started, http://wordpress.org/support/topic/no-url-in-mail?replies=2
    but it seems to be unresolved ?

    #1 Basically, I have a blog with multiple authors, so it would be really handy to include the "post link" , so that when the author gets the email. They can go and edit the post straight away, without having to search through so many reports in the Admin panel.

    #2 Another handy idea is that, the "Reports" section must show the AUTHOR of each post.
    That way, the author knows which posts he/she must edit, that display his/her name.

    Usually my blog has all authors assigned in the "Author" role, so you can see why they simply can't edit another author's post. (I wouldn't want them to anyway).

    This is a long post, but since I really like this plugin, I hope these features can be added.


  2. Li-An
    Posted 2 years ago #

    It seems the plugin's author does not look at this forum. I tried to contact him on his site with no success...

  3. WP Gurus
    Plugin Author

    Posted 2 years ago #

    Hi. I do look at this forum :)

    I try my best to resolve bugs as soon as possible but this isn't exactly a bug. Still, I'll try to get this done in the next few days. And thanks for liking the plugin Supa.

  4. Supa
    Posted 2 years ago #

    I did a temporary code change, until the plugin gets an official update.

    This will show the URL of the post in the email.

    So to make this happen;
    1. Go to wp-content/plugins/report-content/report-content.php
    2. Look for this piece of code at php line 186:

    $report_string = "\n\nReport:\n\n".$report['reason']."\n\n".$report['details'];

    3. Replace that with this code:

    $report_string = "\n\nPost Link:\nhttp://www.YourWEBSITE.com/wp-admin/post.php?post=".$report['post_id']."&action=edit\n\n\Reason:\n".$report['reason']."\n\nReport:\n".$report['details'];

    4. change "yourwebsite.com" with the actual URL of your site.

    5. The link will take you to the actual Post Edit screen, so you can edit the post directly or view the report which is listed in a meta box in the Post Edit footer.

    Hopefully this code change, can be of good use for everyone else who wants the post url displayed.

  5. Faisal Humayun
    Posted 2 years ago #

    Great hack Supa ! Much appreciated.

  6. Supa
    Posted 2 years ago #

    You're welcome @Faisal Humayun ! :D

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Report Content
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.