hpguru
Forum Replies Created
-
Forum: Your WordPress
In reply to: Feedback for my new themeVery simple site. I enjoy your theme. And ofcourse, very good tips on the site. Thank you!
I sent this point to Akismet team by contact form. 🙂
Thank you.
Forum: Requests and Feedback
In reply to: Please remove stupid spam!Deleted 3-4 hours ago… thanks.
Forum: Requests and Feedback
In reply to: WP 3.0 – When?I download 3.0 beta2. Works good! Thank you!
Forum: Requests and Feedback
In reply to: WP 3.0 – When?Thank you for this info. There is no need to wait a long time. 🙂
Forum: Plugins
In reply to: [Plugin: Safe Report Comments] Help for PHP noob: How i do manual link?Yes. jyri.vaatainen(att)hpguru(dot)net
Forum: Plugins
In reply to: [Plugin: Safe Report Comments] Help for PHP noob: How i do manual link?Now i see report comments but when i try it, nothing happens.
Forum: Plugins
In reply to: [Plugin: Safe Report Comments] Help for PHP noob: How i do manual link?Now
Wrong usage of print_flagging_link().
Forum: Plugins
In reply to: [Plugin: Safe Report Comments] Help for PHP noob: How i do manual link?Plugin is de-activated. I try your code now. Thank you.
Forum: Plugins
In reply to: [Plugin: Safe Report Comments] Help for PHP noob: How i do manual link?Path is ok.
Is functions.php code ok?
define( '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);Is this code ok? I try it, but same error…
<?php $safe_report_comments->get_flagging_link( $comment_id='', $result_id='', $text='Report comment' ); ?>Thank you. I’m very noob with PHP.
Forum: Plugins
In reply to: [Plugin: Safe Report Comments] Help for PHP noob: How i do manual link?functions.php
<?php if ( function_exists('register_sidebars') ) register_sidebars(2); ?> <?php //Begin Theme Options Code $themename = "Revolution Code Blue"; $shortname = "cb"; $options = array ( array( "name" => "Color Scheme", "id" => $shortname."_color_scheme", "std" => "Default", "type" => "select", "options" => array("Blue","Gray","Red")) ); function myFilter($query) { if ($query->is_feed) { $query->set('cat','-1323'); //Don't forget to change the category ID =^o^= } return $query; } add_filter('pre_get_posts','myFilter'); function my_akismet_count() { $akismetcount = number_format_i18n(get_option('akismet_spam_count')); echo "<a href='http://akismet.com/'>Akismet</a> on suojannut blogia " . $akismetcount . " roskakommentilta"; } define( '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); function make_chunky($ret) { blah blah...comments.php
<?php foreach ($comments as $comment) : ?> <?php $comment_type = get_comment_type(); ?> <?php if($comment_type == 'comment') { ?> <li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>"> <?php comment_author_link() ?> sanoi <?php comment_date('d.m.Y k\l\o\ H:i') ?> <?php edit_comment_link('(Muokkaa)','',''); ?><br /> <?php if ($comment->comment_approved == '0') : ?> <em>Kommenttisi on moderoitavana.</em> <?php endif; ?> <div class="commenttext"> <?php comment_text() ?> <?php echo $safe_report_comments->get_flagging_link( $comment_id='', $result_id='', $text='Report comment' ); ?> </div> <div style="border-bottom: margin-bottom:20px; padding:0px 0px 10px 0px; clear:both;"></div> </li> <?php } else { $trackback = true; } /* End of is_comment statement */ ?> <?php endforeach; /* end for each comment */ ?> </ol> <?php if ($trackback == true) { ?> <h4>Paluuviitteet</h4> <ol> <?php foreach ($comments as $comment) : ?> <?php $comment_type = get_comment_type(); ?> <?php if($comment_type != 'comment') { ?> <li><?php comment_author_link() ?></li> <?php } ?> <?php endforeach; ?> </ol> <br class="clear" /> <br class="clear" /> <?php } ?>Forum: Plugins
In reply to: [Plugin: Safe Report Comments] Help for PHP noob: How i do manual link?Fatal error: Call to a member function get_flagging_link() on a non-object in /home/hpguru/public_html/wp-content/themes/revolution-code-blue/comments.php on line 43
Forum: Requests and Feedback
In reply to: Trojan horse on this siteThank you. Now i am able to click link without any virus warning.
Forum: Requests and Feedback
In reply to: Trojan horse on this siteCould you please remove or break the malicious code? Avast -> Iframe trj.
Forum: Requests and Feedback
In reply to: Trojan horse on this siteJust Avast detect it to virus code.
Unfortunately avast treats the text based script code the same as if it were in the html code as that is what it is looking at.