Forums

[NEW PLUGIN] Democracy AJAX Poll (90 posts)

  1. amrita_kapur
    Member
    Posted 6 years ago #

    excellent plugin and quite easy installtion too thanks!

  2. Silverbakk
    Member
    Posted 6 years ago #

    I have looked everywhere. Why doesn´t Democracy show up in the admin panel? I have removed all my plugins, only had two bunny technorati tags and wp-shortsats.

    Please help I want this plugin to work, it seems great.

    Fixed it. no help needed anymore.

  3. RaulTBC
    Member
    Posted 6 years ago #

    I downloaded the V1.2 a couple of days ago. I created a sub-directory under 'plugins' and extracted all 5 files into that location. The Plugin did not appear in the Plugins page of the dashboard. When I copied them to the plugins directory it showed up.

    Did I miss something? Now I have the files in /plugins and in plugins/democracy?

  4. jalenack
    Member
    Posted 6 years ago #

    Hmm, I think you might have the files in the wrong place, although it's hard to say.

    it should be something like this:

    example.com/wp-content/plugins/democracy/democracy.php

    Could I have a link to your blog so I can see if you've got it right?

  5. RaulTBC
    Member
    Posted 6 years ago #

    It's on my test site at the top of the left navigation bar:

    http://blogtest.theboys.com

    It shows up but I get a duplicate declarative error when I vote.

  6. RaulTBC
    Member
    Posted 6 years ago #

    jalenack:

    Go it working with the 1.2 version. I did notice the following, though:

    I also implemented the WeatherIcon plug-in (V2.3.0) after Democracy.

    I noticed that when I activated the WeatherIcon plug-in, the script from Democracy ran, and attempted to re-insert the original sample poll into the democracy database tables.

    Should there be some kind of clean-up that I do to prevent that from happening?

    The only common thing between the two plugins is that they do something behind the scenes to add the plug-in option to the dashboard - WeatherIcon is under "Options" and Democracy is under "Manage".

    Any ideas?

  7. jalenack
    Member
    Posted 6 years ago #

    Democracy would only do that if it couldn't find its database table. Due to API limitations (fixed in 2.0), democracy checks for to make sure the database is present after any plugin is activated. But it's completely non-destructive.

  8. weissj
    Member
    Posted 6 years ago #

    Fabulous, fabulous plug-in. I just downloaded democracy 1.2, and it inserted perfectly - had no problem finding the management location on the WP admin page... first vote worked fine - but all subsequent votes are not registering. Shows results of first vote, says 1 person voted... does not recognize second and subsequent votes. Any thoughts? Thx in advance. Jess

  9. weissj
    Member
    Posted 6 years ago #

    Well, I just figured out that the problem is that all the votes were coming from the same broadcast IP address, and so were blocked... it worked fine when I had someone with a completely different IP address try to vote. Is there any way to allow more than one vote, since sometimes you have different people at the same broadcast IP address?

  10. edgarlin
    Member
    Posted 6 years ago #

    Great! AJAX Democracy Poll works fine. One question, is it possible to know the poll current result from wp-admin site?

    http://wbcblog.com/

  11. chaaban
    Member
    Posted 6 years ago #

    Great plugin !

  12. mugget
    Member
    Posted 6 years ago #

    i just installed this plugin. i tried to add it to a post, and found that it kept putting a space after the first '<' from the snippet of php you have to add. so it doesn't work in posts?

    how can i work it so that it will display and work in posts? that would fit my needs perfectly - i don't really want to have it in the sidebar...

  13. vcourtney
    Member
    Posted 6 years ago #

    I just wanted to say "thanks!" This plugin is great. I used juliano's method (although I added a little "if (function_exists('jal_democracy'))" part, since I'm fickle with my plugins) to have polls show up in individual posts, and I'm looking forward to playing with the poll archive.

    I was wondering if there was a quick way to play with CSS styling that I've just missed. Any direction would be appreciated. :)

  14. utopiad
    Member
    Posted 6 years ago #

    Great plugin, added a poll at the bottom of my sidebar at http://www.gumball-3000.com/rally/

    Would like to place it higher up but simply not have the place, I'm thinking of adding another sidebar at the left side but I think that will make it look a bit messy...

    Any thoughts?

  15. Kahil
    Member
    Posted 6 years ago #

    the only thing i would like to see this plugin do is to allow polls to be placed elsewhere other than sidebars...like in a post or page. i have a pluging that allows <php> type entries like the one you use for this plugin to be placed in pages and posts, but when i do it doesn't show up right...

  16. wescx
    Member
    Posted 6 years ago #

    I get the following errors when activating the plugin.

    WordPress database error: [Invalid default value for 'timestamp']
    CREATE TABLE wp_democracyQ ( id int(10) unsigned NOT NULL auto_increment, question varchar(200) NOT NULL default '', timestamp int(10) NOT NULL default '', voters text NULL default '', allowusers enum('0','1') NOT NULL default '0', active enum('0','1') NOT NULL default '0', PRIMARY KEY (id) )

    WordPress database error: [Table 'wacsports.wp_democracyQ' doesn't exist]
    INSERT INTO wp_democracyQ VALUES (1, 'Rate my site', '1139214380', '', '0', '0');

    WordPress database error: [Duplicate entry '1' for key 1]
    INSERT INTO wp_democracyA VALUES (1, 1, 'Best. Blog. Ever.', 0, 0);

    WordPress database error: [Duplicate entry '2' for key 1]
    INSERT INTO wp_democracyA VALUES (2, 1, 'Could be better...', 0, 0);

    WordPress database error: [Duplicate entry '3' for key 1]
    INSERT INTO wp_democracyA VALUES (3, 1, 'My grandma could make a better website!', 0, 0);

    WordPress database error: [Duplicate entry '4' for key 1]
    INSERT INTO wp_democracyA VALUES (4, 1, 'Ooo look, a butterfly!', 0, 0);

    WordPress database error: [Duplicate entry '5' for key 1]
    INSERT INTO wp_democracyA VALUES (5, 1, 'No Comment', 0, 0);

  17. webmok
    Member
    Posted 6 years ago #

    Hi.
    How do you integrate this voting-system, which by the way is fantastic, with the pages that you've created. You can't use that php-line <?php jal_democracy(); ?> in Manage > Pages :(

  18. Kahil
    Member
    Posted 6 years ago #

    as far as i can tell and from what i've tried, you can only use this plugin in a sidebar and not in a post or page...

  19. Eddie_WP
    Member
    Posted 6 years ago #

    Great plugin, thanks Andrew!

    I have two questions…

    1.) Is it possible to stop the voting (or expire)? So people can only see the resultat from the poll. Example: For a week the people can vote on myne poll, but after that i want only that u can see the resultat from the past week.

    2.) Can i archive the poll?

    Greetings from the Netherlands,

    Eddie

  20. tanster
    Member
    Posted 6 years ago #

    Andrew, Democracy is fabulous, thank you!

    I use it on pages, here are some examples:

    - Poll on a page: http://www.officetally.com/?page_id=79
    - Archive on a page: http://www.officetally.com/?page_id=76

    To use Democracy on a WordPress page (as opposed to the sidebar), I did the following:

    1. Installed and activated the plugin PHPExec.

    2. In the WordPress 2.0 admin panel, go to Options > Writing, and clear the "Users should use the visual rich editor by default" checkbox.

    3. Go to Users > Your Profile, scroll down to the bottom of the page, and clear the "Use the visual rich editor when writing" checkbox.

    4. Create a page as usual, and then insert a poll by entering the code

    <phpcode><?php jal_democracy(1); ?></phpcode>

    Hope that helps!
    :) tanster

  21. gunlib
    Member
    Posted 6 years ago #

    OOPS.

    Does anybody have the latest version of Democracy they can share with me? Apparently the plugin is no longer available at Jalenack; people have been commenting about their inability to download it and the author has not responded in some time. TIA -

  22. gunlib
    Member
    Posted 6 years ago #

    Never mind - I emailed the author and he fixed the link. Thx -

  23. stevemojo
    Member
    Posted 6 years ago #

    Anyone having trouble with Democracy firing up php.exe processes that never close?

  24. tfish77
    Member
    Posted 6 years ago #

    Does anyone know if this works with WP 2.0?

  25. maplewoods
    Member
    Posted 5 years ago #

    How would I disable IP checking for the Democracy Poll?

    My application is for a situation where a large group of users come in on the same Public IP.

    Would be nice to have a Click Option to allow the Admin to choose to restrict duplicate voting by either:

    1) cookie or

    2)by IP or

    3)both.

    Thanks

  26. TheSportsGuru
    Member
    Posted 5 years ago #

    Hey everyone. Just installed this plug in but am having an issue. I only get 1 response in my poll. No matter how many answers are given, only the first shows up.

    Any ideas?

  27. idner
    Member
    Posted 5 years ago #

    This plugin seems to have a problem with new versions of mysql. It doesn't appear to install correctly.

  28. coyotech
    Member
    Posted 5 years ago #

    Im having some problems with this plugin could someone help plz. http://tecoyosturrup.freehostia.com/wordpress/index.php

    If u look at the poll in ie u could see some extra space between the democracy i can't figure out why this is happening I've tryed #dem.... {margin:0;} but that doesn't work.

  29. michaelbb
    Member
    Posted 5 years ago #

    If I am not mistaken, you mite have a small flaw, when I click on "www.gumball-3000.com/rally/" and vote then hit back and then Ctrl, Shift, Del and than go back to the above site I can vote all over again. For some that may not be a problem. I just thought I would mention this thats all.

    The browser I use is FF and that is the one I did to test out the voting poll, you may have some security in your poll that either wasnt enabled or could prevent what I did, I dont know.

    I just thought I would mention it thats all

  30. rschumaker
    Member
    Posted 5 years ago #

    This is a fantastic plug in! The only thing I would love to see is the ability to have multiple polls active at the same time. Thanks for the hard work.

Topic Closed

This topic has been closed to new replies.

About this Topic