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: wp-poll 2.50 does not work(wordpress 2.92)  (Read 5978 times)

0 Members and 1 Guest are viewing this topic.

Offline nikodoros

  • Newbie
  • *
  • Posts: 6
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: Arjuna-x 1.2.1
wp-poll 2.50 does not work(wordpress 2.92)
« on: 08 March 2010, 19:49 »
wordpress 2.92/  wp-poll 2.50/ theme arjuna x1.2.1/  MYSQL version 5.1.30
blog   http://users.att.sch.gr/ndamdas/blog/
wp-poll 2.50 does not work. I create the polls, but when I press on <vote> button..... loading.....and then the poll dissapear. After refresh the page the poll appear again ...vote.... loading.... poll dissapear again. The same  result when I press <show results> button...loaded...poll dissapear. Help please. Thank you very much. Sorry for my bad English. Byeeee

Offline Joco1114

  • Newbie
  • *
  • Posts: 3
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: Default
Re: wp-poll 2.50 does not work(wordpress 2.92)
« Reply #1 on: 09 March 2010, 11:45 »
Hm. After clicking an option I get "Please choose a valid poll answer". Same configuration: WP 2.9.2 + WP-Polls 2.50
It seems the program is never run this part in polls-js.js:

Quote
      jQuery('#polls_form_' + poll_id + ' :checkbox, #polls_form_' + poll_id + ' :radio').each(function(i){
alert("I am here!"); // just for testing
         if (jQuery(this).is(':checked')) {               
            if(poll_multiple_ans > 0) {
               poll_answer_id = jQuery(this).val() + ',' + poll_answer_id;
               poll_multiple_ans_count++;
            } else {
               poll_answer_id = parseInt(jQuery(this).val());
            }
         }
      });

Offline nikodoros

  • Newbie
  • *
  • Posts: 6
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: Arjuna-x 1.2.1
Re: wp-poll 2.50 does not work(wordpress 2.92)
« Reply #2 on: 12 March 2010, 12:45 »
any help?
 :(

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,691
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: wp-poll 2.50 does not work(wordpress 2.92)
« Reply #3 on: 12 March 2010, 13:13 »
Does it work on the default theme? if it does means something wrong with the theme. Please read through the forum

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

  • Newbie
  • *
  • Posts: 6
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: Arjuna-x 1.2.1
Re: wp-poll 2.50 does not work(wordpress 2.92)
« Reply #4 on: 12 March 2010, 17:54 »
Does it work on the default theme? if it does means something wrong with the theme. Please read through the forum

Hello GaMerZ. Thank you very much. The same result with Wordpress default 1.6 theme. It does not work. Any idea for this case? The poll logging method Is < Do not log > for this time . You can test it. Thank you very much again. Byee.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,691
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: wp-poll 2.50 does not work(wordpress 2.92)
« Reply #5 on: 13 March 2010, 00:53 »
Sorry man, I have no idea. It seems the AJAX passed back contain no results. Maybe a server issue.


Ensure all files in /wp-content/ are CHMOD to 644 and folders to 755. If that still does not work, then I really have no idea.

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

  • Newbie
  • *
  • Posts: 6
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: Arjuna-x 1.2.1
Re: wp-poll 2.50 does not work(wordpress 2.92)
« Reply #6 on: 13 March 2010, 09:35 »
The chmod  in wp-content is 755. No problem. Thank you again.

Offline Joco1114

  • Newbie
  • *
  • Posts: 3
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: Default
Re: wp-poll 2.50 does not work(wordpress 2.92)
« Reply #7 on: 15 March 2010, 19:02 »
I went back to 2.8 and polling working correctly... Only with 2.9.x has this problem. :( Can you check what is the difference between Ajaxes?

Offline AndresT

  • Newbie
  • *
  • Posts: 1
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: Newws Magazine 640
Re: wp-poll 2.50 does not work(wordpress 2.92)
« Reply #8 on: 17 March 2010, 03:26 »
It happend to me also.
I Updated to 2.9.2 and the polls doesn't work.
Any solution?

I Don't want to step back to 2.8.x

Offline Cristi Nistor

  • Newbie
  • *
  • Posts: 1
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: Gears
Re: wp-poll 2.50 does not work(wordpress 2.92)
« Reply #9 on: 20 March 2010, 11:28 »
Hello people :).

I recently installed the Polls plugin. I didn't work for the first time. I'm using the latest version, 2.9.2, for WP. The poll was displayed correctly, but when I pushed the vote button or show result nothing was happened. Why? Because in the footer on my page the link to the poll-js.js file was not present. So I added, with the options for functions parameters, in footer.php, the link to the file, and everything is working now well. Also I had to add in plugin configuration options a forward slash / after the pollsarchve, in the link structure for the Polls Archive page I've created. Without it I receive a 404 error. Also I've noticed an error in the HTML/PHP mix code for the polls' container. On Poll REsut Templates -->Result Header should be <div id="wp-polls-vote"><p style="text-align: center;"><strong>%POLL_QUESTION%</strong></p><div id="polls-%POLL_ID%-ans" class="wp-polls-ans"><ul class="wp-polls-ul"> and add an ending div tag in Result Footer (at the end) so your code won't be messed.

I hope this help.

Good luck.

Offline nikodoros

  • Newbie
  • *
  • Posts: 6
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: Arjuna-x 1.2.1
Re: wp-poll 2.50 does not work(wordpress 2.92)
« Reply #10 on: 25 March 2010, 13:43 »
Hello people :).

I recently installed the Polls plugin. I didn't work for the first time. I'm using the latest version, 2.9.2, for WP. The poll was displayed correctly, but when I pushed the vote button or show result nothing was happened. Why? Because in the footer on my page the link to the poll-js.js file was not present. So I added, with the options for functions parameters, in footer.php, the link to the file, and everything is working now well. Also I had to add in plugin configuration options a forward slash / after the pollsarchve, in the link structure for the Polls Archive page I've created. Without it I receive a 404 error. Also I've noticed an error in the HTML/PHP mix code for the polls' container. On Poll REsut Templates -->Result Header should be <div id="wp-polls-vote"><p style="text-align: center;"><strong>%POLL_QUESTION%</strong></p><div id="polls-%POLL_ID%-ans" class="wp-polls-ans"><ul class="wp-polls-ul"> and add an ending div tag in Result Footer (at the end) so your code won't be messed.

I hope this help.

Good luck.

hello

you mean that add the link to poll-js.js in your theme.... footer.php? How do it? (can you give a sample?) The content of my .....themes.....arjuna x ...... footer.php is:

 (<?php $arjunaOptions = arjuna_get_options(); ?>
      <div class="clear"></div>
   </div><!-- .contentWrapper -->
   <div class="<?php if($arjunaOptions['footerStyle']=='style1'): ?>footer<?php else: ?>footer2<?php endif; ?>">
      <a href="http://www.wordpress.org" class="icon1"><img src="<?php bloginfo('template_url'); ?>/images/<?php if($arjunaOptions['footerStyle']=='style1'): ?>wordpressIcon.png<?php else: ?>wordpressIcon2.jpg<?php endif; ?>" width="20" height="20" alt="Powered by WordPress" /></a>
      <a class="icon2"><img src="<?php bloginfo('template_url'); ?>/images/<?php if($arjunaOptions['footerStyle']=='style1'): ?>srsIcon.png<?php else: ?>srsIcon2.jpg<?php endif; ?>" width="18" height="30" alt="Web Design by SRS Solutions" /></a>
      <span class="copyright">&copy; <?php print date('Y'); ?> <?php bloginfo('name'); ?></span>
      <span class="design"><a href="http://www.srssolutions.com/en/" title="Web Design by SRS Solutions">Design by <em>SRS Solutions</em></a></span>
   </div>
</div><!-- .pageContainer -->

<?php wp_footer(); ?>
</body>
</html>

Where I add the link to poll-js.js

Thanks

Offline bruno

  • Newbie
  • *
  • Posts: 2
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: None
Re: wp-poll 2.50 does not work(wordpress 2.92)
« Reply #11 on: 30 March 2010, 19:31 »
Solution for this problem:
replace in the "wp-polls.php" the line:
wp_enqueue_script('wp-polls', plugins_url('wp-polls/polls-js.js'), array('jquery'), '2.50', true);
for:
wp_enqueue_script('wp-polls', plugins_url('wp-polls/polls-js.js'), array('jquery'), '2.50', false);

Only change TRUE to FALSE.
« Last Edit: 30 March 2010, 20:18 by bruno »

Offline nikodoros

  • Newbie
  • *
  • Posts: 6
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: Arjuna-x 1.2.1
Re: wp-poll 2.50 does not work(wordpress 2.92)
« Reply #12 on: 03 April 2010, 12:37 »
Solution for this problem:
replace in the "wp-polls.php" the line:
wp_enqueue_script('wp-polls', plugins_url('wp-polls/polls-js.js'), array('jquery'), '2.50', true);
for:
wp_enqueue_script('wp-polls', plugins_url('wp-polls/polls-js.js'), array('jquery'), '2.50', false);

Only change TRUE to FALSE.

The same result. Do not work. Thanks

Offline josejose

  • Newbie
  • *
  • Posts: 1
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: Green
Re: wp-poll 2.50 does not work(wordpress 2.92)
« Reply #13 on: 11 April 2010, 19:23 »
Hi! i have the same problem...

1 - 2.9.2
2 - still garden (i think)
3 - http://www.rochafutbolclub.com
4 - wp-poll 2.5
5 - chmod are with the 755 and 644
6 - may be all in one seopack ? or fancybox ? but i unistalled and not work


An inusual thing is that, on http://www.rochafutbolclub.com not works, BUT on http://www.rochafutbolclub.com/wordpress it works normally !!!

Offline bruno

  • Newbie
  • *
  • Posts: 2
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: None
Re: wp-poll 2.50 does not work(wordpress 2.92)
« Reply #14 on: 12 April 2010, 13:46 »
The same result. Do not work. Thanks

Don't forget to include the Jquery Library.
<script src="<?php bloginfo('template_directory'); ?>/js/jquery-1.3.2.min.js" type="text/javascript"></script>

Download the Jquery: http://jquery.com/