• Ia€?m announcing my second ever WordPress plugin, Democracy. Democracy adds polling functionality to your WordPress blog. It grew out of frustration with the only other WordPress polling option, WP-poll. It didna€?t have valid markup, it was clunky, and it required one heck of an installation process. So I decided to create my own, using WP-poll as a reference. This plugin uses AJAX for quick sending and loading of poll data, although it doesna€?t depend on javascript to function, like my other plugin. It is fully functional in non-javascript environments, meaning it will work in ALL browsers. The AJAX part is tested to work in Safari, Opera, Firefox, and IE6/Win. The poll is in my sidebar, so go ahead and see for yourself.

    For more information and the download: https://blog.jalenack.com/archives/democracy/

    It also has a full-featured admin panel, which allows one to manage their polls. You can activate, edit, delete, and add new polls from the admin panel. It is also harder to ballot-stuff than WP-poll. It uses cookies as well as IP logging to prevent users from working spamming the ballot box.

    And Installation is a piece of cake. Just upload it to your server, activate it, and place a template tag in your theme where you want the poll to appear.

    Note, this version is Alpha. However, ita€?s been thoroughly tested by around 10 people without problems, so ita€?s nothing like my shoutbox plugin that was so terrible in the early days. Please report any errors you encounter with it in the comments below. If you like it, saying thank you is all I ask.

Viewing 15 replies - 61 through 75 (of 89 total)
  • silverbakk

    (@silverbakk)

    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.

    raultbc

    (@raultbc)

    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?

    Thread Starter jalenack

    (@jalenack)

    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?

    raultbc

    (@raultbc)

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

    https://blogtest.theboys.com

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

    raultbc

    (@raultbc)

    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?

    Thread Starter jalenack

    (@jalenack)

    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.

    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

    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?

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

    https://wbcblog.com/

    Great plugin !

    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…

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

    Great plugin, added a poll at the bottom of my sidebar at https://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?

    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…

    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);

Viewing 15 replies - 61 through 75 (of 89 total)
  • The topic ‘[NEW PLUGIN] Democracy AJAX Poll’ is closed to new replies.