Thorsten Ott
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Safe Report Comments] Help for PHP noob: How i do manual link?can I contact you via mail/skype?
Forum: Plugins
In reply to: [Plugin: Safe Report Comments] Help for PHP noob: How i do manual link?You need to provide the $comment_id parameter when you are not using the get_flagging_link() function within the comment loop.
Forum: Plugins
In reply to: [Plugin: Safe Report Comments] Help for PHP noob: How i do manual link?You deactivated the plugin, right?
Also try to use this in your comments.php file. Maybe your theme is using a callback function to generate the comments.
<?php global $safe_report_comments; echo $safe_report_comments->get_flagging_link( $comment_id='', $result_id='', $text='Report comment' ); ?>Good luck
Forum: Plugins
In reply to: [Plugin: Safe Report Comments] Help for PHP noob: How i do manual link?First thing: could you verify that the path to the plugin file matches your environment in the require statement require_once( ABSPATH . ‘/wp-content/plugins/safe-report-comments/safe-report-comments.php’ );
Second: make sure that neither call $safe_report_comments = new Safe_Report_Comments(false); nor echo $safe_report_comments->get_flagging_link() are called within a function. If they are called from within a function make sure to add aglobal $safe_report_comments;statement before working with the $safe_report_comments variable.Forum: Plugins
In reply to: [Plugin: Safe Report Comments] Help for PHP noob: How i do manual link?can you paste the related parts of the comments.php and the functions.php?
Forum: Plugins
In reply to: [Plugin: Safe Report Comments] Help for PHP noob: How i do manual link?1) Deactivate the plugin
2) Add the following lines to your themes’ functions.php filedefine( 'no_autostart_safe_report_comments', true ); require_once( ABSPATH . '/wp-content/plugins/safe-report-comments/safe-report-comments.php' ); $safe_report_comments = new Safe_Report_Comments(false);3) at the place where you would like to add the report link place the following code
echo $safe_report_comments->get_flagging_link( $comment_id='', $result_id='', $text='Report comment' );
Make sure to replace the parameters with the desired values. result_id is the css id of the entity in which the ajax result should be displayed. $text is the link text.Please let me know if this makes any sense and works for you.
Thorsten
Forum: Plugins
In reply to: [Plugin: WordPress Exploit Scanner] Exploit Scanner not workingI just pushed a new version that disables the Ajax functionality for now as it seems to be causing trouble in some constellations. Could those who saw spinning wheels with no results report back if the new version fixed the issue. Please be aware that running all the scans together can take quite a while depending on the amount of plugins/files and posts in your installation. If you run into trouble run the tests one by one.
Forum: Plugins
In reply to: [Plugin: WordPress Exploit Scanner] Exploit Scanner not workingAs it seems not all all (or in other words – most) web hosting providers seem to have some nasty settings that make all files writeable by the webserver. I will make the file permission check optional which should speed things up and should serve most needs.
Forum: Plugins
In reply to: [Plugin: WordPress Exploit Scanner] Exploit Scanner not workingDebNCgal, if you can run General Infos I’m afraid Firebug will not help as you already proved that it’s not a browser issue related to the ajax call or similar.
Forum: Plugins
In reply to: [Plugin: WordPress Exploit Scanner] Exploit Scanner not workingYou might have a huge amount of files, or big files. Have you tried adjusting the filesize limit to a lower value?
Forum: Plugins
In reply to: [Plugin: WordPress Exploit Scanner] Exploit Scanner not workingSomething you might want to try. Could you run the “General Infos” scan alone without the other two and let me know if this works. I just tried the script on a fresh install on a shared hosting with Firefox 3.5.5 on a Mac and it worked like a charm. It would be great if you could pass along as many details as possible so I can figure out what fails.
Thanks
ThorstenForum: Plugins
In reply to: [Plugin: WordPress Exploit Scanner] Exploit Scanner not working@bobnolin , #DebNCgal I’ll look into this in a bit. Was working fine on my Firefox + Mac and IE8. Do you by any chance have FireBug install so you could give some more details on eventual errors.