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: Same poll twice on a page shows results on the wrong one  (Read 213 times)

0 Members and 1 Guest are viewing this topic.

Offline jyo

  • Newbie
  • *
  • Posts: 1
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: Custom
Hi All,

When I have  the same poll twice on a page (one in the sidebar and once in a post),  submitting the poll in the sidebar ends up refreshing the info in the post area. Like on this page:

http://fairness.dev.yovanoff.com/blog/

(Scroll down about one screen, and try submitting the poll in the sidebar).

Is there any way to ensure the poll updates in the proper area? Having the same poll listed twice is bound to happen on occasion. I'm including the poll in the post via a shotcode, and in the sidebar via the php get_poll(). Maybe they need unique ID's or something? I'd love it if there was a work around here.

WordPress 2.8.4
WP-Polls 2.5

Thanks!
Jason


Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Same poll twice on a page shows results on the wrong one
« Reply #1 on: 29 January 2010, 03:35 »
You can't have the same poll listed on the same page due to a conflict ID. It is a technically limitation. This can be avoided by manually specifying the poll on the sidebar. <?php get_poll(1); ?> or an easier way is to use widget and you can configure what poll to load.

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