If you're new here, you may want to subscribe to my RSS feed or get my updated posts via email. Thanks for visiting Kisahberuang.com!

commentluvFinally after five long days, I managed to get CommentLuv plugin to work on my blog. However, this would not have happened without the help of one of my greatest online friends, Behrad from BioTecK.NET, who patiently tried to solve the problem for me. That goes to show how bad my php skill is…

We were communicating via email and we had to go through 13 emails back and forth before he finally figured out what was wrong with the piece of supposed to be simple code that I needed to put into my comments.php file.

The FAQ for CommentLuv made it look very simple that you only need to add a simple code below to your  comments.php but it did not tell you that on some themes, that code needs to be modified accordingly.

<?php doaction(’commentform’, $post->ID); ?>

When I put in the code, all I got was this error message:

[Fatal error: Call to undefined function doaction() in /home/kisahber/public_html/wp-content/themes/Forte/comments.php on line 112]

Thank God for Behrad for cracking his head and gave me the solution to the problem. All I needed was to modify the code into:

<?php do_action(’comment_form‘, $post->ID); ?>

And that was all to it. Now I have CommentLuv enabled and thank you Behrad for being such a good friend even though we are thousand of miles away. I owe you one!

And my php skill still sucks…

Popularity: 8% [?]

  • Share/Save/Bookmark