WP REPOTPOST
Please use this Instead of Wordpress one… Wordpress SVN for my plugin is broke… and It’s including OLD and Giving errors…
New Version is Here : v1.1.1
As title suggests, after searching through wordpress plugins, I come to a decision to create my own plugin that will support reporting a post for number of reasons. This plugin will add a Link [Text Link] right after main contents of wordpress posts when the_content is called through Template. End user will be able to click and Report your post for any given reason and / or in writing why he/she reporting through a Comments Textarea input.
End User Action Screenshot:
All handled through Ajax using wordpress Default Javascript Library jQuery. There is no need to Edit template, Just instal > activate > Setup through admin Interface (WP REPORTPOST > Settings).
Admin Settings Screenshot:
In settings, You can provide with the Text to Show Below contents, Thanks you message, List of types to be Reported (This will be listed to Select through Dropdown box as Shown in End user Action) and finally, you can set up to send you an email when there is a Report (Not to worry, Email will be sent once per post only but Reason to Report will be Registered and shown in admin interface).
Admin Listing View:
WP REPORTPOST has it’s Own menu in new WP 2.7 or Tab in earlier versions. All posts will be listed in New Reports and a clickable Link to original Post provided to Direct access to Edit. All reasons given by All users are added to Reason bellow the post listed. All their IP address are logged for your convenience.
From Active reports (New Reports) you can Archive number of reports (Multiple selections allowed) or delete them. Archive facility provided for you to easily manage already handled post which require further actions. or you can just delete them if its already take care of or invalid report!
Download:
This plugin is available via wordpress.org :
http://wordpress.org/extend/plugins/wp-reportpost/




Screenshots shown here differ considerably from real plugin which I got from extend website. When can we see the 1.0 version? Extend website serves only the 0.1b version where options is under submenu of tools only.
OOps..just checked, you have provided both 0.1b and 1.0 versions in same zip file. Pls separate them into different files.
BTW..excellent plugin. Just what I was looking for.
Your plugin messes up rss feed. Posts don’t display anything in the field. I tested this by enabling and disabling your plugin and checking the feed. Pls fix this bug.
Found the bug, In the file wp-reportpost/wp-reportpost.php, Instead of
if(is_feed())
return ;
It should be
if(is_feed())
return $text;
any idea on how to add a image next to the report the post text?
Navjot: thanks for the bug report. I will fix it and update it asap. Sorry about the mess. I’m having difficulty using svn. I will try and fix it asap.
Danny: text field allow use of HTML tags. So feel free to add image. Use normal
< img src="image.jpg" >. Hope this helps.try it no luck but found a way to get it in there through the script so thanks for the help anyways.
hey man why in the plugin area shows 2 plugins/versions?
Hey Koullis, When i updated to wordpress plug-in SVN it kind of combined both my old version and new one together…. I will prove you with new download Link.. please use it for now…
Thanks
How do you remove this from pages and make it only for posts?
thank you, Ali
ali, Edit page “wp-reportpost.php”
In Line 81 (Just in next line to “return $text”) add the following
if(is_page())
return $text;
this will ignore adding to the Pages
Thank you!
Hey,
For some reason, in the new reports section some reported post don’t show the title so I can’t fix it, I can’t even delete it from the list, it just says nothing to delete. The only way to remove it from the list is from the db. Think this is a major bug, please fix it
THANKS ALOT! this is a great plugin!!
but i need to solve a big problem..
i have plugins to print the post, plugin to save as pdf, and this plugin just go to both plugins… there’s any way to disable the default spot it goes and i choose where to put it?
thanks!
for the time being, you can’t choose where to put… only way is to make exception to those URLS… which you may have to manually Coded… If you can give me the details of other two plug-in’s I will have a look..,
“voober ” can you provide more information on this issue please like, Version of Wordpress, MySql, PHP and also, MySql DB Characters and your Blog language!
Thanks
http://wordpress.org/extend/plugins/article2pdf/
and
http://wordpress.org/extend/plugins/wp-print/
i know a bit of php..
can we put ur code direct in the theme?
Dilnei, You could do that… Follow this:
Open: wp-reportpost.php
Comment out or Delete Line 15 [add_filter('the_content',wprp_report_form);]Whenever you want to include, Edit your theme and Call this php Function passing an Empty string…
< ?php echo wprp_report_form('');?>* I haven’t tried my self but have confident this will work…
Thanks
it wont work.. the post just dont show.. everthing goes blank.. =(
ohh sorry, the plugin was desactivated..
i activate now, and is working right
thankyou so much! i love ur plugin
good to hear…
wonderufl plugin dude….
keep up the work
Finally i have found a “report post” plugin, and this i like it most
And now the problems:)
I have a little problem, like “Ali”
The version of wp-reportpost is 1.0, and this code from wp-reportpost.php (line 74 to 92)
Where i have to change the code, i want that the “report button” to be only in posts, can you help me?
and the second problem:
both version (0.1b and 1.0) have been installed the same time
/* Attach Reporting Form to Contents----------------------------------------*/
function wprp_report_form($text)
{
// Check for RSS
if(is_feed())
return;
// Get Current POST from Global
global $post;
// Get the Options
$options=get_option('rp_options');
$options=(empty($options)) ? array("Report") : split('\|',$options);
// Create Options
$select_options="";
foreach($options as $opt)
$select_options .=''.$opt.''."\n";
Thanks NeKociKa
NeKociKa,
Simply add
if(is_page())return $text;
next to:
if(is_feed())return;
also change the
if(is_feed())return;
to
if(is_feed())return $text;
i have made the changes like you told me, but i think someting is wrong, or i’m to stupid to understand what is the problem
// Check for RSS
if(is_feed())
return $text;
if(is_page())
return $text;
// Get Current POST from Global
global $post;
but in list of posts appear like this (all the text from plugin)… i really dont know why
Post Title
[!] Report This Post
Processing your request, Please wait….
Report as:
Broken Link
Invalid
Write in Words: (Optional)
Post Title 2
[!] Report This Post
Processing your request, Please wait….
Report as:
Broken Link
Invalid
Write in Words: (Optional)
i think that’s not working for me, or for my theme (Atahualpa, a little bit costumized by me, maybe this is the problem…)
Thanks anyway and good luck
Great plugin, but i want to see the plugin only where i set it.
There is 1 page where people really can abuse things, so i want a button there.
Is there a code so i can set the button on only that page?
Thanks!!
Hello Everyone, Please Use this POST now as it has been updated:
http://www.rjeevan.com/wordpress/plugins/v111-wp-report-post-released