Survey shows that only 50% of people using Wordpress for blogging.  The other 50%?  They use Wordpress for all sort of things, such as building a small eStore to sell handcrafted jewelry, creating a membership site or simply as a generic content management system.  Put it simply, Wordpress can be used for anything under the sun.

If you’re engaged in eCommentece activities, it’s best to enhance it with a affiliate program. If done right, affiliates can take your eCommerce to the next level.

Using Affiliate Networks can be the simple way to starting your affiliate marketing.  However, there are cost associated with signing up to the large affiliate networks, ranging from $100 to $2000. When the success of your product is still uncertain, this can be a large investment.

Worry not! WP Affiliate Platform come to the rescue.

WP Affiliate Platform is a wordpress plugin which seamlessly integrates with the Wordpress site and has full affiliate management capability.

Some notable feature of WP Affiliate Platform include:

  • Easy installation like any other WordPress plugin and very easy to use.
  • Real time reporting. All data (clicks, sales, commissions) are tracked, computed and displayed realtime with no delay.  All affiliates like that and demand it.
  • Two Tier Affiliate Structure: can be configured to use as a two-tier affiliate structure.
  • Easily integrated with the with a Number of WordPress Shopping Cart.  In fact, with some given code, it can be integrated with any eStore software or cart.
  • Unlimited Affiliates: No limit on the number of affiliates you can have.

And best of all, the plugin costs only $35. It’s worth checking out here.
WP Affiliate Platform

Comment Rating plugin: FAQ

Why are the voting image in gray?

If the thumbs are grey, it’s most likely working well. Comment author cannot vote on his/her own comments. That’s why the voting images are grayed out and don’t respond to mouse-over. But if you change to a different IP address, you’ll be able to see the clickable images and mouse-over effects.

If all your computers go through the same ADSL/Cable router, they all have the same external IP address. The thumb will stay gray, until your IP address changes (e.g. rebooting the router).

To others, the thumbs should be in color.

My comments are not hiding when the “poorly rated comments” value is reached – only the style gets applied. Anything I need to do in the template?

Well all comments are equal. But some comments are more equal than others. Comments made by the blog post author or admin will never be hidden.  All other comments will be hidden when they reach the poorly rated threshold.

When I  try to click either vote button, the button changes size as it’s supposed to but no vote is logged and nothing changes to a checkmark. Why?

The problem is that Commet Rating javascript is not loaded. If you theme doesn’t call wp_footer() then the line to load javascript will not be inserted.  Have a look at the page source code (Ctrl-U with Firefox), you should see in the Javascript in the footer section, see image.

javascript-footer

I get a javascript error with this in the title bar.

If the error says, “Nothing found for /wp-content/plugins/comment-rating/ck-processkarma.php” or similar, and your hosting server have phpSuExec enabled, you must have the permission 777 on your /wp-content/plugins or /wp-content/plugins/comment-rating.  PHPSUEXEC will refuse to serve any pages that are at security risk, for example with 777 as permissions. (will generate an Internal Server Error).

Changing the directory permission to 644 (removing the writable access rights) should solve the problem.

My Suffusion theme displays the voting icon and numbers in separate lines.

If you use the popular Suffusion Theme, you will see the voting icons and numbers are shown in separated lines, like below.

Suffusion-style-problemIt’s the definition of the line of “display: block;” that caused the problem.

.commentlist small {
margin-bottom: 5px;
display: block;
font-size: 87%;
}

You need to remove the “display: block;” line.  Then everything will be fine.

My native language is not supported. How do I add a translation?

Please install the plugin http://wordpress.org/extend/plugins/codestyling-localization/ . After installation, Codestyling Localization’s page is under Wordpress  Admin page: Tool->Localization. Locate Comment Rating plugin. Click “Add Language”.

Now you need to do the next 3 steps:

  1. click “Rescan” beside the language you created.
  2. then click on “Edit”, beside the language you created.
  3. “Edit” will show you a list of terms used in Comment Rating.  You need to click on “Edit” for each term to add your translation. Then “Save” or “Save/Next” until you’re done for each term.

When you’re done, please send me the ‘ckrating_xx_XX.po’ and ‘ckrating_xx_XX.mo’ files in the comment-rating plugin directory.  I’ll distribute the translation in future release with acknowledgment to your contribution.

I’d love to have an option to hide the comment altogether (not just comment_text) but the whole comment.  How can this be done?

WordPress filters does not allow this to happen.  But you can customize your theme to skip displaying a comment if the rating is too low. I can also help. Please see here.

Can I style the whole comment box of highly-rated/poorly-rated/hotly-debated comments

Yes. the comment styling uses the new comment_class filter (introduced in WordPress 2.7). If your theme doesn’t use WordPress 2.7 wp_list_comments(), you’ll only see the comment text background being styled or highlighted. To fix the problem, you need to add comment_class into your existing theme. For example code, please see here.

My nested comment box highlighting is messed up!

When using nested comments, the styling of a highly or poorly-rated comment is passed on to every comment below it. This means that every comment nested below a low-rated comment becomes semi-opaque, even if it is high-rated itself. The end result is huge blocks of dim text that are difficult to read.

Also highly-rated comments pass on that style to everything below it, resulting in huge blocks of styled text that obscure the rating of comments that are not really highly rated.

The problem is caused by styling the whole comment box. To solve the problem, just turn off comment box styling.

How do I set the thresholds of highly-rated/poorly-rated/hotly-debated comments?

This is the tricky part. Setting the thresholds too low, every comment becomes highlighted or hidden. Setting them too high, nothing changes and you cannot draw readers attention.

Every blog’s readers are different.  Some have passionate and active readers who vote on almost every comment.  Some have indifferent readers who don’t want to click.

There’s no magic formula.  You’ll have to experiment.  Hopefully, it’s fun to play with the numbers.

Can a comment be both highly-rated, and poorly-rated or hotly-debated?

Yes, if you’re not careful with your thresholds. Won’t there be messy formatting? No, there won’t be. Rest assured.  Comment Rating will use only one style based on the following descending priorities: highly-rated, poorly-rated, hotly-debated.

How do I turn off one or more styling?

You can do so by simple set the threshold for the undesired feature to a high number.  For example, if you don’t use hotly-debated highlighting, set its threshold to 1000.

When a comment is hidden, will search engines index them?

Comment Rating uses HTML style attribute “display:none” to hide poorly-rated  comments.  The comment text are still in the HTML page.  They are just not shown by the browser.  All search engines will index those text.

Why sometimes the voting number does not change ?

The up or down vote counts will change rightaway after the visitor has casted a vote and change color to grey indicating the vote has been accepted. However, if you have wp-cache or wp-super-cache enable, other visitors will not see the refreshed vote counts until the cached page expires and reload.

To keep the vote count fresh, please set wp-cache/wp-super-cache Expire time to 1 hour or less.

The clickable images don’t show up.  Why?

There may be multiple reasons.

Possibility 1: If your Apache error log show an error like this:

error_log:[Wed Aug 19 09:42:20 2009] [error] [client 10.9.1.67] client denied by server configuration: /var/www/html/try/wp-content/plugins/comment-rating/images/up.png,

You have a misconfigured Apache server which preventing the loading of the images. Please Google “client denied by server configuration” to see how others deal with the issue, e.g. http://www.raditha.com/blog/archives/000896.html.

Possibility 2: You may have configured your Wordpress URL to be, for example, http://CaptionWit.com/index.php.  Please change it to http://CaptionWit.com under Settings -> General: WordPress address (URL).

Is there a list of plugins this may be incompatible with?

Comment Rating uses a unique name space, ‘ckrating’. There should be no conflict with other plugins. But you never know.

Warning in PHP, should I be worried?

I have this PHP warning message below News in the control panel

Warning: gzinflate() [function.gzinflate]: data error in /xxx/xxx/public_html/wp-includes/http.php on line 1787.

This is a bug in the Wordpress http.php file.  I’ve reported to the Wordpress team. So far, the only problem it generates is the warning message.

Don’t worry.  This is not a problem.  And it will be fixed by the Wordpress team.

After clicking the voting image a popup comes up …

If you observes a pop-up box saying: “Response: done”, this is the normal response code. The browser javascript should handle it by update the votes and changing the image to a checkmark. The “Response: done” should not show up at all, unless you’ve enabled javascript debugging or something similar. Try change to a different browser.

Here are a few more error messages:

  • “Your browser does not support the XMLHttpRequest Object!”: please change to a different browser or upgrade your browser
  • “Response has no value”, “Error: Try again later”, “Error: Query Error”, “Error: Comment Query error”, “Error: Comment doesnt exist”, “Error: Fatal: html format error”: These mean that Comment Rating backend has various problem accessing the database.  The problem varies from non-existing comment ID entry to having problem access the database.  These basically mean that your Wordpress database is corrupted or the database is too busy.  You should seek help from a Professional (someone knows Wordpress and mySQL well).  If you are the Professional and you’re sure your DB is not too busy, backup your database (using phpMyAdmin or Wp-DBManager plugin), and then using the same tool to drop the table “wp_comment_rating” table, de-activate and re-activate Comment Rating.

A user of Comment Rating, Quicoto asked a question:

Instead of having a TOP commentors (comment number) for the “likes / dislikes”Example: If somebody voted me with 3 likes, next time I post a comment it will say “quicoto has 3 likes” or something like that.

Is it posible to go one step further and save the rating. I mean for the user (even not logged) “Jim” save his ratings and show them whereever he post a comment.
So it will be a “like / dislike” of the commenter and not the comment (like a forum Karma system).
Is it posible ?

Basically this is for the commentors to carry their rating around, even between sites.  And the ratings are aggregated to something meaningful and displayed with all his/her comments.

This serves as a commentor credit showing his/her reputation.  Also a summary of all the comments of the commentor can be displayed.

I’d think this is doable with some AJAX and a hosting site.

What do you think?  Will this be valuable to start more conversations on your blog?  Would you like to use it too?

« Newer Posts - Older Posts »