Skip to content

Resurrecting a pretty dead WP plugin that allows you to flag or report posts.

Notifications You must be signed in to change notification settings

S4-Hosting/WP-Report-a-post

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Note this is a fork of a WordPress plugin that is currently outdated, it may or may not work nicely with current WP versions, no guarantees. We will update is as soon as we get around to it.

It is working on the site we have currently used it on, but it's far from perfect. It still seems to be the best option that we could find to do this though and we will try to update it as soon as we get a little tiny bit of spare time.

wp-report-post-2

Highly customizable plugin to let your site visitors to report posts with inappropriate contents to administrator / editor.

Description

Report Post is a highly customizable plugin that lets your visitors to report posts or pages with inappropriate content. All these reports are displayed as a table in your Administrator section so you can decide what to do next: edit contents, unpublish posts/pages, or just delete these reports. The plugin was designed to work in both automatic and manual modes. In automatic mode, the link to report will be added to post's meta box. In manual mode, you can place the link, button or image anywhere you want in templates.

Features:

  • Easy to use - you can simply activate the plugin and it will do the thing
  • Highly customizable via Options and CSS
  • AJAX based - no page reload will occur
  • Can be used in Automatic and Manual modes (to use in templates)
  • Works for Posts, Pages and Custom post types
  • Supports AJAXly loaded posts, 'infinite scroll' posts, etc.
  • Does not use additional databases / tables anymore. All reports are stored in postmeta.

Plugin demo: http://www.esiteq.com/projects/wordpress-report-post-plugin/

Installation

  1. Upload the plugin files to the /wp-content/plugins/wp-report-post directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Enjoy :-)

Usage

Plugin handles 4 class names. Two pre-defined (.report-post-link for a simple link with exclamation mark icon and .report-post-button for button) and two custom that you can define yourself (.report-post-custom-link and .report-post-custom-button, respectively).

To work correctly, report link must be placed inside of an

tag. Article tag must have id="post-XXXX", where XXXX is the id of current post. If your theme does not use tags, you can add post-id="XXXX" attribute to report link, e.g.

Report Inappropriate Post

Frequently Asked Questions

Q: I am using custom Wordpress theme and there is no Report link appears in the post = A: You may have specified incorrectly element and class (or id) to add link to. Check your theme's template and find an element that presents in each post.

Q: I want to use custom link / button / image to display Report form = A: You can place report link / form anywhere on the page. Example markup:

<a href="#" class="report-post-custom-link" post-id="<?php echo $post->ID; ?>">Report Post</a>

Screenshots

To see screenshots, visit http://www.esiteq.com/projects/wordpress-report-post-plugin/

Upgrade Notice

= 2.0 = Be aware when upgrading from 0.X to 2.0. Old report database is not supported anymore. It means that all reports made with previous version of the plugin will be lost.

Changelog

= 2.0 = Completely remastered. Well, this is not an update of previous version of the plugin. This is a new plugin written from scratch.

= 0.2.4 = Fixed bug with incorrect link to attached image

= 0.2.2 = Fixed bug with duplicate reports

= 0.2.1 = Removed engine and encoding from CREATE TABLE query - default values will be used (in case if InnoDB is not supported on your hosting)

= 0.2 =

  • Perverted AJAX calls were replaced in a normal Wordpress way
  • Added email notifications for reported posts
  • Compatible with Wordpress 3.8.x and new themes
  • Multiple minor bugfixes

= 0.1 =

  • CSS buttons added
  • Fixed textarea width

About

Resurrecting a pretty dead WP plugin that allows you to flag or report posts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 52.5%
  • JavaScript 32.8%
  • CSS 14.7%