All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.


Author Topic: Tips & Tricks For WP-PostRatings  (Read 56007 times)

0 Members and 1 Guest are viewing this topic.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Tips & Tricks For WP-PostRatings
« Reply #20 on: 18 January 2007, 08:28 »
I use to have iPaq 5450, iPaq RX1950, both I sold it away for O2 Atom Exec

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,294
    • View Profile
Re: Tips & Tricks For WP-PostRatings
« Reply #21 on: 21 February 2007, 23:56 »
O2 Atom Exec? Yeah, I have an HP iPAQ RX3000 series with the camera. :)
Always useful. :)
Update:
 Actually I think I said almost the exact same thing before. :)
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline trigatch4

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Tips & Tricks For WP-PostRatings
« Reply #22 on: 24 March 2007, 22:15 »
I tried changing the code to make the "ratings" display on the same line as my post title.  It didn't work.  I'm using wordpress 2.1.2 and if you need the site to take a closer look, please PM me.

Great plugin and thanks for your help in advance.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Tips & Tricks For WP-PostRatings
« Reply #23 on: 25 March 2007, 10:18 »
use <?php the_ratings('span'); ?>

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline trigatch4

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Tips & Tricks For WP-PostRatings
« Reply #24 on: 25 March 2007, 22:11 »
Doesn't seem to work... but not sure if you wanted me to put it in a specific place or have it replace something else.  I even tried to go into the ratings code and replace divs with spans.

As an alternative, I'm thinking it's find "below" the title, but... the mouse over "drop down" text showing you how many stars you are rating it... is it possibe to either remove this or have this appear where the (No Ratings) currently is?

Basically I'm trying to save space vertically and for some reason there are two lines of blank space after the plugin.  Let me know... thatnks

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Tips & Tricks For WP-PostRatings
« Reply #25 on: 26 March 2007, 04:14 »
hmmm what WP version and postratings version are you using? Can I have your site URL?

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,294
    • View Profile
Re: Tips & Tricks For WP-PostRatings
« Reply #26 on: 28 March 2007, 01:57 »
Yeah... Does anyone read my "Read this" post?
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Tips & Tricks For WP-PostRatings
« Reply #27 on: 28 March 2007, 03:34 »
yea, it is like that, that is a readme.html in my zip and 20% still did not read it

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,294
    • View Profile
Re: Tips & Tricks For WP-PostRatings
« Reply #28 on: 28 March 2007, 15:20 »
LOL, I guess thats the way it works... :)
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline liquidcourage

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Tips & Tricks For WP-PostRatings
« Reply #29 on: 24 June 2007, 00:48 »
So the code to only set the vote for a certain category... The code goes inside of the loop... right?

Code: [Select]
<?php
foreach((get_the_category()) as $cat) {
   
$cats =  $cat->cat_name ' ';   if(strstr("$cats""CATEGORY NAME")  !== FALSE) {
      
the_ratings();
   }
}
?>

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Tips & Tricks For WP-PostRatings
« Reply #30 on: 24 June 2007, 04:10 »
yeap

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,294
    • View Profile
Re: Tips & Tricks For WP-PostRatings
« Reply #31 on: 24 June 2007, 20:26 »
yeah
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline kia

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Tips & Tricks For WP-PostRatings
« Reply #32 on: 30 November 2007, 23:04 »
hmm not at the moment, why would user reset their own vote? Normally ratings system seldom have that feature.


I'm also looking for this feature. My blog is using very large images to improve visibility - but sometimes users accidently click. It would be great if they had the ability to click again to override the last click.

If a blog is using "heart" or "heart_crystal", then a new click should reset the heart (= remove vote from db). This would be similar to the digg-button. One click => Digg! A new click => Undigg.

Would this be hard to implement? I really want this feature and would be happy to make a donation!

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Tips & Tricks For WP-PostRatings
« Reply #33 on: 30 November 2007, 23:47 »
it would not be that hard to implement but it would not be in the immediate release, or in the near future as it requires some core code changes

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,294
    • View Profile
Re: Tips & Tricks For WP-PostRatings
« Reply #34 on: 01 December 2007, 02:51 »
:)
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline leomoura

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Tips & Tricks For WP-PostRatings
« Reply #35 on: 15 January 2008, 15:27 »
" So the code to only set the vote for a certain category... The code goes inside of the loop... right? "

Please, forgive my fall.

Which file can I find "loop"? Where it stay?

I'm trying to get comments in just a cattegory.

thank you all.

leo from Brazil

leo@boyband.com.br
« Last Edit: 15 January 2008, 16:19 by leomoura »

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Tips & Tricks For WP-PostRatings
« Reply #36 on: 15 January 2008, 17:13 »
The loop is the while() you might want to go to http://codex.wordpress.org for more info on the loop

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline buktotruth

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Tips & Tricks For WP-PostRatings
« Reply #37 on: 31 January 2008, 05:21 »
I was looking for a way to create a separate page that would display a list of all the top posts sorting by category. I couldn't find an obvious way to do that, so I wrote my own little function. Feel free to use it.

Code: [Select]
<?php 

$temp get_all_category_ids(); 
global $wpdb;
foreach($temp as $row)
{
if($wpdb->get_var("SELECT term_taxonomy_id FROM $wpdb->term_relationships WHERE term_taxonomy_id='$row'"))
{
print "<b><a href='"get_category_link($row)."'>".get_cat_name($row)."</a></b><br>";
get_highest_rated_category($row);
}
};

?>

Basically just get the Exec-PHP plugin and dump that code into a page. It'll go through all your categories and output the name + the top rated posts.

Have fun!
Jeff

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Tips & Tricks For WP-PostRatings
« Reply #38 on: 31 January 2008, 07:51 »
Thanks for your contributions buktotruth =D

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline rashed

  • Jr. Member
  • **
  • Posts: 35
    • View Profile
Re: Tips & Tricks For WP-PostRatings
« Reply #39 on: 03 September 2008, 03:00 »
Is it possible to show the most/highest rated posts in a certain category for a predetermined time period?