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: single page rating conflicts with sidebar rating  (Read 1289 times)

0 Members and 1 Guest are viewing this topic.

Offline vega

  • Newbie
  • *
  • Posts: 1
    • View Profile
single page rating conflicts with sidebar rating
« on: 17 April 2009, 21:55 »
thanks for the great plugins lester.

have 2 problems, but they might have the same answer

my site: www.freshbasilcrew.com

problem #1... homepage... the left column in the main page loop works fine. The sidebar tabs for "Song recently posted" uses the same loop (<?php echo the_ratings_results(get_the_id()); ?>".. .but the correct ratings do not show.

as you can compare from some of the song ratings on the left column.. to the same songs without ratings on the sidebar tabs.. Not sure why the correct ratings don't show up on the tabs.

problem #2. when you view a single page post, the ratings from that post transfer to all the posts on teh sidebar tabs.

example: http://www.freshbasilcrew.com/2009/04/music/hip-hop/rick-ross-usual-suspects-ft-nas-t-pain/

this post has 2 thumbs up... now all the posts on the sidebar tabs have 2 thumbs up, when they really don't. is the loop not ending?

i get the single page ratings using:    
<span style="float:right;display:block;"><?php if(function_exists('the_ratings')) { the_ratings(); } ?></span>

let me know if i explained it weird. any help would be appreciated. thanks.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: single page rating conflicts with sidebar rating
« Reply #1 on: 18 April 2009, 03:21 »
You cannot have the the same rating codes within the same page due a conflict of the IDs.

++ 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.