Democracy AJAX Poll

By | September 22nd, 2006 | 1,409 Comments | General

Democracy has not been updated in at least 5 years. Try another poll plugin

I just upgraded the plugin to 2.0.1, check it out!

Among the new features in Democracy 2.0:

  • In-post polling: just insert {.democracy:12} (without the period) to place the poll with ID #12
  • Localizable: All strings are set up for localization. A .po (or .pot or whatever) file will come in newer versions
  • Slick new design
  • Edit all options in the Admin panel
  • IP-logging is now optional
  • A ‘widget’ for your sidebar.
  • Sexy new readme.html file

Download: Democracy 2.0.1. Released 11:50 PM PST Nov. 9, 2006

{democracy:14}

Democracy 1.2 has been moved. I strongly discourage use of this version due to security issues.

Specifically, the problem in 1.2 is as follows: If you make a poll with ‘add an answer’ turned on, then users can insert arbitrary html code, and therefore javascript. That’s an XSS vulnerability, and a serious one at that. Upgrading is highly recommended.

Changelog

Beta 1 Original release

Beta 2 Fixed potential upgrading issues and added SEO fixes (meta tag for robots).

2.0.1 A few big fixes:

  • In some cases extra
    s and extra lines were being wrapped around {.democracy.} code.
  • Upgrade from 1.2 shouldn’t break anymore >_<
  • A few CSS upgrades for people having trouble with themes (blix, notably)
  • Some tiny code realignments (changing whitespace, etc), nothing major.

Please comment on any problems you have with this new version.

free anal homemade pornhere

 

There've been 575 whole comments

3:08 pm on 9/22/2006 1. MKR

Hopefully the fix wasn’t too rushed. :D

This does look interesting, and I’ll definately try it once it has been around for a bit longer (I like letting things get full of fun stuff and adequately debugged before I make use of it :P).

6:56 pm on 9/22/2006 2. BJohnM

Great plugin. I’ve been using the previous version for a while, and it’s been great. Downloaded this version, deactivated the plugin, deleted the old folder, uploaded the new, reactivated. It seems it kept the questions, and the results, but blew away the answers. I had a backup, so I restored back to the old version.

I’ll try to experiment more over the weekend. I was planning to setup a develop version of my blog anyway, this’ll be the incentive to do that.

I’ll admit I didn’t just retore the tables while the new version was installed…should have…but not in the mood to experiment tonight, and on the live blog.

But thanks for a great piece of work.

1:32 am on 9/23/2006 3. Viper007Bond

Sweet. :D

Does this play well with WP-Cache by the way?

4:24 am on 9/23/2006 4. JimmyB7

Great Job!

Everything seems to work as advertized except I can’t seem to get the “Allow users to add choices” to work when voting.

It apparently won’t take a check mark when the new choice is added at the voting screen. When I click vote nothing happens.

I’ve unchecked “Allow users to add choices” for now.

Thanks much for your hard work and expertise.

7:26 am on 9/23/2006 5. Mark

Why are the percentages visible only when you move your mouse on the graphs? This is very bad, please make the percentages permanently visible next to the answers for example.

2:22 pm on 9/23/2006 6. Denis de Bernardy

There was more than a single XSS vulnerability in v.1.2. If you assume a multi-user blog, you also need to filter questions and answers with kses, and sanitize database queries. Any odds v.2 fixes these issues as well? :-)

Denis

7:52 pm on 9/23/2006 7. HART (1-800-HART)

Warning: Invalid argument supplied for foreach() in /…./plugins/democracy/class.php on line 189

Is that me? This is just a sample site of polls .. but I have some important ones on other sites. and I can’t seem to get this new version to work. In the meantime – what If I were to leave version 1.2 for now and remove the option to add answer .. would that solve the security risk for now?

8:33 pm on 9/23/2006 8. HART (1-800-HART)

Ok. Nevermind. The new plugin wipes out all the questions from the old polls and doesn’t give option to answer if you’ve answered the first one (it seems). The error message goes away once new questions are added. /

3:11 am on 9/24/2006 9. Melanie Isaac

Oh my god! It is fate, this is exactly what I’ve been looking for the past year! I thought l was going to have to beg and plead my programmer friends to make this plugin for me.

4:13 pm on 9/24/2006 10. Mickey J Barczyk

I have a visual problem and I dont understand what is wrong, here is a screen shot:

http://img246.imageshack.us/img246/6356/ssoy9.gif

I took away those dots like it said in the readme file but it didnt do any good.

Any suggestion?

4:50 pm on 9/24/2006 11. André Esteves

What is the php version required?

I have problems runnin it in php 4.3.1, but in php 5.1 no problems at all…

1:15 pm on 9/25/2006 12. pacheco

I think the links to “view results” and “vote” when you’ve not voted yet doesn’t work fine.

When I click on “view results”, it appears the following on the status bar of IE:

http://www.site.com/?dem_action=view&dem_poll_id=4

and it works.

But when clicking on “vote” (to go back to the previous screen), it appears on the status bar:

http://www.site.com/wp-content/plugins/democracy/democracy.php?dem_action=show_vote_screen&dem_poll_id=4

This message on the status bar is different, and the link does not work.

Also, it appears this error message:

line: 168
car: 2
unknown error in execution time

I’ve lloked into class.php in order to see the error, but there it looks just like the other function that works.

Do you know what is happening? Thank you.

5:14 pm on 9/25/2006 13. Teresa Yash

Good work. Interesting posts, besides those spam…

12:38 am on 9/26/2006 14. pacheco again

Hi. I’ve seen that my problem with the poll visualization and interchange of screens only happens on IE. Everithing works fine with Firefox.

Any idea?.

2:34 am on 9/26/2006 15. Rirath

Looks great, thanks for the fixes. I’ve been waiting for 2.0 in order to use Democracy, and here it is!

3:14 am on 9/26/2006 16. dH

I just downloaded beta 2 right now. Let me see… ;)

5:50 am on 9/26/2006 17. pacheco one more time

Hello. As the voting and show votes swaping was causing problems, I had changed the code. Now I see all (the voting and the bars) at the same time, changed the way the number of votes and percentage is displayed, and also can have multiple polls active at the same time (the current one to show in the sidebar is the last active poll introduced).

But anyway, it’s a great plugin !

7:10 am on 9/26/2006 18. When Will It Happen

Great! Exactely what I was looking for. Easy to install and use. Now I just need some visitors that can vote :)

9:25 am on 9/26/2006 19. probertoj

Allows Democracy 2.0 multiple polls at the same time?

3:42 am on 9/27/2006 20. Hesham

I’m running PHP Version 5.0.4 and WP 2.0.4 and I get a blank screen as soon as I activate the plugin.

6:02 am on 9/27/2006 21. Mickey J Barczyk

Btw, regarding my comment #14, I’m using the Blix theme. I’ve read on the WordPress.org support that the problem should be fixed, but It aint working?

6:02 am on 9/27/2006 22. Mickey J Barczyk

Ops, sorry, i mean #10.

7:10 am on 9/27/2006 23. Mickey J Barczyk

Update to my problem:

I did manage to make my radiobutton 20px, but the error is still the same: the text seem to bu jumping under the radio button.

Screen shot:
http://img242.imageshack.us/img242/2365/ss3xx6.gif

I wonder, how do i make the text/questions not clickable? Maybe this might have to do something with blix theme links?

9:53 am on 9/29/2006 24. Thiago Mobilon

[code]

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '),(2, 1, '', 6, ),(3, 1, '', 1, ),(4, 1, '', 0, ),(8, 3, '', 2, 0),(9, 3, '', 13' at line 1]
INSERT INTO wp_democracyA VALUES (1, 1, '', 8, ),(2, 1, '', 6, ),(3, 1, '', 1, ),(4, 1, '', 0, ),(8, 3, '', 2, 0),(9, 3, '', 13, 0),(10, 3, '', 0, 0),(11, 3, '', 0, 0),(12, 3, '', 2, 0),(13, 3, '', 3, 0),(14, 4, '', 5, 0),(15, 4, '', 5, 0),(16, 4, '', 1, 0),(17, 4, '', 1, 0),(18, 5, '', 35, 0),(19, 5, '', 65, 0),(20, 5, '', 10, 0),(21, 5, '', 11, 0),(22, 6, '', 94, 0),(23, 6, '', 21, 0),(24, 6, '', 66, 0),(25, 6, '', 33, 0),(26, 6, '', 3, 0),(27, 6, '', 19, 0),(28, 6, '', 4, 0)

Warning: Cannot modify header information - headers already sent by (output started at /home/.doublestuff/tmobilon/tecnoblog.net/wp-includes/wp-db.php:104) in /home/.doublestuff/tmobilon/tecnoblog.net/wp-includes/pluggable-functions.php on line 272

[/code]

I´ve lost all my pools!!! =(

7:54 am on 9/30/2006 25. Core

Hi,

I’m testing your democracy 2.0 plugin with Blix theme and I’m having the same problem that Mickey J Barczyk, So how can I fix it?

Thanks,

1:21 pm on 9/30/2006 26. Viper007Bond

Two things:

* I think it’d be best if the percentage was shown and then a hover showed the number of votes (i.e. reversed of what’s on your site now).

* Upgrading from an old version on my local test blog and I decided to not keep the old polls. I dropped the tables, deleted the old files, etc. Now after activation, I get this error message on the poll manage page:

WordPress database error: [Duplicate entry '1' for key 1]
INSERT INTO wp_democracyQ VALUES (1, ‘Rate my site’, 1159651203, 0, 0, 1, 0);

WordPress database error: [Duplicate entry '1' for key 1]
INSERT INTO wp_democracyA VALUES (1, 1, ‘Best. Blog. Ever.’, 0, 0),(2, 1, ‘Could be better…’, 0, 0),(3, 1, ‘My grandma could do better’, 0, 0),(4, 1, ‘Ooh look! A butterfly!’, 0, 0),(5, 1, ‘No Comment’, 0, 0)

Using PHP 5 and MySQL 5.

9:53 am on 10/1/2006 27. Joe Banner

I got an error message regarding SQL syntax when I activated the plugin after I upgraded from Dem 1.2 to Dem 2, but it was resolved when I deleted the democracy tables and reactived the plugin. I did not have any polls as I was experimenting with the upgrade. Nothing lost. However, I do have another site that I would like to upgrade but I do not want to lose any old polls.

6:41 am on 10/2/2006 28. sahil

nice useful plugin.

5:23 am on 10/3/2006 29. patje

Hey there,

finally, it’s true i am impatient ;-) , version 2 with iplog facility to set off. Indeed again, nice plugin. I also got the wp database errors when installed over the old version and lost the answers to the questions. Where did i go wrong… Nevertheless, is there a way to activate more “polls”, because within admin i can only activate 1. When I select another poll the previous activation goes in deactivated.
TIA

2:22 am on 10/6/2006 30. Karthik

Hey can i run democracy to run a full fledged survey.. or is there a plugin to do that..

7:19 pm on 10/6/2006 31. Mark

Why do we have to put the mouse cursor on the bars to see the percentages?

2:33 pm on 10/7/2006 32. Pace

On the embedded poll (which I love) it seems the div or something is overlapping my right sidebar where ever the poll is lined up with. So if the embedded poll is directly left of some sidebar links, the links cannot be clicked.

2:29 am on 10/8/2006 33. Daniel

I have downloaded it, still on the thinking to use it effectively.

10:14 am on 10/8/2006 34. Tim

Is there a way to make this work with Safari? It works perfectly using Firefox, alittle big buggy using IE, but I’m not able to submit answers using Safari.

http://www.pimastreethockey.com

If anyone knows a fix for this please post it here.

Thanks!
- Tim

12:03 pm on 10/8/2006 35. neon

Hi, I’m trying to localize this plugin in Italian but when I add the load_plugin_textdomain() function to democracy.php I get the following error after pressing View Results:
Fatal error: Call to undefined function: load_plugin_textdomain()

1:01 pm on 10/8/2006 36. OROL

Hello, thanks for this Easy-Great plugin!
;-)
good work!

7:33 am on 10/9/2006 37. Rioc

I have the same problem as Viper007Bond (comment # 26) using PhP 5 and MySql 5 also.

3:25 pm on 10/9/2006 38. John

I have it installed, but nothing shows up in the admin panel. How do I make the settings options show up in the admin panel and how do I put the poll in my sidebar? I am running WP 2.0.4 if that makes any difference. Thanks!

9:22 pm on 10/10/2006 39. Viper007Bond

Looked into switching the percentage and the count. Turns out Jalenack is smart and did the toggle via CSS.

To switch them, open up basic.css and look for these two items:

.dem-graph a b
.dem-graph a i

They are about 2/3 of the way down. Wherever it says “i”, put a “b” and wherever it says “b”, put an “i”. You should have 6 changes — 3 for the normal CSS, 3 for the IE hacks.

Also, to get it to work right, I’d add this in somewhere (to either stylesheet, it doesn’t matter):

.dem-graph a b, .dem-graph a i {
width: 200px;
}

You may have to fiddle with the width to make it fit your theme. It should be as wide as possible, but not wider than your bars (obviously).

9:23 pm on 10/10/2006 40. Viper007Bond

John: read the readme — step #4 under “Installation”. ;)

9:43 pm on 10/10/2006 41. Viper007Bond

Hmm, I take that back, John. I just installed it on one of my sites and while it worked on my local install, the tab doesn’t show up on this online site. Odd.

9:49 pm on 10/10/2006 42. Viper007Bond

Nevermind! I just add to go to the role manager page since I have that plugin installed. I can see the manage page now. :)

7:41 am on 10/11/2006 43. Major Pain

C’est trouis bien. Nice, i mean. Thanks!

8:36 am on 10/11/2006 44. DarkDan

One bug:
I didn’t vote and just wanted look at the poll results. I clicked on the link to go back to vote. It wouldn’t send me back to be able to vote. I had to go back to the home page and click on the article again….then I was able to vote.

5:41 pm on 10/11/2006 45. Viper007Bond

RE: My previous comment about switching the percentage and count.

I just activated Democracy at one of my sites. You can see my modification there.

10:51 pm on 10/11/2006 46. Viper007Bond

I just noticed that the answers for my polls from v1.2 were lost (but the question and count was not). Might wanna look into that.

12:32 am on 10/12/2006 47. Viper007Bond

Man, I sure am comment happy…

Anyone have any ideas on how to fix the issues with the vote count & percentages line wrapping in IE6 when the grey bar is short?

$#%#$^@#$

12:57 am on 10/13/2006 48. Mike

Just wanted to say that I’m using it :)

I just have some issues with the user added choises in IE but I didn’t bother to look at it in detail…

Oh and thanks for the great plugin!

12:59 am on 10/13/2006 49. Mike

Oh and by the way, a language pack and some templating would be a nice thing to put on your future feature list! (I now had to edit all the language stuff in the code, that kinda sucked ^_^)

3:41 pm on 10/13/2006 50. DarkDan

Yes, I’ve confirmed that a user cannot add a choice with IE, but it works fine in Firefox.

12:58 am on 10/15/2006 51. StyleLotußien

encore et toujours du flood ici c’est pitoyable …

12:17 am on 10/17/2006 52. Ronald

In the admin panel democracy isnt counting the votes, it just sticks at 0. On the page itself it does show the number of votes submitted. WHat can be wrong?

12:19 am on 10/17/2006 53. Ronald

And is it possible to have 2 active polls at same time?

9:30 am on 10/17/2006 54. James

Anyone know why the answers to the poll aren’t showing up when the bars are displayed? I have bars, and number of votes but you can’t tell which bar means what.

http://www.rightonblog.net/

2nd sidebar under “asides”.

9:34 am on 10/17/2006 55. James

I made a new poll and the answers show up… did the new Democracy Beta strip out my answers?

1:23 pm on 10/18/2006 56. Jeff Noble

Love it! Great, easy to install plug-in!

12:14 pm on 10/21/2006 57. Minotaur Nicce

I know, ask me. Also some interesting sites.

3:28 pm on 10/21/2006 58. Schmitty

Love the look and function of this plugin! I have had problems getting the democracy_archives function to work however, and am wondering if a) the docs are accurate about calling the function, and b) if any extra setup needs to be done so the function will work..

Thanks!
Schmitty

6:49 am on 10/23/2006 59. ronald

in the admin panel the poll isnt counting the votes. it just sticks with ‘so far, 0′. How to solve this?

10:47 am on 10/23/2006 60. Mike

I love Version 2 of this plugin but am having one problem.

My archives page displays the textual answer options for only the most recent 13 polls. Beginning with the 14th in the list, all I have is the poll title and the bars but no answer text.

Can you help?

11:17 am on 10/23/2006 61. Mike

Never mind, it was a problem on this end relative to switching versions and turning the poll on-and-off several times in the past.

Sorry, it’s a beautiful thing now that I’ve deleted all the bad ones in the archive.

Thanks again for this great plugin!

9:58 pm on 10/26/2006 62. Omry

Hi,
I extracted the beta zip in plugins, activated the plugin from the menu, and I don’t see anything in the manage menu.
my blog does not support widgets, could this be the reason?

3:34 am on 10/27/2006 63. Dom

Doesn’t appear to work with wp-cache – or ath least, I can’t find a way to make it work. Anyone?

9:53 pm on 10/27/2006 64. Jr

awesome plugin!
thanks!

12:11 pm on 10/29/2006 65. Matthew

I’ve used Democracy since it was in its early versions, and this one is better than ever. I too got the SQL errors when activating it though, and was only able to make it work when I dropped my tables for the existing Democracy plugin. I did this all on my test site; I’d really like to be able to upgrade and save all my old polls, especially now that we have an easy way to display them with the archives functionality.

2:57 pm on 10/29/2006 66. Kyle Gilman

In v1.2 the column that held the answer text was called “answers” and in v2.0 it’s called “answer” so when 2.0 is installed it gets rid of the “answers” column and replaces it with a blank “answer” column for all the existing answers. If you rename the “answers” column to “answer” before you upgrade I believe that will help you avoid the problem. Or if you’re like me and you don’t read the comments ahead of time, restore from a backup and change the column name to “answer” that brought back all my old answers.

4:03 am on 10/30/2006 67. Aaron Brazell

Folks, you gotta pay him to do anymore work on this. That’s what I had to do to drag him back to his “volunteer” work. v2 still has tons of problems but there’s no sign Andrew is around and if D1.2 is any indication, he won’t be until someone ponies up some money.

9:37 pm on 10/31/2006 68. Jim

For some reason the bars (where the number of votes and percentages are displayed) are really big, but the words are small and don’t take up the whole space. Is there anyway to have the bars be small (like everyone else I’ve seen who uses democracy)?

11:24 pm on 10/31/2006 69. bonniecool

It’s a nice tool but does it have a feature that you just have to paste one code in all your post but it shows different results? Just like post voting. You dont have to set an id in order to use it on a specific post.

Thanks

12:33 am on 11/2/2006 70. Mohd Heidzir Mohd Jamaraji

Hi,

I get this error. A bit strange. I also create my own plugin, but did not get this kind of error. Please help. Your plugin look cool from your demo.

Fatal error: Cannot redeclare jal_democracy() (previously declared in /var/www/html/mmblog/heidzir/wp-content/plugins/democracy/democracy.php:23) in /var/www/html/mmblog/heidzir/wp-content/plugins/democracy/democracy.php on line 23

WordPress 2.04
PHP5
Apache 1.3

11:52 am on 11/2/2006 71. djuggler

If 2.0 “… is recommended for testers only.” and 1.2 has been removed for security reasons. Is there anything in between?

10:38 am on 11/3/2006 72. Andy

Great plugin! Just a small observation for localisation. Looking forward to the pot file, by the way. After “date added”, for some reason the month slides back into english. If I use j F Y, elsewhere the month will be translated but not here. If I change to j/n/Y for example, no problem.

3:21 pm on 11/3/2006 73. John

Great plugin, easy installation, works perfectly. Keep up the good work! The Allow users to add choices feature is superb.

Thanks.

5:41 pm on 11/4/2006 74. Marko

I have a question. Is there a way for this poll to allow only one vote per ip adress? Or this is already built in?
Thanks.

5:52 am on 11/5/2006 75. BKJ

Feedback, delete this message if you want to.
Democracy 2.0 Beta 2. version of Democracy poll, I get an error for the widget usage.
Also, when deactivating and reactivating Democracy plugin, get a database error; maybe you’re trying to re-create the tables and they already exist?
Here is the Widget’s error:
Warning: Invalid argument supplied for foreach() in /home/cust1/user1125193/html/residents/wp-content/plugins/democracy/class.php on line 189

Warning: Invalid argument supplied for foreach() in /home/cust1/user1125193/html/residents/wp-content/plugins/democracy/class.php on line 203

1:08 pm on 11/6/2006 76. Jake Igle

Why is it so impossible to make everything?

9:45 am on 11/7/2006 77. jamshed

Oh nice COOl thanks, working fine:) useful

regards,
http://www.firefoxdir.com

9:03 am on 11/8/2006 78. Joseph Crawford

This is a very well put together plugin, i like it so far and i am digging deeper to figure out if you have have text boxes for responses rather than just radio buttons.

I think it would be nice if you could style the css buttons, labels, and submit button from the css file without having to alter the plugin code.

4:05 am on 11/10/2006 79. Lars

I’m looking forward to try the new 2.0.1 Democracy but when I try to download it I get an empty zip-file (dem2.zip). Is it just me?

5:53 am on 11/10/2006 80. Lars

Just ignore my last post. It download just fine now. And it looks excellent in my Blix theme:) Thanks.

12:42 am on 11/12/2006 81. Mimo

Hi,
I upgraded to 2.0.1 yesterday, thanks for a great plugin. A lot of improvements since version 1.*

I have run into a few problems though:
1) I receive 2 validation errors (ampersands i suppose): http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fmimos.sacinom.com%2Fblog%2F and I have not been able to locate where I can correct this.
2) The line when the poll started: Allthough I have the Swedish mo-file it prints “Sunday”. I removed the day now.
3) I did try to add an answer as a test, after removing the answer in the control panel, the vote still counts.

Thanks!

12:49 am on 11/12/2006 82. Mimo

Forget the last issue (no 3) in my post above. The count was corrected after I received one more vote :)
Sorry!

3:03 am on 11/12/2006 83. Loopylolo

I dont like this site its too complicated for the likes of me

11:25 am on 11/13/2006 84. Mimo again

Well, I have not solved my problems, (see above) but at least I have localized the validation-errors.
It is comming from when someone let a visitor add an answer. Disabling that function validates the page.

Since I like letting visitors add their own answer, I can cope with that ;)
But if someone knows how to correct it I would really apreciate it!

Take care!
/Mimo

11:01 am on 11/15/2006 85. McShelby

Hi there, as ViperBond in comment #24 I also get this SQL errors. This was a first time installation of the plugin in my test blog. I am using WP 2.0.4 with a Xampp release on a Windows workstation. Here’s the error output from the admin panel:

WordPress database error: [Duplicate entry '1' for key 1]
INSERT INTO wp_soeren_democracyQ VALUES (1, 'Rate my site', 1163616522, 0, 0, 1, 0);

WordPress database error: [Duplicate entry '1' for key 1]
INSERT INTO wp_soeren_democracyA VALUES (1, 1, 'Best. Blog. Ever.', 0, 0),(2, 1, 'Could be better…', 0, 0),(3, 1, 'My grandma could do better', 0, 0),(4, 1, 'Ooh look! A butterfly!', 0, 0),(5, 1, 'No Comment', 0, 0)

8:41 pm on 11/15/2006 86. Tim

I would like to allow visitors to vote up to three times. I’m sure it’s just a simple change in the code somewhere to change IP logging. Anyone know if this can be done?

5:24 am on 11/16/2006 87. wrex

I can’t seem to activate this properly. From “Plugins,” when I click on “Activate,” I first get:

Parse error: parse error, unexpected $ in ../wrexgrafix.com/anime/blog/wp-admin/upgrade-functions.php on line 539

I click the “back” button, and it seems it’s activated, but when I go to “Manage” I don’t see Democracy included. Any ideas of what I should do?

I’m using WordPress 2.04 with Firefox 1.5.08 on a Mac.

11:43 am on 11/17/2006 88. Erik J. Barzeski

I’m not particularly keen with the massive amount of HTML these polls spit out. There are \n and \t all over the place. I’ve removed most of them and still WordPress insists on putting <p> tags in various places (oftentimes without closing the tag) or <br /> tags. Can some cleanup be done in 2.0.2 or will I need to keep running my hacked up version of 2.0.1 for awhile?

3:08 pm on 11/18/2006 89. Alberto A-P

Is there any way to close a poll???

12:33 pm on 11/19/2006 90. rolf

What I’ve done:

# Upload the entire folder named democracy into the plugins folder (/wp-content/plugins/) of your WordPress installation. Do not use the folder Democracy 2.0.1, use the folder inside it.
# Login to your WordPress admin panel, click on Plugins, and activate Democracy.

-Wordpress Version 2.0.5
-PHP Version 5.0.5
-Democracy 2.0.1

Problem:

Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/share/pear/class.php) is not within the allowed path(s): …./subdomains/blog/httpdocs:/tmp) in …./subdomains/blog/httpdocs/wp-content/plugins/democracy/democracy.php on line 12

Warning: main(class.php) [function.main]: failed to open stream: Operation not permitted in …./subdomains/blog/httpdocs/wp-content/plugins/democracy/democracy.php on line 12

Fatal error: main() [function.require]: Failed opening required ‘class.php’ (include_path=’.:/usr/share/pear’) in …./subdomains/blog/httpdocs/wp-content/plugins/democracy/democracy.php on line 12

the class.php is in the same directory

thanks for any help

1:11 pm on 11/20/2006 91. Corinne

Not all of the graph is showing, it only shows half of the bar: http://luve-me.net/#poll

3:40 pm on 11/20/2006 92. Ralph Dagza

Amazing!

its very useful and way better than other wp polls that are out there

3:41 pm on 12/3/2006 93. Ian

I just want to know if there is a way to just display the results of a poll in a post?

8:44 am on 12/4/2006 94. Matt Herzberger

Has anyone else had the problem that when you install the plugin and activate it your whole site goes away? I had to ftp and remove the “democracy” plugin folder then the site came back. Im using WP 2+ any ideas?

8:03 am on 12/5/2006 95. danithew

Like Alberto A-P (comment #90) I am wondering if there is a way to close/finish a poll so that no more votes can be cast and so that only the result tally shows. I have a current poll that is coming along nicely but at some point I’d like to end it.

10:46 am on 12/5/2006 96. test

thanks.

7:13 am on 12/6/2006 97. Юрий

Отличный скрипт пользуюсь :)

3:47 pm on 12/7/2006 98. Chris

Yay, 100! Lol!

7:33 pm on 12/7/2006 99. om7ack

following test :D

7:36 am on 12/9/2006 100. theglobalconsensus

Hi,

Great plug-in – the basis for my new site!

Question, though – Anybody know how I might get multiple active polls running simultaneously? One of the previous comments had mentioned it…

Ta.

1:13 pm on 12/9/2006 101. Soeren

I get the following error message:

Warning: main() [function.main]: open_basedir restriction in effect. File(/class.php) is not within the allowed path(s): (/home/web/web18357:/var/tmp:/usr/local/lib/php:/usr/local/share/pear) in /usr/home/web/web18357/wp-content/plugins/democracy/democracy.php on line 12

Warning: main(class.php) [function.main]: failed to open stream: Operation not permitted in /usr/home/web/web18357/wp-content/plugins/democracy/democracy.php on line 12

Fatal error: main() [function.require]: Failed opening required ‘class.php’ (include_path=’.:’) in /usr/home/web/web18357/wp-content/plugins/democracy/democracy.php on line 12

Help appreciated.

7:04 am on 12/10/2006 102. Klaas Koopman

How can I change the words used in the script? Everytime I try and change it I’m getting errors:

Parse error: syntax error, unexpected T_STRING in /home/koopmans/public_html/wp-content/plugins/democracy/class.php on line 164

11:05 am on 12/10/2006 103. Počasí

Interesting

5:47 pm on 12/11/2006 104. mpb

We’re trying a version over at the edublogses which is a multi-user WordPress. There is a stray lower-case letter n which show up just before the poll coding e.g., div n pollcode /div

This shows up automatically whenever the plugin is called, i.e., cannot delete the n then save the post. The n is always restored.

Is this a bug?

12:46 pm on 12/12/2006 105. Nathan Bent

Is this going to be compatible with the new wordpress? From what I’ve heard (and made up) it shouldn’t be too hard to port it, but I’m no expert. I’m also insane.

8:30 pm on 12/13/2006 106. emre

With the theme I am using the style sheet should read thus in order for the appearance to be uniform across Firefox and Internet Explorer:

.democracy ul {
padding: 0;
margin: 0;
}

(I just added a line.)

1:47 pm on 12/16/2006 107. Smighrf

.

3:15 am on 12/17/2006 108. Bojidar

Hi, I was just wandering is there opportunity to be viewed the old polls from that great plugin, I mean a link like – view old poll results and to show all the polls, or the 5 last polls?

9:10 am on 12/17/2006 109. Hoboken411

FIREFOX 2.0 BUG
I recently upgraded my browser to Firefox 2.0, and now the poll isn’t working properly.

It used to work in FF 1.5, and works fine in IE6 and IE7. Here’s the problem:

When I put the PHP code in the sidebar, pressing the “Vote” button does NOTHING.

I then have to click “see the results”, which erases EVERYTHING BUT THE POLL from the side bar. Then I have to click to the vote screen, then it will accept my vote.

Why is the vote button malfunctioning? Why does it unload the rest of my side bar?

Please help!!

2:58 pm on 12/20/2006 110. Chat

Yet another great plugin from Skippy. Worked like a charm the first time. Thanks!

chat

4:13 pm on 12/20/2006 111. Hoboken411

Has anyone else noticed the issue with FF2.0?

Edit:
I solved the problem. I had the php script in TABLE tags. I removed the TABLE, and it works like a charm now.

PS, I know tables are silly for a sidebar, but I needed to add them for some of my code to prevent it from throwing the theme out of whack. But it was ok for the poll!!

Thanks.

5:41 am on 12/21/2006 112. Edie

I have problem, because when I click on Manage, then Democracy Poll I see

WordPress database error: [Zvojen-B� kl�� '1' (��slo kl��e 1)]
INSERT INTO wp_democracyQ VALUES (1, ‘Rate my site’, 1166708171, 0, 0, 1, 0);

WordPress database error: [Zvojen-B� kl�� '1' (��slo kl��e 1)]
INSERT INTO wp_democracyA VALUES (1, 1, ‘Best. Blog. Ever.’, 0, 0),(2, 1, ‘Could be better…’, 0, 0),(3, 1, ‘My grandma could do better’, 0, 0),(4, 1, ‘Ooh look! A butterfly!’, 0, 0),(5, 1, ‘No Comment’, 0, 0)

can you help me? where is mistake?

3:34 pm on 12/21/2006 113. Erik J. Barzeski

Your use of the $table* variables implies that Democracy will need quite an update when WordPress 2.1 is released. True?

1:20 am on 12/22/2006 114. Ronald

Big problem with IE and democracy.
Suddenly, within Internet Explorer, my blog breaks in two when adding a poll. After adding, the title and date of this post are shown on the top of the page (as it should be) but the story itself (including poll) way down below at the page. When i remove the poll everything looks as it should be.

How can this happen? see: http://www.boneless.nl (with IE) to see for yourself. In Firefox all is shown as it should be.

1:31 am on 12/22/2006 115. Ronald

Another question:
How come in IE the results are showns as total votes, when in Firefox it shows the percentage of the total votes?

7:33 am on 12/22/2006 116. Aaress

Great Poll Plugin! Thanks!

I have a quick question that maybe someone here can help me with. I removed the dots in the css file according to the readme, but I still have the poll showing with the indent in IE 6 & 7. The dots are gone though.

What part of the code in the style css do I need to change?

Merry Christmas All!

6:42 am on 12/26/2006 117. Harvey

The installation seemed to go OK, the text describing the election options for the poll show up blank. However when “viewing results”, one can see that all the selection choices are there as they should be.

Has anyone ever seen this before?

You can see what I’m talking about with the demo poll on my site now.

Thanks for any help as always!

- Harvey

8:43 pm on 12/26/2006 118. Jessi

I too would like to know if one can close a poll. I had people vote on their favorite of the themes I had available at my site, and I used the results to take most of them down. So it doesn’t make sense for anyone to vote in this poll any more, and I would like to make sure they can’t.

10:06 am on 12/29/2006 119. Heather

Hey – I LOVE this poll. It is absolutely fabulous. I have one request. Can you please make it Valid XHTML 1.0 Transitional?

When I integrated it into my WordPress blog I lost my validity. I know that isn’t altogether important as far as the functionality of WordPress, but it is important for the functionality of my anal retentive personality. :)

Thank you for developing such a great plugin!

6:02 pm on 1/3/2007 120. spicey

Im into this competition in Sweden for SEO and i have used the old plugin oops 1.2 so i have a lot of pages. But i like the plugin though.
I have switched now to the new plugin.

5:06 am on 1/6/2007 121. Morten Frederiksen

I have created a generic localisation (.po) file and a translation (.mo) into Danish, added the necessary code to actually perform the translation, as well as fixed three string that weren’t set up correctly for localisation.

A complete package with all of the above included can be found here:
http://www.wasab.dk/morten/2007/01/democracy-2.0.1mf.zip

10:34 am on 1/7/2007 122. Chris

Hey…I had a bit of an issue when installing this plugin. I uploaded it to the plugins directory as instructed, etc. When I activated the plugin, it took down wordpress and it also appeared to change my admin password. I reverted from backup, and everything was fine.

I’m probably an idiot, but just wanted to let you know to check your distro.

-Chris

12:59 am on 1/8/2007 123. a designer

I love this plug in, but is it possible to make this a stand alone system for sites not actually using wordpress?
There are very few good rating systems around.

6:34 pm on 1/8/2007 124. adam

It doesn’t seem to be working for me. I made a poll, id# 2, and whenever I type (democracy: 2) in a post, the poll doesn’t appear, but rather “(democracy: 2)”. Any ideas why this might be? I have tried this using both the rich text and the html editor, and both with and without a space between the colon and the number (democracy: 2; democracy:2). Thanks

7:25 pm on 1/8/2007 125. Zarra Ock

Strange things happens too many times to be just an occasion

5:20 am on 1/9/2007 126. andre

so nice this

5:42 am on 1/11/2007 127. shy

ééééé

5:45 am on 1/11/2007 128. Jim Gatos

Thanks for the Democracy plugin! It’s the best plug in I have EVER found!
You’re a genius!
Jim

11:36 am on 1/13/2007 129. kour

Great job :)

7:48 am on 1/14/2007 130. Lex Luthor

So is there any way to fix the problem of users not being able to add poll answers?

It seems some of my users can and some of my users just can’t regardless of whether they are running firefox or IE. Any solutions to this? I’m getting tons of e-mails about it all the time, which is really annoying.

11:08 pm on 1/14/2007 131. Orhun Jack

God bless any child in this world and beyond

7:31 am on 1/15/2007 132. Paul

Great plugin, thanks.

I there a way to have 2 active polls going at the same time?

10:29 am on 1/15/2007 133. Brett Romero

I’ve install the plug-in but get this when I go to manage it through the admin:

WordPress database error: [Duplicate entry '1' for key 1]
INSERT INTO wp_democracyQ VALUES (1, ‘Rate my site’, 1168885119, 0, 0, 1, 0);

WordPress database error: [Duplicate entry '1' for key 1]
INSERT INTO wp_democracyA VALUES (1, 1, ‘Best. Blog. Ever.’, 0, 0),(2, 1, ‘Could be better…’, 0, 0),(3, 1, ‘My grandma could do better’, 0, 0),(4, 1, ‘Ooh look! A butterfly!’, 0, 0),(5, 1, ‘No Comment’, 0, 0)

Otherwise it seems to work fine. I’m running WordPress 2.0.5. Do you have any suggestions for fixing the above errors?

Kind regards,
Brett Romero

11:42 pm on 1/17/2007 134. Ben-Inside

Hi,

perfect Plugin. I have translated it into German, but have two questions:

Where can I change the date_format?
How can I change the space between the poll-title and the answers? I wanna have more space between both.

Thanks
Ben

12:01 am on 1/19/2007 135. Ben-Inside

Where can I see the IPs of the user that make a vote?

3:23 pm on 1/23/2007 136. Lu

Hi! I love this plugin and I’d like to know if it will work fine with WordPress 2.1…
Tks!

11:51 pm on 1/23/2007 137. StoneCypher

Something in WP 2.1′s stylesheet breaks the democracy stylesheet such that framing bars are minimum-fit right aligned, and content bars are beneath rather than within the framing bar.

2:41 am on 1/24/2007 138. Alasdair

Hi There,

I love this plugin. But last night I upgraded to WordPress 2.1 and it is now broken. I know, I know, I should have waited.

Any chance you could take a look and see if a fix could be made?

Many thanks.

10:19 pm on 1/26/2007 139. CVOS

Awesome plugin – this will be the first mod to my blog!

10:55 pm on 1/26/2007 140. bayan arkadaş arıyorum

thanks to little koom

6:13 pm on 1/28/2007 141. Todd

Although democracy 2.01 is listed as compatible with wordpress 2.1, the management page in the dashboard doesn’t work when this plugin is activated.

1:13 am on 1/29/2007 142. DarkPilgrim

Nice done! I will try it on my new site!Thx for your work!

2:36 pm on 1/29/2007 143. altoyes

hi folks
thankyou for your time.

i saw the code to put several polls on one page and have lost the page. can anyone tell me where that code is mentioned?

4:19 pm on 1/29/2007 144. altoyes

isn’t it amazing how often, when you give up in despair of finding something, that within a very short time, you find it.

after searching and searching on the net, i found the code for the multiple polls on one page, in the READ M Etxt file.

5:12 pm on 1/29/2007 145. altoyes

thankyou jalenack for this elegant plugin.
it works beautifully for me – i am using devenir en gris theme by neuro.

8:43 pm on 1/29/2007 146. Pavel Brain

Kindzmarauli vs conyaq, or some…

9:47 am on 1/30/2007 147. Luca

i installed wordpress 2.1 and democracy has some problems now…. i cant create new polls

10:26 am on 1/31/2007 148. Sean

Installed on WP 2.1 and it’s bugtastic. We can create new polls, but only if they are 4 questions in the poll. Whenever you click “Add an Answer” or “Remove an Answer” it either closes out of that poll or adds a whole new poll. Any fixes on the way?

1:35 pm on 1/31/2007 149. Davezilla

Been using Democracy since the first version. 2.0 and 2.1 are really buggy. IE Win users tell me they can’t post anymore and Mac Safari users get a really odd bug; the vote button keeps growing and shrinking. I was able to duplicate this myself. It looks like it’s adding and removing characters to itself.

2:34 am on 2/1/2007 150. martin

No vyzera to dosť super..

12:04 pm on 2/1/2007 151. sohbet

Gel Gör Beni Beni Aş Neyledi

12:06 pm on 2/1/2007 152. sohbet

thansk You ples

12:07 pm on 2/1/2007 153. martin

Отличный скрипт пользуюсь :)

12:08 pm on 2/1/2007 154. sohbet

Отличный скрипт пользуюсь :) yes

12:10 pm on 2/1/2007 155. taşyünü

Отличный скрипт пользуюсь пт льзуюсь

2:37 pm on 2/1/2007 156. heryy

Wolcome http://www.sohbetsever.net Send you :D

2:39 pm on 2/1/2007 157. kelebek script

http://www.kelebek.org beatifull

7:22 am on 2/6/2007 158. kaka

Big bug!

WordPress database error: [Duplicate entry ‘1′ for key 1]
INSERT INTO wp_democracyQ VALUES (1, ‘Rate my site’, 1168885119, 0, 0, 1, 0);

WordPress database error: [Duplicate entry ‘1′ for key 1]
INSERT INTO wp_democracyA VALUES (1, 1, ‘Best. Blog. Ever.’, 0, 0),(2, 1, ‘Could be better…’, 0, 0),(3, 1, ‘My grandma could do better’, 0, 0),(4, 1, ‘Ooh look! A butterfly!’, 0, 0),(5, 1, ‘No Comment’, 0, 0)

The plugin wanted to insert the defaut poll to table when you visit option panel every times !

11:53 pm on 2/6/2007 159. David

Yes got the same issue – looks it is preventing me tocreate a new poll as well.

9:18 am on 2/7/2007 160. Scott at Real Epicurean

Next version, please make for XHTML1.0 Strict validation. I’ve modified it on my site to validate – it just needed a couple of paragraph tags entering either side of the input tags in class.php

12:43 pm on 2/7/2007 161. Andy

Love the plugin, but confirm that latest version doesn’t work with WP 2.1.

Thanks for the great contribution…

-A

2:32 pm on 2/7/2007 162. gutielua

I fault whit the updated! All my answers lost it! Only I have the cuestion, why?

Regards!

4:22 pm on 2/7/2007 163. BGH Quiz

I can confirm, the plugin is screwed with WP 2.1
The lists formatting esp. doesn’t work. I’d really ask for an update, because I need the polls for my blog concept especially.

6:28 pm on 2/7/2007 164. rbrt

Coole Sache.. :) ..means “cool stuff”! Just one question: is it possible to see who took part (from the ip)..?

Tnx a lot!

3:43 pm on 2/8/2007 165. Scott at Real Epicurean

Just to respond to the other guys; I’m on WP2.1, and the plugin works. Other then the validation, which I had to tweak as in my previous comment.

Oh, and when I have 2 polls on the same page (i.e. if one is in the sidebar), the validation goes crazy…But I think you know about that (so please fix it).

12:55 pm on 2/9/2007 166. Jack

I use the older version of the poll, and WP. But is it possible to not show the visitors the results of the poll? Thanks.

6:27 pm on 2/9/2007 167. Kman

Just added it and it works great. Thanks!

11:40 am on 2/10/2007 168. zyboy

to help out the folks with the INSERT issues – I’m guessing it’s a case issue. THe Poll php code uses democracyQ when addressing the mySQL table, but your mySQL table is probably called democracyq.

Same for democracyA and democracyIP.

Either do a search and replace to change the php to lower case, or upper-case the trailing letters in the mySQL tables..

6:01 am on 2/11/2007 169. Ron Olson

I had Democracy 1.2 up and running fine. Then I came across your latest release, Democracy 2.0, and now I’m getting the following database error.

WordPress database error: [Unknown column 'current' in 'where clause']
SELECT * FROM wp_democracyQ WHERE current = 1 LIMIT 1

I hate going into my DB – do you have a quick fix?

1:40 pm on 2/11/2007 170. Jason

My page uses 1.0 Strict validation and it is not validating with this otherwise great plugin. To me it appears 1.o strict does not like a paragraph being embedded between two divs. A div can’t be embedded into a paragraph. Can you please tell me how to fix this because I get a whopping 5 errors, here you go:

# Line 90 column 23: document type does not allow element “div” here; missing one of “object”, “ins”, “del”, “map”, “button” start-tag.

The mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as “” or “”) inside an inline element (such as ““, “”, or “”).


# Error Line 108 column 54: document type does not allow element “input” here; missing one of “p”, “h1″, “h2″, “h3″, “h4″, “h5″, “h6″, “div”, “pre”, “address”, “fieldset”, “ins”, “del” start-tag.


# Error Line 109 column 56: document type does not allow element “input” here; missing one of “p”, “h1″, “h2″, “h3″, “h4″, “h5″, “h6″, “div”, “pre”, “address”, “fieldset”, “ins”, “del” start-tag.


# Error Line 110 column 62: document type does not allow element “input” here; missing one of “p”, “h1″, “h2″, “h3″, “h4″, “h5″, “h6″, “div”, “pre”, “address”, “fieldset”, “ins”, “del” start-tag.

…ut type=’submit’ class=’dem-vote-button’ value=’Vote’ />


# Error Line 111 column 232: document type does not allow element “a” here; missing one of “p”, “h1″, “h2″, “h3″, “h4″, “h5″, “h6″, “div”, “pre”, “address”, “fieldset”, “ins”, “del” start-tag.

… rel=’nofollow’ class=’dem-vote-link’>View Results

3:09 pm on 2/11/2007 171. Scott at Real Epicurean

Jason: In class.php simply add the p tags either side of the offending “input” lines.

Now my question: Why wont my deactivated polls close? They’re still accepting votes.

3:53 pm on 2/11/2007 172. Jason

OK fixed 4 of the 5. I think this is because this div is inside the a -p-. Can’t find the -p- that preceeds this div in the class.php though, any suggestions. Here it is:

Error Line 90 column 23: document type does not allow element “div” here; missing one of “object”, “ins”, “del”, “map”, “button” start-tag.

-div class=’democracy’-

The mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as “

” or “

“) inside an inline element (such as ““, ““, or ““).

6:46 pm on 2/11/2007 173. Ashish Mohta

I would love to use it, as it can be presented within the post.Is it wp 2.1 compaitable.?

Ashish

10:08 am on 2/12/2007 174. PrivacyMinded

I need to run some sensitive polls, and hence I need to guarantee the privacy of the voters. I must NOT be able to easily link the answers to the IPs/identities of the voters. And nobody else, either.

This means that no cookie should contain any information that relates to the answer given, and that the IP address is not linked with the actual vote given.

I know that I could alter the scripts to log and track anything, but I do not want to do it – and I do not want to store such data that could be compromized later.

Does Democracy provide any privacy?
What is that number stored inside the cookie?

Thanks.

ps. It’s a great great plugin.

11:50 am on 2/12/2007 175. Jason

I went through the code as much as I could and cannot find the -p- that is inserted on the highest level. It goes -div- -p- -div class democracy-. I want to remove the -p- because I believe it is causing the validation error everyone is getting. Where is it inserted in the code. Here is the error:

Error Line 90 column 23: document type does not allow element “div” here; missing one of “object”, “ins”, “del”, “map”, “button” start-tag.

-div class=’democracy’-

The mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as “

” or “
“) inside an inline element (such as ““, ““, or ““).

1:32 pm on 2/12/2007 176. PrivacyMinded

setcookie(“demVoted_{$this->id}”, $answer, time()+$cookie_last, COOKIEPATH);

— oh shit.

I guess it is enough to just replace that $answer with “GARBAGE”? Right?

2:07 pm on 2/12/2007 177. PrivacyMinded

PanicMode->Off

Problem solved. Changed code:

setcookie(”demVoted_{$this->id}”, “ANSWER_NOT_STORED_IN_COOKIE”, time()+$cookie_last, COOKIEPATH);

After this modification, there is no answer anymore inside the cookie.

I hope that this doesn’t break anything…

Can we have this as a feature?
Thanks.

5:54 pm on 2/12/2007 178. Jason

I just encircled the -div class=democracy – with an object to shut it up. Its now valid…

10:46 am on 2/16/2007 179. David

Bugfix for SQL “Duplicate entry” messages in the admin menu:

In democracy.php, edit lines 135 and 138, and change the table names to lower case, like so:

——— REPLACE: ————–
135: $first_time = $wpdb->get_var(“SHOW TABLES LIKE ‘{$table_prefix}democracyQ’”) != $table_prefix.”democracyQ”;

138: $upgrading = !$first_time && $wpdb->get_var(“SHOW TABLES LIKE ‘{$table_prefix}democracyIP’”) != $table_prefix.”democracyIP”;

———- WITH THIS: ——————-
135: $first_time = $wpdb->get_var(“SHOW TABLES LIKE ‘{$table_prefix}democracyq’”) != $table_prefix.”democracyq”;

138: $upgrading = !$first_time && $wpdb->get_var(“SHOW TABLES LIKE ‘{$table_prefix}democracyip’”) != $table_prefix.”democracyip”;
—————————————–

Hope this helps someone…

5:05 am on 2/18/2007 180. LostInNetwork

Could we please have an !important modifier to poll labels in the Democracy 2 CSS? People are having trouble with badly designed themes with label { display:none } …

Thanks

6:56 pm on 2/19/2007 181. saurabh

I have successfully installed the polls plugin from the admin. It has also been activated in the plugins menu. But, I do not want to add this poll in the sidebar (through a sidebar widget). I actually want it to appear as posts or archive pages.

The method to do so is given in the installation procedure.
But i am having difficulty in understanding the #6th & 7th point stated by you. Kindly guide me, how should i go about solving this problem.

AS STATED BY YOU: #6.If you want to add individual polls to your posts or pages, write {democracy:*}in the Write screen wherever you want to display a poll. The * corresponds to a poll ID, so if you want to use poll ID 15, you post would resemble bla bla bla bla {democracy:15} bla bla bla. The poll ID can be found in the Democracy Poll admin panel, by looking at the first column of the table of polls. To use the current poll, just write {democracy}.
#7. To create an archives page, create a new Page in (Write > Write Page). Somewhere in the content of this page, add the following where you want the archives to appear: {democracy_archives}.

I am reletively new to the wordpress environment & also the concept of web development. I would feel obliged, if a step by step procedure to be followed is suggested.

I am currently using wp2.1

Thanks & regards
Saurabh

11:51 am on 2/22/2007 182. Gary

This plugin rocks. It was everything I wanted and a lot more. All I wanted was a polling widget, but the in post polling is really cool – thanks.

2:14 pm on 2/22/2007 183. ModemRat

Very Niiiice!

8:11 am on 2/23/2007 184. Diego

Hi all,

I’m using a Subtle Theme, which allows for multiple widget sidebars, each placing the widget in different parts of the site. I’m trying to get democracy polls to appear in 2 sidebars in different pages, but because I only have 1 widget, I tried to duplicate the democracy widget using jaw duplicate widgets. The problem is that this last plugin cannot duplicate some widgets (the reasons for my betters at coding are well explained by Rich in http://justaddwater.dk/wordpress-plugins/#regular)
and Democracy is one of those… Is there any way to call the poll just like in posts? I tried using {democracy:ID} in a php text widget but it didn’t work. Thanks! Feel free to check my site at http://www.secretia.com

8:25 am on 2/23/2007 185. Diego

If it’s easier for you you could just tell me what to edit according to this:

“I just took a quick look and the majority of the widget plugins I have init themselves in plugins_loaded. So it must be safe to do so.

So, the workaround for modules that won’t duplicate is to make sure they init after plugins load, not when widgets init. (For people stopping by, that means that if the module says

add_action(’widgets_init’, ’some_init_function_here’);

they should say

add_action(’plugins_loaded’, ’some_init_function_here’);

instead.)”

Thanks again!

6:17 pm on 2/23/2007 186. Victoria

Problem. My resultbars won’t work. I have done exactly as you described how to install the plugin.

http://sprite.t9.se/viqtory/buggedbars.jpg

9:24 am on 2/24/2007 187. Okan Özkan

Thankss

7:58 pm on 2/25/2007 188. Lisa

Excellent plugin! I could not find your email address on this site (am I blind??) – at any rate – wanted you to know that I’m giving a spotlight on your Democracy plugin in a little project I’m working on. Many Kudos!

10:45 pm on 2/25/2007 189. Flour Power

I like this plugin very much. I just need the ability to run three to five polls at the same time in an upcoming project.

I know that there are competing free & GPL’d products for making complete surveys, but I love the ease and simplicity of the Democracy 2 plugin for WordPress.

7:34 am on 2/26/2007 190. sojo

Will this plugin work outside of WordPress?

(on a site with php/mysql, but no WP)

tnx!

11:55 am on 2/26/2007 191. Eren

thanks man this is wonderful!

4:53 am on 2/27/2007 192. wsl

I had two issues with wordpress 2.1/mysql 5.0 on windows.

The ‘Duplicate entry’ as fixed by comment 187

And a:

WordPress database error: [Out of range value adjusted for column 'id' at row 1]
INSERT INTO wp_democracyQ VALUES(”, ‘Test’, 1172580490, 0, 1, 1, 0)

when inserting a poll

I fixed this one in the jal_create_poll function.
In the INSERT queries I changed the first VALUE from ” to null, so that inserting the identity worked.

So twice a
VALUES(”,…
to
VALUES(null,…

2:26 am on 2/28/2007 193. wsl

Another issue (dunno why I this only appears now):
javascript error on voting:
Error: this.nodeName has no properties
Source File: /wp-content/plugins/democracy/democracy.js
Line: 119

it appears that in some situations in function demVote theSubmit will not be set. Which results in above error.

Fixed it by changing

demLoading = setTimeout(dem_loadingDots.bind(theSubmit), 50);

into

if ( theSubmit ) demLoading = setTimeout(dem_loadingDots.bind(theSubmit), 50);

4:43 am on 2/28/2007 194. Ronny

The javascript to go back to the vote selection after viewing the results is broken in IE6. It does work in Firefox, but not in IE. Unfortunately most people use IE :(

2:24 am on 3/3/2007 195. uniquest.net

Thanks for plugin! Very nice!

3:23 am on 3/4/2007 196. Piilolasit

I’m looking for similar thing but for just plain xhtml, not wordpress.. Any ideas?

7:01 am on 3/4/2007 197. visskiss

brialliant plugin, but you need to change the poll results layout. It is not easy to read because the label for the bar is closer to the bar above than the bar below. check out noshampoo.org for a fixed version….

8:16 am on 3/5/2007 198. Erik

I have been using democracy for a while now and it’s great.

The only issue I have found is that when a result bar (the horizontal one) stretches the full 100% (either because it is scaled by having the most votes or because it is the only one voted on) the right side border doesn’t show, or is covered up.

I’m not sure there is any way around this but any suggestions out there?

7:14 pm on 3/6/2007 199. somebody

How can I change the displayed text when the mouse is over the whole bar not only the filled percent.

9:55 am on 3/10/2007 200. oz

I don’t have an admin panel screen. Just activated the 2.0.1 and have WP 2.1 Can create polls but when I would like to change the defaults i click on the link “go to the Role Manager admin panel” – i get a message saying cannot load admin-panel.php – the folder does not have this file.

1:37 pm on 3/10/2007 201. ayhan

It’s a nice tool but does it have a feature that you just have to paste one code in all your post but it shows different results? Just like post voting. You dont have to set an id in order to use it on a specific post.

8:27 pm on 3/13/2007 202. Jenn

Your poll plugin rocks. Thank you!

6:54 pm on 3/15/2007 203. René

Very nice plugin. It works well on the site itself, but there’s a a problem with the RSS-Feed. I’m a podcaster. If I use it, the feed will not validate any more and iTunes doesn’t accept it – which is a big problem. Is there any chance to let it appear on the site only and not in the feed? Thanks alot!

6:31 am on 3/18/2007 204. Fikra

Merci du biLLet…..

6:32 am on 3/18/2007 205. Fikra

Komik FikraLar – TeMeL FikraLari

6:33 am on 3/18/2007 206. Resim

Hey, great link collection, would be nice if they were either cronologically ordered, or had a date next to them so we could know what’s beed added new, as I’m sure others do as I do, and come back here every now and then to see new additions

10:28 pm on 3/18/2007 207. carl

hi nice plugin!! really great! thanks again

carl

4:00 am on 3/22/2007 208. Sohbet odaları

good websites thank.

1:20 pm on 3/23/2007 209. 3dr

Thank You for the great plugin, I would like to use it for a german primary school: http://www.guex.de, that means I have to translate the frontend part, where can I find the “screw on which to turn”, Thank You!

5:12 am on 3/25/2007 210. Johnpvrep

a woman’s body language a girl name a day in the life of movie a tale of two sisters movie review a girl died in 1933 by a

5:13 am on 3/25/2007 211. Johnruvzl

abc america funniest home video abuse against religious woman abbotsford movie theatre abraham sarah story wife a girl named eddy lyrics

5:14 am on 3/25/2007 212. Johnfjihj

abbot england gay newton absurd sex a bad boy gay abdominal and breast pain absolutely amber nude

11:32 pm on 3/25/2007 213. Centophobia

I love this plugin.

I first tried to use Advanced Poll using a fantastico install.

OMG, this is so much easier.

Thanks.

12:59 pm on 3/27/2007 214. arkadaş

I found an error generated on IE6 when, without voting you click “see results” and then “back to Vote screen” for the poll embedded into a post. IE says Unknown runtime error. Tried on two different computers
arkadaş

1:00 pm on 3/27/2007 215. arkadaş

I found an error generated on IE6 when, without voting you click “see results” and then “back to Vote screen” for the poll embedded into a post. IE says Unknown runtime error. Tried on two different computers
arkadaş

9:03 pm on 3/28/2007 216. Richie

I just installed in my blog,works like a charm.thanks!

4:52 am on 3/29/2007 217. sohbet

Been using Democracy since the first version. 2.0 and 2.1 are really buggy. IE Win users tell me they can’t post anymore and Mac Safari users get a really odd bug; the vote button keeps growing and shrinking. I was able to duplicate this myself. It looks like it’s adding and removing characters to itself.

3:06 pm on 4/4/2007 218. Fritten

Hi,
My Problem is, that I can’t add answers.
Everytime when I will create a Poll their comes these problem:

Warning: Invalid argument supplied for foreach() in /homepages/8/xyz/htdocs/bla/wp-content/plugins/democracy/democracy.php on line 503

WordPress Datenbank-Fehler: [Column count doesn't match value count at row 1]
INSERT INTO wp_4democracyA VALUES (null, 5, ’4z’, 0, 0),(null, 5, ‘erh’, 0, 0),(null, 5, ‘erh’, 0, 0)

Where is the Problem?
What can I do?

4:10 am on 4/6/2007 219. Elle

Jeezes Cripes! No support at all, huh? I am running the old version, which seems fine to me. The new one isn’t quite perfect, if anyone wants a copy of the old version, e-mail me from the form on my website (linked).

:-)

Jeez, I’m about to add this poll to another blog and I hope I don’t run into these awful problems. Ee.

6:56 am on 4/6/2007 220. Elle

Works great so far! NO probs!

1:56 am on 4/9/2007 221. Chris

Hey Andrew,

First of all, I would like to thank you so much for creating this wonderful plugin. My blog looks so much better now.

However, I have a problem now. The plugin was working fine when I first installed it, but, when I tried it today by submitting a vote, it did not show me the results page, in fact, it refreshed the whole page. What’s going on? Can you tell me how I should go about fixing it?

2:06 am on 4/9/2007 222. Chris

And, on top of that, it now only allows me to have one poll. I tried to activate the other polls, but when I did that, the active would be deactivated. Pls advise

11:05 am on 4/12/2007 223. kifo

I had this problem but I have no idea on how to solve it…

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1]
SELECT ip FROM wp_democracyIP WHERE qid = 4 AND ip = LIMIT 1

1:41 pm on 4/12/2007 224. Kutti

Hi there!
I like your Plugin very much but it would be great if one could also allow multiple choices what is currently not available. Is there any way I can do this? I am having a voting on my blog but I would like to give people the chance to choose several points.
I am looking forward to your answer!

6:29 pm on 4/13/2007 225. Breno

First I would like to give congratulations by the work! I am with a problem and did not I obtain answer nowhere: (I Have a blog that utilizes his one plugin, he is all in Portuguese but I not with himself alter language of date of the function “get_settings (‘dates_format’)”. Already I tried of everything, but the site continues showing the name of the month in English instead of show in Portuguese of the form that is in my
file local.php.
As I can resolve this problem?

Sorry for my bad english

Thanks,
Breno

5:56 am on 4/17/2007 226. ciruliz

Hey,

I couldn`t find answer to my question anywhere. What I want to achieve is – to run Democracy poll without WordPress :))

I started with re-writing all wp-related stuff… got no far, yet. Currently I still think, it should be possible with more or less effort :) (My personal problem is, I`m not familiar with WP structure, so it takes lot of time, while rewriting some parts of code.

Hey, but if there is somebody out there, who has already done this ? Thanks a million :)

2:35 am on 4/19/2007 227. ABC KIDS

HI everyone,

I’ve instaled laterst democracy script on my wp also instaled the widget and i get a layout error in firefox. It works fine in IE
Does anyone have an ideea why is this happening and how i can fix it?

Great Plugin!!!

thanks

2:36 am on 4/19/2007 228. ABC KIDS

HI everyone,

I’ve instaled laterst democracy script on my wp also instaled the widget and i get a layout error in firefox after you vote. It works fine in IE but not in FF.
Does anyone have an ideea why is this happening and how i can fix it?

http://www.abcfitkids.com/forum/

Great Plugin!!!

thanks

9:03 am on 4/20/2007 229. Dana

I would like to modify the results page/section of the plugin. Specifically, I want to remove the date info from every poll result and then be able to modify text that follows the results individually so that the text is different for each poll.

I tried to poke around in MySQL but I could not figure out which table holds the results and how I would modify that file. If there’s a better way to do this, that would be great, but I don’t mind having to go into the database to make the changes.

Thanks!

10:25 am on 4/21/2007 230. Marc

Good job ! As Dana says, it must be an easier way to modify the results.

1:54 am on 4/28/2007 231. Chat

Been using Democracy since the first version. 2.0 and 2.1 are really buggy. IE Win users tell me they can’t post anymore and Mac Safari users get a really odd bug; the vote button keeps growing and shrinking. I was able to duplicate this myself. It looks like it’s adding and removing characters to itself.

1:55 am on 4/28/2007 232. sex shop

Hi there!
I like your Plugin very much but it would be great if one could also allow multiple choices what is currently not available. Is there any way I can do this? I am having a voting on my blog but I would like to give people the chance to choose several points.
I am looking forward to your answer!

1:56 am on 4/28/2007 233. sex shop

Hi
I like your Plugin very much but it would be great if one could also allow multiple choices what is currently not available. Is there any way I can do this? I am having a voting on my blog but I would like to give people the chance to choose several points.

3:29 pm on 5/2/2007 234. Oreo

Hey Andrew,
this site is the bomb…how did you make it and what is it like sharing your life with the world, i mean you have a guy from Portuguese on this site so what do you look like anyways i haven’t seen a single picture of you and i’d really like to know what you look like.
thanks, Oreo

8:40 pm on 5/2/2007 235. AtesLi Seks hikayeleri

MErci du billet….

8:41 pm on 5/2/2007 236. AtesLi Seks hikayeleri

log Helper has a really good roundup of tools and tricks for adding microformatted content to your wordpress based blogs and sites. This is a very very helpful article indeed. Thanks the the microformats.org blog for the link

4:20 pm on 5/4/2007 237. Michael Müller

Just implemented it in my blog and tweaked it a little bit with CSS. Great plugin! Thanks!

12:08 am on 5/9/2007 238. Damien

Merci pour ce plugin.

8:28 pm on 5/9/2007 239. Abe

Really nice plug-in. Thanks for making it easy and clearn to understand.

I’m trying to setup multiple running at the same time… but I’m not seeing any documentation on this in the readme file.

Is there anyway to do this?

Once again, thanks you!

9:32 pm on 5/9/2007 240. Abe

Duh! Okay, figured it out.

Now on to adding it to the sidebar. :)

9:13 am on 5/20/2007 241. Martin

Hey!
I use wordpress 2.2 and tried to active the democracy 2.0.1 plugin, but a fatal error occured. Can anybody help?

4:51 am on 5/23/2007 242. siddharth

I hav installed this plugin and activated it.
Mine problem is that when i go to manage i cant see any democracy tab over there.

In the side bar i see the following thing.

plzzzzz help me.

WordPress database error: [Table 'technowo_wordpress.wp_democracyQ' doesn't exist]
SELECT * FROM wp_democracyQ WHERE current = 1 LIMIT 1

10:00 am on 5/24/2007 243. Kim

So does this STILL cancel the old poll when you make a new one? Because that’s what I cant stand about this script.

7:52 pm on 5/24/2007 244. Siddharth

the script isnt working, means i am not able to see any democracy button in the manage tab and in the front page , iget the error which i told you.

5:22 am on 5/25/2007 245. Pirat

Tnks

2:50 pm on 5/27/2007 246. BradBlog

Still getting the following error text at top of Democracy Admin page though it doesn’t seem to effect anything:

===

WordPress database error: [Duplicate entry '1' for key 1]
INSERT INTO wp_democracyQ VALUES (1, ‘Rate my site’, 1180306120, 0, 0, 1, 0);

WordPress database error: [Duplicate entry '1' for key 1]
INSERT INTO wp_democracyA VALUES (1, 1, ‘Best. Blog. Ever.’, 0, 0),(2, 1, ‘Could be better…’, 0, 0),(3, 1, ‘My grandma could do better’, 0, 0),(4, 1, ‘Ooh look! A butterfly!’, 0, 0),(5, 1, ‘No Comment’, 0, 0)
===

With that said, what I’m *really* hoping for is an option that allows you to show percentages by default, rather than number of votes.

Is that possible? Or do we have to wait for an update?

(If you remember, please email your answer as well if you can, since I don’t always get to check comments here, and there’s no “Notify on New Comments” option here)

Thanks for all!

9:20 pm on 5/29/2007 247. Jonathan

Dude, you weren’t kiddin’ about that readme file. Hot stuff.

8:25 am on 5/30/2007 248. james

You probably have enough feedback by now, however, here’s what I’ve found trying to use Democracy on WP 2.1 anyway:

It looks to me like it’s nearly functional. Though when I enable the democracy plugin in wp-admin – it fails – yet still appears to be loaded. The widget enables without obvious incident. But the Democracy management interface doesn’t appear under the “Manage” menu. And the widget simply displays the error message: ”

WordPress database error: [Table 'dawningmain.wp_democracyQ' doesn't exist]
SELECT * FROM wp_democracyQ WHERE current = 1 LIMIT 1

Which I can only assume would be resolved by being able to access the Democracy admin tool under wp-admin.

The error message I get when trying to enable Democracy is: “Plugin could not be activated because it triggered a fatal error.”

My apache error log had the following line appended when this error occured:

“PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 58368 bytes) in /www/dawning.ca/wp-admin/upgrade-functions.php on line 444, referer: http://www.dawning.ca/wp-admin/plugins.php?deactivate=true

Maybe this isn’t the plugin.. I’m not really that sure.

2:56 pm on 6/2/2007 249. Matze

Can i use Democracy 2.0.1 in WordPress 2.2 without Problems? Anyone had experience with this?

Excused my boring english. ;-)

3:03 pm on 6/5/2007 250. fdvrtfuvim

Hello! Good Site! Thanks you! wxbyegaqssamhe

8:18 am on 6/6/2007 251. gutielua

The people of hosting suspend my site because this file on the pluging:

[/wordpress/wp-content/plugins/democracy/basic.css]

Has cosuming many resourses and crash my site.

What could be the reason on this file?

Regards!

@

4:17 am on 6/9/2007 252. António

Hi,

How can I change the url paths from relative to absolute? I’d like to include polls on my posts (and feed) and I’m also aggregated elsewhere.

I’ve been looking at the code but haven’t been able to locate the strings.

Many thanks if you could hint towards the right direction.

2:54 pm on 6/18/2007 253. chat

thans Nots

12:44 pm on 6/21/2007 254. mynak

Thanks for this hacks. I love u :)

7:23 pm on 6/23/2007 255. Anonymous

what ever

9:43 am on 7/1/2007 256. Komik Fikralar

Thanks you.

7:19 am on 7/3/2007 257. video izle

video izle thank you very nice website

7:20 am on 7/3/2007 258. kral oyun

kral oyun en güzel oyunlar

4:17 pm on 7/4/2007 259. Fokjulle

If I want the bars to only show percentage – and not the actual number of votes, how / where do I edit that?

In other words, I want the bars to look like:

23%
12%

Thanks.

5:48 am on 7/6/2007 260. Rodrigo Chibiaqui

Andrew, I found a ‘bug’ but it´s very simple to fix.

My Democracy was ‘broken’, trying to create the default pool every time, cause the $first flag was active.

I discovered that the plugin had created tables in lowcase, but when comparing the strings to activate the $first flag, it compares with non-lowcase names(democracyQ, democracyA), so I change all table names in script to lowercase.

PS> I dont´t know why my WP create tables in lowercase, but anyway, if someone´s relating this kind of problem, there´s a solution!

Thank you!

9:29 pm on 7/7/2007 261. felipEx

sorry. does it works on wp 2.2.1 ?

thanks =)

1:53 pm on 7/8/2007 262. video izle

thank you

1:54 pm on 7/8/2007 263. kraloyun

very good idea

1:11 am on 7/9/2007 264. Oyun indir

Thanks. Wonderfull

1:10 pm on 7/9/2007 265. mickej

Hi,

Thank you for a very good plugin.

I have found a bug:
If clicking “view result” when using IE. You can’t click the link back to the poll. Nothing happens.

2:14 pm on 7/9/2007 266. video

hi all

2:14 pm on 7/9/2007 267. www.sohbeteuro.com

dsd

2:16 pm on 7/9/2007 268. video izle

http://www.sohbeteuro.com
come in :)

3:04 pm on 7/9/2007 269. mp3 indir

very good content. thanks

11:44 am on 7/10/2007 270. vanBetty

Thanks a lot for this plugin, it really enhanced a site i made in wordpress. Regards.

10:45 pm on 7/14/2007 271. adobe

thanks

5:39 pm on 7/16/2007 272. Jane

Back to the screen is not working for IE 6, please help me to solve this bug.

5:46 pm on 7/16/2007 273. jane

^^ ie gives an error at line
this.innerHTML = dem_ajax.responseText;

6:49 am on 7/17/2007 274. Joost Baaij

This is a fantastic plugin, and it works as advertized!

7:41 am on 7/20/2007 275. fsdf

fsd

12:44 am on 7/23/2007 276. dostclick

hi,
Turkish Characters in the poll shown like “?” how can i fix that?

and;

i want to change “Poll” as “Anket” (turkish meaning)

is there any way for that?

thanks

9:27 am on 7/24/2007 277. Vinicius

Você está usando esse plugin auqi ? vou testar .. dá licença rs

12:43 pm on 7/25/2007 278. video izle

thank oyu

12:43 pm on 7/25/2007 279. oyunlar

very good idea

12:44 pm on 7/25/2007 280. kraloyun

teşekkürler

2:30 pm on 7/25/2007 281. hikaye

log Helper has a really good roundup of tools and tricks for adding microformatted content to your wordpress based blogs and sites. This is a very very helpful article indeed. Thanks the the microformats.org blog for the link

5:50 pm on 7/25/2007 282. David

I upgraded WP from 2.0.5 to 2.2.1 today. My wife’s blog used Democracy and I deactivated it before I upgraded. I was informed on WP that Democracy didn’t work with 2.1. So I came here to get the new version.

I did the WP upgrade and then installed Democracy 2.0. After activating it, the dashboard panel lists all her polls (52 so far) but every poll is listed as having no votes. This seems odd because the data for the questions still exists. So where are the votes?

Anyone have an answer?

9:41 pm on 7/26/2007 283. Sandra

I’ve been looking for a plugin like this! I wish I had scroll down to see the admin options the first time around. Other than that I LOVE it.

9:45 am on 7/29/2007 284. video

Back to the screen is not working for IE 6, please help me to solve this bug.
videolar

1:58 pm on 7/30/2007 285. Hikaye

very good thanks

12:32 pm on 8/2/2007 286. Latha-Math

Found a nice way to hack the Poll if “Add an Answer” is allowed:

http://latha-math.com/index.php/wie-man-democracy-polls-hackt/

If you need help with the translation the just mail me.

Cheers

12:09 pm on 8/5/2007 287. Marcus Carey

Works great on Linux. There is a problem setting up the databases on Windows. Cannot create tables etc…

7:46 am on 8/7/2007 288. skull lab

Hi,

I’m currently trying to build a site for a music company. On the site it has individual posts for various artists.

I want to have a voting system so that people can vote for each artist and the vote results will display on the front page with the top however-many artists.

I’ve looked at the Democracy plugin but not sure if I can use it for what I want or not.

- an individual ‘vote’ link for each artist on their post
- links back to each artist from the results section (ie: it says ‘Beastie Boys’ have 50 votes and you can click on their name to go to the post about them)
- a continuously updating results read-out, so that it shows the results from the previous 7 days (so that the poll changes and there isn’t one leader the whole time)

could anyone shed some light on if this would be possible either with Democracy or with some other plugin / script.

any advice on this would be awesome, thank you!

12:21 pm on 8/7/2007 289. oyun

thank you this post

12:22 pm on 8/7/2007 290. oyun

thanks

10:42 am on 8/8/2007 291. Rick Mahn

Well, I’ve also had the issue where IE users can’t add a user-defined answer to a poll. I also see that there has been no development on this plug-in for over a year. While I understand the time constraints and commitments of volunteering open-source software such as this, I’ll be moving on to a different polling tool for WordPress now.

6:52 am on 8/9/2007 292. rob07

Is there a way to only allow registered users (subscribers) to vote?

9:02 am on 8/10/2007 293. Gossip

Please, how set polls width?
many thanks

10:19 am on 8/10/2007 294. Ted

Was the stray lower-case letter n problem ever resolved? I’m getting that, too — also, the options in the poll break onto separate lines as the radio buttons — when I try to post a poll within a WordPress blog post.

10:25 am on 8/10/2007 295. Ron Goodwyne

We’ve installed the newest version of democracy and it works great in a post. But in the sidebar widget is does not display the answers. It displayes the radio button to check but there is nothing next to them. Once a vote has been registered it correctly displays the results. Any ideas?

12:00 pm on 8/11/2007 296. night tube

thanx for content

4:06 pm on 8/11/2007 297. video izle indir

thanks for the post.

12:14 pm on 8/15/2007 298. DaniCast

It´s not working with WP 2.2.1.
Too bad, looks cool.

1:37 am on 8/18/2007 299. Videoizle.TV

thanks very good ;)

10:03 am on 8/19/2007 300. f

sfsf

1:36 pm on 8/19/2007 301. phil

Great plugin, thanks. Is there a way to make the “back to vote screen” appear when have voted?

5:55 am on 8/20/2007 302. Arstan

Great plugin! Thanks for having it free!

6:03 am on 8/24/2007 303. msn ifadeleri

Does this play well with WP-Cache?

10:18 pm on 8/24/2007 304. haberler

Democracy AJAX Pool is very usefull on website that uses wordpress. I am using Democracy on my site. Great work and thanks for coders.

9:49 am on 9/1/2007 305. C-Nem

Really good plugin.
i used this for long a time.
Thanks a lot..

4:37 pm on 9/1/2007 306. fommil

Hi, thanks for this great plugin!

I’ve been getting strangeness on Internet Explorer… sometimes bits of the screen will disappear. This appears to be correlated with Democracy showing the results of a poll. Any ideas?

12:40 pm on 9/4/2007 307. islam

Hi, thanks for this great plugin!

I’ve been getting strangeness on Internet Explorer… sometimes bits of the screen will disappear. This appears to be correlated with Democracy showing the results of a poll. Any ideas

12:41 pm on 9/4/2007 308. ödev

The people of hosting suspend my site because this file on the pluging:

[/wordpress/wp-content/plugins/democracy/basic.css]

Has cosuming many resourses and crash my site.

What could be the reason on this file?

Regards!

@

3:36 pm on 9/6/2007 309. Bastian

Super, vielen Dank! Ein hoch auf WordPress und die Menschen die Plugins erstellen!

9:16 am on 9/8/2007 310. Allan

thanks for making this plugin. I am using it on my site!

7:05 pm on 9/9/2007 311. Matt

Democracy no longer seems to work. When I click on the vote or on the results, I get a pop-up saying “403″. Any ideas?

1:04 am on 9/10/2007 312. rollenc

googd plugin, thanks!

1:08 am on 9/10/2007 313. renlo

thanks for this plugin.

1:08 am on 9/10/2007 314. renlo

thanks for this plugin..

8:04 am on 9/10/2007 315. program indir

Thanks for the this post many thanks :)

11:34 am on 9/10/2007 316. program indir

very well
thanks.

9:08 pm on 9/11/2007 317. Resim

Works great on Linux. There is a problem setting up the databases on Windows. Cannot create tables etc…

12:01 am on 9/14/2007 318. TV Guide

thank for this.

12:05 am on 9/14/2007 319. PixeL

Super plugin ;)

2:17 pm on 9/16/2007 320. oobweb

how can i set the initial poll counts with any numbers I choose. This is for a gag poll and not meant to deceive.
for example, on a 4 answer multiple choice poll i want to start out with 830, 900, 899, 300

3:51 pm on 9/16/2007 321. giuiano

Hi,
i’ ve thought to et you know that the plugin doesn’t install in wordpress 2.3b.
It triggers the following error:
Fatal error: Cannot redeclare jal_democracy() (previously declared in wordpress/wp-content/plugins/democracy/democracy.php:23) in wordpress/wp-content/plugins/democracy/democracy.php on line 23

9:40 pm on 9/16/2007 322. canlı tv

The people of hosting suspend my site because this file on the pluging:

[/wordpress/wp-content/plugins/democracy/basic.css]

Has cosuming many resourses and crash my site.

What could be the reason on this file?

Regards!

4:23 am on 9/17/2007 323. araba yarisi

nice, thanks

12:03 am on 9/18/2007 324. radyo

thanks for this plugins…

10:00 am on 9/18/2007 325. erotik

Nice plug-in. Thanks

2:05 pm on 9/18/2007 326. sms mesajlari

nice thanks

6:15 pm on 9/18/2007 327. staticbrain.com

This works great, but just one question. How do I get it to go back to showing the poll and not just the results after you view the results? It only shows me results now and not the poll anymore.

10:23 am on 9/19/2007 328. Rod

Installed, activated, and it didn’t show up under Presentation -> Widgets. Also copied the widget-democracy.php file to the /widgets folder. Still nothing. Anything else that I could try?

12:04 pm on 9/19/2007 329. Ultima Web Design Orlando

Yes – same here I installed on 2.2.3 and I was unable to get this plugin to work, it porduces errors.

3:19 pm on 9/19/2007 330. Komik

You menation about very important subject.

9:13 pm on 9/20/2007 331. resimler

thanks for the post written :)

9:14 pm on 9/20/2007 332. inndir

many thanks for the post.
good.

7:03 am on 9/22/2007 333. Roy

I’m getting this error message…
I was creating a new poll, and when i tried to save it, it outputted this errormessage on top and all stuff on my admin page turned red
Can you tell what this could be?
Last time i created a poll, it didn’t output all the code gibberish…

WordPress database error: [Column count doesn't match value count at row 1]
INSERT INTO wp_democracyA VALUES (”, 5, ‘Off the hook!’, 0, 0),(”, 5, ‘Cool, but…’, 0, 0),(”, 5, ‘Ok..’, 0, 0),(”, 5, ‘…Get the fuck out of here, it couldn\\\’t have been that bad!’, 0, 0)

10:07 pm on 9/29/2007 334. Adam

Plugin doesn’t work with WP 2.3, get :

WordPress database error: [Duplicate entry '1' for key 1]

and other DB related errors when attempting to use the Democracy management menu.

9:21 pm on 10/1/2007 335. Ethem

Thank you for this great plugin. I’m just wondering when we’ll be able to localize the strings?

2:36 am on 10/2/2007 336. vbulletin eklentileri

thnank you nice collection jalenack

2:38 am on 10/2/2007 337. msn nickleri

very good wroking and comments i think this site is very succesfull

2:50 am on 10/2/2007 338. forum

this site is very beautiful ;) thank you ;)

7:28 pm on 10/2/2007 339. Komikler

It’s a nice tool but does it have a feature that you just have to paste one code in all your post but it shows different results? Just like post voting. You dont have to set an id in order to use it on a specific post.

4:35 am on 10/3/2007 340. dusakabin duskabinmarket

nice work.thanks

4:37 am on 10/3/2007 341. Lokmaciniz

wery nice job.thanks for all

10:18 am on 10/5/2007 342. Heizelmann Free

Nice Plugin, thanks for the great work… but it will be greater if you can consider a language feature in the future… it will be greater.

6:46 am on 10/7/2007 343. max

hello,

i really like the plugin, but i would like to get it work correctly. Maybe you can help me? (I am using wordpress 2.3)

Yust after installation i get the messages in the admin site:

WordPress database error: [Duplicate entry '1' for key 1]
INSERT INTO wp_democracyQ VALUES (1, ‘Rate my site’, 1191767615, 0, 0, 1, 0);

WordPress database error: [Duplicate entry '1' for key 1]
INSERT INTO wp_democracyA VALUES (1, 1, ‘Best. Blog. Ever.’, 0, 0),(2, 1, ‘Could be better…’, 0, 0),(3, 1, ‘My grandma could do better’, 0, 0),(4, 1, ‘Ooh look! A butterfly!’, 0, 0),(5, 1, ‘No Comment’, 0, 0)

However, the plugin works except one thing i need to change:

I sucessfully created a poll (id=2) shown after the article. Then i wanted to change the poll and instead of editing it, i deleted it and cretaed a new poll. the new poll appears after the article (id=3), but when i klick on the article or if someone wants to leave a comment, the article shows followed by the previously deleted poll (id=2). But it should be shown the poll with id=3. I dont’t know how to change this, in the democracy admin site doesn’t exist an entry for poll id 2 anymore…

i hope i explained it understandably and i hope you can help me with it.

thanks and greetings,
max

7:05 am on 10/7/2007 344. max

i addition to my comment / problem above:

i found out, that democracy probabaly is using the right id on all pages, but that it doesn’t show the last poll-question, if you klick on the article or on the comments-page.
Maybe this has something to do with the databse error i cited above?
Unfortunately, this makes the plugin unusable for me, i hope you can help. thanks again!
max

2:43 pm on 10/9/2007 345. Video izle

It’s a nice tool but does it have a feature that you just have to paste one code in all your post but it shows different results? Just like post voting. You dont have to set an id in order to use it on a specific post.

Thanks

3:35 am on 10/10/2007 346. e-bravi

very well but it’s based on jquery?

12:11 pm on 10/13/2007 347. batuhan

hi i am using my site
http://www.tampaylas.net and http://www.batuhanbilir.com
this is a good hacks
thank you sir

11:07 am on 10/16/2007 348. Michael Jansen

Thank you Andrew for this great Plugin.

Due to the hardcoded english, I have translated it to my native language (german).

Those who like, can download it from my webspace: Democracy Poll 2.0.1 (german)

Yours,
Michael

12:20 am on 10/19/2007 349. Dencha

Question: Is this app able to make the vote button open up a new window or link to another site?

2:32 am on 10/19/2007 350. Nestor

Works well, but I just deactivated a poll and it stays active on the post for some reason. Oh well I’ll replace it with a screenshot of the results…

2:50 am on 10/20/2007 351. kral oyun

good article

4:43 am on 10/20/2007 352. Michael Sync

Where should I put this file “widget_democracy.php” in wordpress 2.3? I have tried to put this file under wp-include where widget.php is located. but it doesn’t work..

7:32 am on 10/26/2007 353. Beth

Is there a way we can get rid of the space between the li tag and the label for poll question list? I want to vertical align the input to the text, but in Firefox, it needs that space removed…

Thanks!

12:34 pm on 10/27/2007 354. oyun

hımss ok

12:50 pm on 10/27/2007 355. oyun siteleri

okkk thanks

12:15 pm on 10/28/2007 356. gazeteler

thanks,

12:22 am on 10/29/2007 357. oyunlar

oh thanks a lot

4:48 am on 1/5/2008 358. Eric

Quite nice what you have done with your AJAX poll. keeping the working in mind! :)

7:45 pm on 1/7/2008 359. Wayne

I added this code to my sidebar as per the instructions. Without the space before the first question mark and after the last question mark. However, my poll only displays the results and doesn’t allow anyone the opportunity to vote. Is there a different code that should be used in WordPress 2.3.2?

6:10 am on 1/9/2008 360. Hikaye

thanx

9:27 am on 1/9/2008 361. Hikaye

Thanks

7:28 pm on 1/10/2008 362. şiir

Thankss

6:25 am on 1/12/2008 363. taşyünü

thanks all

7:37 am on 1/12/2008 364. Martin

hi!
thanks for the plugin :-)

but…
when I activate “Allow users to add choices” the users are able to add a choice but they are not able to activate the radiobutton! so they can’t vote :-(

choosing a predefined choice is working fine (if already added the manually choise dissapears).

What can I do to run the poll with the add-choice feature?
I have already reinstalled the plugin.
I’m running WP 2.3.2

thanx for any help/feedback!
martin

7:14 pm on 1/12/2008 365. güzel sözler

Thanks for nice post.

4:48 pm on 1/14/2008 366. local world

thank you very nice article

1:06 am on 1/15/2008 367. Ahmet Kaymaz

its helpful plugin,
C# Sql Server
http://www.ahmetkaymaz.com

8:50 am on 1/16/2008 368. film izle

nice thanks

11:57 pm on 1/16/2008 369. kiremit irmiği

kiremit tozu very good

1:18 am on 1/21/2008 370. bob

MM4WFD hi great site thx http://peace.com

2:08 am on 1/21/2008 371. SMS-Sprüche Mann

Thank YOU!

2:10 am on 1/21/2008 372. Exclusive-Stoffe

Bisher hab ich es auf meiner Seite noch nicht gebraucht, aber ich werde es sicher noch einsetzen. Danke für den Download

12:28 pm on 1/22/2008 373. hardcore

indian hardcore hardcore mature hardcore sluts

10:42 am on 1/24/2008 374. chat

thank you chat site

4:17 pm on 1/26/2008 375. Bukhalenkov Alexander

Will be better to create Database Tables with utf8_general_ci codepage, not with latin1_swedish_ci or something like that.

Russian boy.

6:39 am on 1/29/2008 376. Cankara

Democracy 2.0.1 Turkish version is here: http://www.mavipc.net/democracy-201-turkce.html

3:50 am on 1/30/2008 377. ThaNerd

Very nice plugin! I didn’t really like the way it is zipped (i usually just download/unzip in /wp-content/plugins/) but well, once set up it does the job.

Too bad it doesn’t include any translation to other languages than english…

5:07 am on 2/2/2008 378. Eddie Byrne

A problem I have encountered with Internet Explorer – having clicked the link to ‘See Results’, the ‘Back to Vote Screen’ link doesn’t work. Any ideas? Refreshing the screen does it, but that is not a solution. Grear plugin other than that.
Eddie

3:43 pm on 2/2/2008 379. Andy

I have the same problem as another blogger.
The stray lower-case letter n which shows up just before the poll coding e.g., div n pollcode /div. I’d use it but for this problem. Using WP 2.3.1 by the way.

9:18 am on 2/4/2008 380. Tom

AJAX shows power :). I really like this plug-in. Thanks for it.

5:57 pm on 2/4/2008 381. pete

Can someone please list how I can activate multiple polls at the same time? I’ve read all the help me doc and still have no idea.

9:41 am on 2/5/2008 382. Anonymous

i like this plugin very much. But I fail to break the line between answers. Please teach me how to do it. Thanks.

9:41 am on 2/5/2008 383. butter

great update and addition

2:39 pm on 2/5/2008 384. Dov

The Democracy Poll works great except for one thing. I have added {democracy_archives}
to it’s own page, but at the top of the post is the letter ‘n’, which will not disappear no matter how many times I delete it.

4:33 am on 2/8/2008 385. I want laptop

ı want laptop

10:27 am on 2/8/2008 386. teknoloji

teknoloji ile her bilgiyi barındıran web sitesi

3:39 am on 2/10/2008 387. Henry

I have been wanting to upgrade to having wordpress on my own hosting for a while but I really dont want to go through the hassle of setting it up. Being extremely lazy, I have been plodding along with wordpress.com, but have been frustrated with the lack of customisation available. I think this poll widget is helping me change my mind a bit.

11:02 am on 2/10/2008 388. Ashish Mohta

does it work on feed and emails?

7:45 pm on 2/10/2008 389. Free eBooks

Great plug-in, easy installation, works perfectly. Keep up the good work!

1:29 pm on 2/11/2008 390. MrAnderson

Forr all those having an error similar to this…

WordPress database error: [Column count doesn't match value count at row 1]
INSERT INTO wp_democracyA VALUES (null, 3, ‘Foro’, 0, 0)

I had to add answers manually into mysql at wp_democracyA, and the problem solved partially, so I can see answers to new polls, but every time I add a new poll I have to add answers manually…

Maybe that DB it’s opened read only?? Someone who knows php mysql functions can say about this.

Greetings

2:12 pm on 2/11/2008 391. MrAnderson

Sorry for the up… but I’ve solved the problem and couldn’t edit my previous comment…

You have to edit this lines…

Before
———————
LINE 446 $sql_answers[] = “(”, {$poll_id}, ‘{$answer}’, 0, 0)”;
LINE 520 $inserts[] = “(”, {$poll_id}, ‘{$answer}’, 0, 0)”;
———————

After
———————
LINE 446 $sql_answers[] = “(null, ‘{$poll_id}’, ‘{$answer}’, ’0′, ’0′, ‘{$answer}’)”;
LINE 520 $inserts[] = “(null, ‘{$poll_id}’, ‘{$answer}’, ’0′, ’0′, ‘{$answer}’)”;
———————

That will solve the problem for adding answers to new or existing polls.

Greetings

3:24 pm on 2/11/2008 392. Alex

Wp-polls didn’t work for me, but this fit the bill especially after I figured out that the actual pluging folder was inside the zipped folder. Thanks!

3:52 pm on 2/16/2008 393. web sitesi

thanks for this plugin
i use on my web sites.

3:46 pm on 2/17/2008 394. Edie

Hello Andrew,

thank you fot this great plugin! But I have problem with acute accent and wedges.
Pleas check my site – http://www.czechbracelet.info/mike-jones-v-praze-uz-20-ledna-roxy/#comm
it is democracy added by . It goes right.
But in the post there is another democracy added by {democracy:3} and it does not go properly – question marks instead of normal letters.

Can you help me?

I am looking for reply.

Thank you for your ideas!!

6:36 pm on 2/19/2008 395. Bob

Hi,

I am looking at deploying this for a couple customer sites and have a simple question.

Where can I change it to :

1- Not display the total number of votes
2- Display ONLY a % instead of the numbers of answers.

With that solved it will be one of the BEST plugins ever!

12:33 am on 2/20/2008 396. TworzenieStron

Dzięki za post. Projektuję witryny www więc na pewno się przyda.

2:54 am on 2/20/2008 397. Helena

Hi
I’m having validation problems with unencoded Ampersands in the Poll answers.

I’ve changed line 150 of the classes.php file to this

$url = htmlspecialchars(add_query_arg(array(‘dem_add_user_answer’ => ‘true’, ‘dem_poll_id’ => $this->id)));

But it doesn’t seem to help!

Any suggestions welcomed.

10:45 pm on 2/20/2008 398. cillop

Thanks for post

9:48 am on 2/25/2008 399. teknoloji

your web site very beatifull

12:17 pm on 2/25/2008 400. Johan

Hi Thanks for the plugin. I am using it an a few blogs but on one of them the only the widget is available under plugins to activate. I have downloaded and re-load the code with no luck. Johan

3:48 pm on 2/29/2008 401. efrain

this was a cool plugin until someone hacked into it ;( I’m the only user on the church site and someone went in and added “Devil Worship” to the Poll choices. Childish, but still very annoying.

Do you think there’s a security problem in my WordPress install or is it the Plugin?

:: efrain

8:52 am on 3/2/2008 402. sperm

Alex. Came home sperm pussy kevin sat in the mail.

9:09 am on 3/2/2008 403. bedava ligtv

dsasad adsdas

9:19 am on 3/6/2008 404. Pinto

Hello,
i have install the plugin like you wrote in the read me file but i don’t see the Democracy in the manage…
any suggestions?
Thanks,
Pinto

1:22 pm on 3/6/2008 405. avsa

Great post.good comment.thank you

5:51 am on 3/8/2008 406. Helena

I’ve managed to sort out the unencoded ampersand problem (I think) by adding the following to line 108 of classes.php:

// Ampersand fix

$output = str_replace(“&”, “&”, $output);

5:52 am on 3/8/2008 407. Helena

sorry – that should be:

// Ampersand fix

$output = str_replace(“&”, “& a m p;”, $output);

remove the spaces from the second ampersand code.

12:57 pm on 3/9/2008 408. ferforje

http://www.kiminah.com
http://www.ferforje.info

I think they will be good with demokracy:)

11:03 pm on 3/11/2008 409. Best Way to Lose Weight

Wow amazing site! I have subscribed now, look forward to future posts!

7:30 am on 3/13/2008 410. news archive

Hello,
Thanks for this article.
Can I put this article to my site?

Thanks again.

10:43 am on 3/13/2008 411. imoneyonline

very nice i need something like this. Thank you.

4:12 am on 3/14/2008 412. Gr.Zhang

I LIKE IT.THANKS

1:58 pm on 3/14/2008 413. Erin

I found a fix for the “View Results Without Voting” bug. The bug is – when you click view results without voting, then try to go back using the “back to vote screen” link, nothing happens.

This is because of a bug in IE – any elements in responstext will cause an error when they are inserted into innerHTML. I got around this by using removeChild and appendChild.

In class.php
wrap a div around the form and give it the id demFormWrapper

Like this:
$output .= “\n\t\t”;

(close this div after )

Then, in democracy.js, replace this:

this.innerHTML= dem_ajax.responseText;

with this:

var newpolldiv = document.createElement(“div”);
newpolldiv.innerHTML = dem_ajax.responseText;
var wrapper = document.getElementById(“demFormWrapper”);
var len = wrapper.childNodes.length;
for(var i = 0; i < len; i++)
{
wrapper.removeChild(wrapper.childNodes[i]);
}
wrapper.appendChild(newpolldiv);

5:52 pm on 3/18/2008 414. volkan

Thanks. Very Good

3:36 pm on 3/20/2008 415. Arnie

Perfect. Looking for something like this for my personal blogs. Maybe my business ones too.

10:18 am on 3/21/2008 416. dave

I noticed one other person experience the same issue as I am: Deactivated polls still accept votes, meaning I can never truly “close” a poll (i.e. can’t disable voting on a deactivated poll).

Anyone experiencing this and have a fix? I thought it might be some bad interaction with the WP-Cache plugin, but disabling that seems to have no effect.

Help and thanks!

9:56 am on 3/23/2008 417. cum

Subjectively, then continued. Hold her. My slow motion cum shots tits, please email.

9:37 pm on 3/26/2008 418. 图书比价网

图书比价网http://www.yaomaishu.com
中国最大的图书导购网站

9:38 pm on 3/26/2008 419. 图书比价网

图书比价网 测试下链接

6:27 am on 3/27/2008 420. hikaye

thank you lol

10:55 am on 3/29/2008 421. Einstein

CSS Validation found 2 Mistakes. How can they be solved?

Ergebnisse des CSS-Validators (CSS level 2.1)
Entschuldigung! Es wurden die folgenden Fehler gefunden (2)

69 * html .dem-graph a i, * html .dem-graph a:hover b Einlese-Fehler opacity=0)
74 * html .dem-graph a:hover i Einlese-Fehler opacity=100)

Thanks for the plugin. It’s the plugin which i’ve searched ;)

i will use it,thanks.

12:29 pm on 4/1/2008 424. Josh~

I have the same problem with the stray lower-case letter n which shows up just before the poll…

…if anybody can solve this let us please know :(

2:04 am on 4/2/2008 425. forum

very nice site thank you ver much !

8:44 am on 4/2/2008 426. Gary Jones :: BlueFur.com

Seems to be a glitch in WP2.5 with adding an n to the post. Is weird.

2:20 pm on 4/2/2008 427. Great Lake Boy

Ok after a destroyed mouse and a few rants I have the “n” bug as well in WP V 2.5!!!!! Annoying!!!!!!!!!!!! = )

2:23 pm on 4/2/2008 428. Great Lake Boy

Also adds code with the n!!

11:30 am on 4/3/2008 429. Justin Thibault

Dave – I’m having the same issue…it seems like old polls get new life.

3:33 am on 4/4/2008 430. Leonidas

I stripped all \n characters from class.php and democracy.php and it did the trick

11:12 am on 4/5/2008 431. forum

Will this plugin work outside of WordPress?

(on a site with php/mysql, but no WP)

tnx!

9:01 pm on 4/5/2008 432. Dexter

Hello guys,

Those who have the problem that democracy inserts an extra lowercase n wrapped in a div before the democracy poll:
Open democracy.php
Search for the function jal_add_dem_div
Remove \n from ‘\n\’, $content
so it should like ‘\’, $content

Problem solved.

9:03 pm on 4/5/2008 433. Dexter

Sorry, wrong posting, so in the preg replace line remove slash n that’s all

9:47 am on 4/6/2008 434. d.

after deleting “\n” (in line 331 or 338) the voting does not appear inside the single post anymore. it just displays the plain code.

6:58 am on 4/7/2008 435. ReddyK - The Atma Jyoti Blog

This plugin looks great in the sites where I have seen it, and I am eager to begin using it. However, I have tried to use it in WordPress 2.5 and there are a couple of problems:

1. I cannot add any answers beyond the four listed. When I try, it acts as if I have submitted the poll and takes me to the main dialog box.

2. When I try to edit a poll, the various questions do not show up, and the only thing I can edit is the question.

Looking forward to an update for WordPress 2.5. Thanks for making the plugin available.

4:55 am on 4/9/2008 436. Great Lake Boy

Sorry, wrong posting, so in the preg replace line remove slash n that’s all

———–

What exactly are we supposed to do? I don’t get what preg is?

5:28 am on 4/14/2008 437. Turkiye Rehberi

Thanks.
Good poll script. I like it, :D

5:47 am on 4/15/2008 438. Toni

Hier haben wir mal das sehr Praktische Democracy 2.0.1 Umfrage Plugin ins Deutsche Übersetzt.
Democracy 2.0.1 DE-Update

6:27 pm on 4/17/2008 439. bass

wow, very good plugin and good for!

12:33 pm on 4/18/2008 440. Eric

I’m getting an odd error with this plugin under WP 2.5. Every time I save a post a stray letter ‘n’ is inserted into the post (along with tags surrounding the democracy tag). If I edit the previously saved post I end up with multiple ‘n’s and div tags. Click my name to see what I mean. I’ve even tried editing the post from the blog editor, ecto. Do you know what’s going on and is there a fix?

5:52 pm on 4/18/2008 441. dizi izle

:))

7:43 am on 4/19/2008 442. Great Lake Boy

Yes we already KNOW there is an “n” bug in 2.5! How many times do we need to post that there is an “n” bug in 2.5?

The question is what is the solution?

11:44 am on 4/24/2008 443. -Paul-

It’s not just WP v2.5…

It’s also happening on WPMU v1.3.3 .. (v1.3.3 Is Using WP v2.3.3 core. WPMUv1.5 will use WPv2.5 core when it’s ready.)

This is really annoying to my customers who in turn blame me for the error. I would disable the plugin for my customers, but some of them are running Political Blogs during an election year. Not Cool to cut them off, yea?

7:23 pm on 4/25/2008 444. renzmar

Regarding with the letter n problem here is the 5 simple step I did to solved this problem.. I hope it will help..

1. Download democracy.php from your server and open it.
2. Find return preg_replace(‘/{democracy[\w\W\s^}]*?}/’, ‘\n\’, $content);
3. Remove the \n
4. It should look like this return preg_replace(‘/{democracy[\w\W\s^}]*?}/’, ‘\’, $content);
5. Save and Upload.

7:27 pm on 4/25/2008 445. renzmar

oops sorry.. the div tag was removed after i posted my comment..

Just find the string

return preg_replace(‘/{democracy

and along its line remove the \n

thats it..

7:42 pm on 4/26/2008 446. hard

rock hard cocks hard gay cock fucking hard cock hard black cock

6:35 am on 4/28/2008 447. Renata Trocoli

Hi Andrew,

I´m having such a hard time making the poll works. I´ve done everything.. uploaded the plugin, activated ir, bothe widgets and plugin, but when I try to add a poll, it doesn´t work. It stills shows the message “There are no polls in the democracy database” e no poll has been added. Do you know how can I fix it?

thanks!

12:53 pm on 4/29/2008 448. M. Serdar SARIOGLU

Thanks for work :) i liked it

7:53 am on 4/30/2008 449. haberler

your web site very beatifull

7:54 am on 4/30/2008 450. videolar

good article

7:55 am on 4/30/2008 451. diziler

It’s also happening on WPMU v1.3.3 .. (v1.3.3 Is Using WP v2.3.3 core. WPMUv1.5 will use WPv2.5 core when it’s ready.)

11:44 am on 4/30/2008 452. Great Lake Boy

Thank you renzmar! I under stood your solution and it worked without a hitch least so far!

= )

G:L:B:

8:29 am on 5/2/2008 453. Johnny C

Whenever I install it, be it downloading here or on the WordPress Plugin Directory, it says that I have installed version 1.0, not version 2.0.1

I’m using OneClick Install to install the plugin, could this be the problem? (I can’t test manual install right now cause I’m at work)

3:59 pm on 5/4/2008 454. porno

my site install thanx ajax very good

12:18 am on 5/6/2008 455. bursa temizlik şirketleri

thanks

12:19 am on 5/6/2008 456. cam balkon

Yet another great plugin from Skippy. Worked like a charm the first time. Thanks!

12:38 am on 5/6/2008 457. genel temizlik

thanks youu:

11:10 pm on 5/6/2008 458. h4ckinger

good tutorial

http://h4ckinger.org

8:06 am on 5/7/2008 459. Herschell

In some cases extra
s and extra lines were being wrapped around {.democracy.} code.

I’m getting an extra “n” when I post a poll.

11:43 pm on 5/7/2008 460. Kristian

I get this annoying lower-case “n” displaying, when putting a poll into an entry.

HELP!

11:47 pm on 5/7/2008 461. Kristian

Never mind on the N thing i just read a comment, thank you.

12:21 am on 5/8/2008 462. Surprise

Tek kelimeyle güzel olmus ellerinize sağlık.

12:22 am on 5/8/2008 463. Surprise

Güzel olmus siteniz ellerinize sağlık.

12:25 am on 5/8/2008 464. Köy

Thank You

6:50 am on 5/8/2008 465. kazali arabalar

thanks, i just downloaded.

10:14 pm on 5/8/2008 466. Kurtlar Vadisi Pusu

Thank you.

7:30 am on 5/9/2008 467. Mark A. Belcher

It is good to have an initial question for demonstration and testing. Unfortunately, on a Windows box, it doesn’t delete. Actually, it deletes and then is immediately added again. This is due to the nature of file name case between different systems. By default, Windows converts everything to lower case so the case sensitive table compare always sets the “first time” variable. Here is the fix in democracy.php where the guilty variables are set.


$first_time = strtolower($wpdb->get_var("SHOW TABLES LIKE '{$table_prefix}democracyQ'")) != strtolower($table_prefix."democracyq");

// upgrading from 1.2
$upgrading = !$first_time && strtolower($wpdb->get_var("SHOW TABLES LIKE '{$table_prefix}democracyIP'")) != strtolower($table_prefix."democracyip");

9:28 pm on 5/10/2008 468. yollarbasi

good

11:10 pm on 5/10/2008 469. sohbet

veryy good

12:50 am on 5/12/2008 470. Jan

Thanks, good work!

2:54 pm on 5/14/2008 471. sdk

installed and set up, not a problem

looks like the plugin isn’t displaying properly though (no progress graphic bars…

anyone else have this problem?

3:07 pm on 5/14/2008 472. SDK

sorry, i should be a little bit clearer:

the graph is not showing up at all – everything else seems to work fine

what might cause this?

the plugin is active, click on my name above to visit the site it’s installed on.

3:25 pm on 5/14/2008 473. SDK

figured it out, needed to be added to the header.php file

:)

6:46 am on 5/18/2008 474. karikatür

Thanks Good job.

karikatür

2:56 am on 5/21/2008 475. kauçuk

thanks

3:09 am on 5/21/2008 476. asansör

thankk

4:12 am on 5/24/2008 477. pazarlama

thanks you :)

4:13 am on 5/24/2008 478. hit

thanks :)

4:14 am on 5/24/2008 479. matbaa

thanks.

1:02 pm on 5/27/2008 480. may

Hi,

I installed it long time ago and it worked fine.. but now that I upgraded to WP 2.5 I see there’s a problem with an extra ‘n’ being added next to the poll.

I would appreciate your help,
Thanks

May.

12:19 pm on 5/30/2008 481. jocuri

Keep up the good work! 10q

6:08 am on 6/1/2008 482. benden kaçmaz

thanks you

1:21 pm on 6/1/2008 483. msn indir

goodd

1:22 pm on 6/1/2008 484. kiz msn adresleri

thankss

1:23 pm on 6/1/2008 485. kelebek indir

gooodd

1:25 pm on 6/1/2008 486. halı yıkama

thanks s

1:26 pm on 6/1/2008 487. koltuk yıkama

ok..

1:26 pm on 6/1/2008 488. karcher

Thanskk

1:28 pm on 6/1/2008 489. msn download

Thanks ..

11:24 pm on 6/1/2008 490. bursa evden eve

thank you wery much…

6:13 am on 6/3/2008 491. pr yüksek siteler

thank you wery much…

1:27 am on 6/4/2008 492. turizm

thank you…

1:46 am on 6/4/2008 493. pr yüksek blog

thanks :)

2:59 am on 6/4/2008 494. Seçim Haberleri Sitesi

what do you think about this issue?
http://www.blog-republic.com/2006/09/17/wordpress-democracy-plugin-warning-seo-nightmare/

i see the extra indexed pages for my site on google…

11:15 am on 6/5/2008 495. korku

korkunç videolar http://www.korkakorka.com

2:04 pm on 6/5/2008 496. Tony Kenobi

just downloaded and set up my first poll

outstanding work

may the force be with you

3:58 am on 6/6/2008 497. istanbul evden eve

thanks you

11:51 am on 6/7/2008 498. Antonio

Ihave tis problem:
You do not have permission for this request /wp-content/plugins/democracy/democracy.php?dem_poll_2=9&dem_poll_id=2&dem_action=vote

12:36 am on 6/9/2008 499. internette reklam

thanks you

7:10 am on 6/10/2008 500. otogaz

thanks you

1:52 pm on 6/11/2008 501. Mike Little

Great plugin – thanks.

An alternative solution to the ‘n’ problem is to make the following change to democracy.php
In function jal_add_dem_div (line 331) replace the single quotes around the second argument to preg_replace() with double quotes.
That way the slash-n combination is correctly interpreted as a newline.

It should look like this
return preg_replace('/{democracy[\w\W\s^}]*?}/', "\n<div>\</div>", $content);

Also, the style setting at the top of style.css
.democracy { max-width: 250px; }
is fine for the sidebar widget but too narrow for an in-post poll, at least on my theme.
I added the following to the bottom of style.css to revert to default width inside posts.

.entry .democracy {
max-width: inherit;
}

Works fine in Firefox, not tried in IE.

2:01 pm on 6/11/2008 502. Erik Ringmar

I get an error:

Warning: Invalid argument supplied for foreach() in /var/www/toomanymangoes/wp-content/plugins/democracy/democracy.php on line 503

Any idea how to fix? I’m running the latest WordPress version.

3:32 am on 6/12/2008 503. asansör

thank you wery much

4:18 am on 6/13/2008 504. izmir reklam

thank you wery much

2:50 pm on 6/13/2008 505. Santiago Bustelo

Here are some minor fixes we did for Democracy to work on a WordPress 2.3.2 installation.
Hope it helps not only ones who have been experiencing some of these issues, but also Andrew with future releases of this great plugin.

Fix for “Fatal error: Cannot redeclare jal_democracy()…”:
Delete or rename the custom file /wp-content/install.php .

Fix for several issues as being unable to create new polls or delete existing ones, as well as the ones mentioned in #187:
Use lowercase for all references to table names in admin.php, class.php and democracy.php. If your code editor allows regular expressions, try this one to fix them all:
find: {\$table_prefix}democracy([a-z]+)
replace: {\$table_prefix}democracy\L\1

Finally, we needed the jal_democracy() wrapper to return the poll’s HTML, instead of echoing it. The modified function switches its behaviour by an additional argument.

Santiago Bustelo, Icograma
Buenos Aires, Argentina

2:29 am on 6/18/2008 506. çanakkale evden eve

thank you wery much

10:37 am on 6/18/2008 507. muharrem

thanks http://www.kliptr.com

4:40 am on 6/21/2008 508. Hepsi 1

Installed on WP 2.1 and it’s bugtastic. We can create new polls, but only if they are 4 questions in the poll. Whenever you click “Add an Answer” or “Remove an Answer” it either closes out of that poll or adds a whole new poll. Any fixes on the way?

10:17 am on 6/21/2008 509. nude

I had seen in the fields. If they’d been much nude sports stars she runs across the.

11:43 pm on 6/23/2008 510. temizlik şirketi

thank you wery much…

1:13 am on 6/24/2008 511. video monitor

very good share, thanks goodluck

7:16 am on 6/24/2008 512. AdTech ile reklam 2.0 dönemi

thanks. ;)

thanks . :)

7:18 am on 6/24/2008 514. gürçay

thanks.

10:35 am on 6/24/2008 515. Vic

Hi there,
Know anyone which plugin to use if I want only a part of the article to be displayed? If someone want to read more there will be a “read more” link…
On my blog right now is displayed all of article content and I don’t want this…
I’m talking about the latest 10 articles displayed on the first page of my blog.
I’m using WordPress.
Can anyone help?

4:38 am on 6/25/2008 516. temizlik firmaları

thank you:)

1:55 am on 6/28/2008 517. temizlik

thank…

11:02 pm on 6/30/2008 518. temizlik

thank you…

5:00 am on 7/1/2008 519. temizlik

thank you wery much

1:33 pm on 7/1/2008 520. HR Software

I love the plugin. Any plans on making it work great with wordpress 2.5.1 and beyond?

11:08 pm on 7/9/2008 521. kiralık vinç

thank you….

5:14 am on 7/11/2008 522. bursa evden eve

thank you….

1:25 pm on 7/11/2008 523. manken

thanks…

5:43 pm on 7/11/2008 524. Chris

When I put my {democracy:xx} code into my post it’s putting an extra “n” in the middle of the post. Just thought you might be interested. Thanks for the plug-in… it’s great (other than the “n” thing).

10:59 pm on 7/11/2008 525. Phuong Vo

I had problems with WordPress 2.5.1 (the results didn’t look right) but fixed it. I explained how here:
http://www.potatobytes.com/how-to-install-democracy-plugin-on-wordpress-251

2:30 pm on 7/13/2008 526. Christophe Delire

About a “n” added in the article code before {democracy:*} after saving

In the democracy.php file line 328 to 332
//add wrapper…/…
go to line 331: return …/
FIND ‘,’\n’,../…
REMOVE \n
SAVE
THAT’S IT

6:25 am on 7/14/2008 527. çocuk sitesi

thanks

12:01 am on 7/15/2008 528. zemin temizligi

thank you….

12:29 am on 7/15/2008 529. zemin temizliği

thank you wery much

6:44 am on 7/15/2008 530. yat temizliği

thank you wery much

3:47 am on 7/16/2008 531. Harry Kewell

i use it very good plugin thanks for your post

11:34 pm on 7/16/2008 532. erotikshop

Hi there!
I like your Plugin very much but it would be great if one could also allow multiple choices what is currently not available. Is there any way I can do this? I am having a voting on my blog but I would like to give people the chance to choose several points.
I am looking forward to your answer

11:34 pm on 7/16/2008 533. seks shop

I like your Plugin very much but it would be great if one could also allow multiple choices what is currently not available. Is there any way I can do this? I am having a voting on my blog but I would like to give people the chance to choose several points.
I am looking forward to your answer

6:00 am on 7/21/2008 534. cit örme

thank you…

6:03 pm on 7/21/2008 535. rss_ems

Thanx so much!

7:39 am on 7/23/2008 536. genel temizlik

thank you…

6:47 pm on 7/28/2008 537. Paulo Frazão

Thank you!

10:29 pm on 7/30/2008 538. Silveira Neto

I’m using version 2.0.1 but my widget has disappeared.

12:02 am on 8/1/2008 539. porno

Very good idea thaks admin

5:04 am on 8/5/2008 540. konteyner

thank you…

3:38 am on 8/6/2008 541. asansör

Thank you for sharing….

11:23 am on 8/7/2008 542. Adel

hello
i hope tu use it in arabic site ????
how it support arabic lang

thanks

6:14 am on 8/9/2008 543. Luke

Hello,

I recently installed this plugin on one of my blogs, and it works great for polls – however, I cannot seem to deactivate any of the polls I create with it. While only one poll is currently active, all of the polls I have created are still accepting votes – how do I fix this?

Thanks,

Luke

7:58 am on 8/10/2008 544. Fairvote

Can you please include write a modual that uses a preferential”Instant Run-Off”voting system

Voptes are markedoffin order of prefernce 1,2,3,4 etc

If no one option has 50% of the overall votes then option with the lest votes is ecluded and theirassociatedvotes are reallocated to the next optionaccoding to the vpte preference. This repeates itself untill one option has 50% or more ….

I think such an option would be great

You could then expand it to

7:59 am on 8/10/2008 545. Fairvote

Can you please include write a modual that uses a preferential”Instant Run-Off”voting system

Voptes are markedoffin order of prefernce 1,2,3,4 etc

If no one option has 50% of the overall votes then option with the lest votes is ecluded and theirassociatedvotes are reallocated to the next optionaccoding to the vpte preference. This repeates itself untill one option has 50% or more ….

I think such an option would be great

You could then expand it to allow for multi option election.I can send you the rules of the count. It pretty basic.

7:52 pm on 8/12/2008 546. Sarahe

Hi!
I love your poll plugin but I have 2 problems:
1) whenever I post it it puts an ‘n’ above the poll, and if I edit the post and don’t delete the ‘n’ it adds another one. Then if I do delete it, it just comes straight back once published.
2) I can’t get the plugin to let peopl evote more than once. IP logging is off and I set it so they can vote every ’1′ days. but it still won’t work.

I have a poll on the homepage right now (wth both probs). so please have a look and let me know how I can fix these probs!!
thanks heaps!!

2:56 am on 8/14/2008 547. izmir evden eve

thank you for sharing

1:27 am on 8/17/2008 548. Jacques

Hi Renzmar

thanks for the info on removing the linefeed, for the save issue. Removing the linefeed resolved the problem.

5:27 am on 8/19/2008 549. Oba

Thanks for this! A really nice poll plugin!

10:03 am on 8/19/2008 550. Internet Tech Blog

I’m sorry but it won’t work on my site. I had used {.democracy:ID} on my page but it still display none but those code. I don’t know what’s wrong.

1:07 pm on 8/21/2008 551. Koki

I am trying to upgrade to newer version. I downloaded this today and apparently there is already a new version but I cannot seem to get it from WordPress plugin directory

3:03 pm on 9/3/2008 552. perde

vonder full
thank you

8:23 am on 9/4/2008 553. jose maria

Thanks for share u work (sorry, my english´s very bad)
I have 2 serious problems with u plugin:
1.- When post 1 poll, show “n” caracter above poll. If i edit the post and delet it, poll crash.
2.- I have “log ip:off” and only can to vote one time….why?

Anyway, thanks again.

10:10 am on 9/4/2008 554. jose maria

Solution for “n” character above polls:
Go line 331 or 338 and find “jal_add_dem_div”.

return preg_replace('/{democracy[\w\W\s^}]*?}/', '\n\', $content);

Then, delete \n.
Its all.

11:26 pm on 9/6/2008 555. Michael

Hi there,

Nice move with this poll.
However I’ve got a problem

Think its best that you visit my blog and then you will see that for every answer you see a little circle.
Can this be removed???
Also the answers aren’t lined out like it should be. Will this be adjusted if the little circles are removed???

Thanks

12:44 pm on 9/7/2008 556. Michael

Hi,

Did find it by myself.

Erased following line in the css file from your plugin
#democracy ul { padding: 0; } on line 28

2:36 am on 9/16/2008 557. Deviantz

Cool! thanks for sharing this!

2:37 am on 9/16/2008 558. Alex

Hi, I was wondering, If there’s a possibility to build a system, where non-registered users could construct polls by themselves? Would you like to participate in such project (for a reasonable payment of course). If you’re interested, please write me a@altzgamer.ru

5:27 am on 9/16/2008 559. Ted

Hi,
I installed democracy 2.0.1 in my blog, but the plugin page says that I have the v. 1.0.
And, if I update, WordPress deactives it.

9:51 am on 9/18/2008 560. sohbet

thanks.

5:38 pm on 9/18/2008 561. Anonymous

This is one of the great plugin i’ve ever found, its good to have it handy :)

Thanks for sharing

2:06 am on 9/19/2008 562. Ted

I found the solution for the update problem of the plugin in wordpress.org forum. Here the link: http://wordpress.org/support/topic/199261

5:49 pm on 9/23/2008 563. hikaye

Thanks you

11:29 am on 10/8/2008 564. Cary

Hi :)

Hey, I’m sure you are a very busy person, and I really love this plugin, but I was just wondering if you have any suggestions for this problem I’m having?

I get these letter “n”s appearing before every poll that I post, and I can’t figure out why… I’ve tried removing all my other plugins, but that doesn’t fix it.

Any thoughts?

Thank you for an amazing plugin!
–Cary

9:45 am on 10/12/2008 565. Andrei

Jose Maria, thanks for the tip about removing the / n problem!

12:53 pm on 10/13/2008 566. Video Product Reviews

I will be adding this to my product review site. I’m loving the newest version. I’ve been using this plugin since way back in the day on many of my sites. Please keep up the good work.

12:06 am on 10/21/2008 567. sex shop

Sex Shop
seks, sexshop, seks shop, sex, sex urunleri

6:04 pm on 10/27/2008 568. kelebek

Thank you very much for this information. I like this site

4:04 am on 10/28/2008 569. sex shop

jadi sex shop

11:44 am on 10/29/2008 570. Plusbilgi

Great plugin..
thanx..

10:08 am on 10/30/2008 571. dwrwer

rwerwerwerwer ewrwerew
rwer
werwfcwfw
werwerwe wer wer we

e
er er er

wer

12:06 pm on 10/31/2008 572. Aaron

Any particular reason why you’re explicitly specifying id #’s on the INSERT queries for install? Removing them, and just allowing MySQL to auto_inc (since that was part of the declaration) corrected the duplicate key error for me.

I also had to adjust the $first_time variable to look for $table_prefix.”democracyq” instead of …”democracyQ” — MySQL returns the result as all lowercase — (although this just might be because my admin runs MySQL on IIS…)

Love the plugin aside from these idiosyncrasies. I just did some code-hacking and got it working. :)

12:12 pm on 10/31/2008 573. Aaron

To fix those insert queries:

Just add a column specifier clause.

So change:
INSERT INTO {$table_prefix}democracyQ VALUES(”, ‘{$question}’, {$added}, {$allowusers}, {$current}, {$active}, {$multiple})

to:
INSERT INTO {$table_prefix}democracyQ (question, added, allowusers, current, active, multiple) VALUES (‘{$question}’, {$added}, {$allowusers}, {$current}, {$active}, {$multiple})

this will allow the MySQL server to just automatically take care of the id #.

5:01 pm on 11/2/2008 574. Ricardo Fraga

Deactivated polls still accept votes, meaning I can never truly “close” a poll (i.e. can’t disable voting on a deactivated poll).

Anyone experiencing this and have a fix?

Help and thanks!

3:39 am on 11/5/2008 575. Einstein

Schade das sich der “Back to Votes” – Sache keiner annimmt, da dies beim IE zu einem Laufzeitfehler führt. Ansonsten ein schönes Plugin das sicherlich, sofern dieser Bug verbessert würde, zu einem der besten und sinnvollsten Plugin’s im WordPress zählen würde.

826 discussions elsewhere