Author Topic: single page rating conflicts with sidebar rating  (Read 1611 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:

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.


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

  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: 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.

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