I’m announcing Jalecode, a new blog dedicated to coding. In short, that means no more code will be appearing here. I’ll be leaving Democracy, Wordspew and Doc Search here.
Hopefully my friends and other readers will find it more pleasant and more focused because of this. And maybe they’ll start freaking posting again. I probably could get into the posting groove too. It’s been awhile since I’ve really had something to say. So, get on it!
Today I spent from 11 am to 7pm finishing my math homework. Turned in all 14 pages at 8:00 pm. It really got me into that school groove again. Not sure if that’s good or bad. I think all the coding lately has helped with my math skills. The concentrated mindset and the appreciation of semantics really helps.
I’ve just returned from a trip to Portland, a very lovely city. I wouldn’t mind living there in the future. A few more rednecks than Berkeley, but I guess that’s true anywhere.
This plugin gives your WordPress admin panel a Codex searching feature. Whenever you need help with WordPress, just type into the search box and you’ll have all its information at your fingertips. This plugin is a collaborative effort of Owen Winkler and me. Also thanks to Robert Deaton for coding slower than us. The first version was literally started and finished in 5 minutes, but now its branched into something much more usable. Check out the screenshot. Huzzah!
Update: Version 1.3 is Owen’s release. It fixes Safari support and makes other tweaks. Check out his page for this plugin at RedAlt.
Update: Version 1.3.1 is my release. Small tweak for Safari creating a big gap in the footer. Also, filters the results and takes out redundancies in the summaries, makes them MUCH cleaner to look at. I think I’ve perfected the CSS as well. Tweaked the search queries to not include Codex results in the Forum section. Also, I localized the button and some text with the
Download version 1.3.1 of Codex Search. Released July 21, 2005
Installation: Very simple. Upload to your plugins folder (
/wp-content/plugins/), then activate the plugin in your admin panel. That’s all!
This page is for Democracy 1.2 and has been preserved for archival reasons. Democracy 2.x has been released and fixes security problems, allows in-post polling, and a much better interface.
And Installation is a piece of cake. Just upload it to your server, activate it, and place a template tag in your theme where you want the poll to appear.
Download: Version 1.2. It is released under the CC GPL 2.0. If you are upgrading, read the upgrade instructions in readme.txt
NOTICE: Democracy 2.0 is in development. It is being rebuilt from scratch to be more flexible. Make your feature suggestions on my democracy 2.0 post.
ESPAÑOL: Download version 1.0 RC 2. Many thanks to Javier Albert for providing a translation
- Uses AJAX for sending and loading the results, but is fully accessible in non-js environments
- Complete admin panel
- When someone votes, they receive a cookie with what poll they voted in and what their vote was. It also logs their IP, so the same person can’t vote twice even if they delete the cookie
- Allows users to see current results without voting. Also, detects if there are no votes and announces it…
- After voting, the choice you made is highlighted.
- Automatic database table installation.
- Displays winners of each poll in the admin panel.
- Delete old polls in the admin panel.
- Edit existing polls.
- Graphs the results of the poll beautifully and without images.
- Select an active poll.
- jal_democracy() takes poll ID arguments. Use < ?php jal_democracy(10); ?> to display poll 10. However, I recommend you use the ‘activate’ feature instead.
- Allow your users to add their own choices.
- Uses the date format you set in the Options panel for the Date Added column.
- Support for rich HTML. Make your polling options be images!
Please report any errors you encounter with it in the comments below. If you like it, saying thank you is all I ask.
Update July 11
New in Democracy Alpha 4 (plugin diff):
- Added a few options to the head of the plugin file.
- Added CSS file and
id / class hooks that allow for easy manipulation of the design. At the top of the plugin file, you can set the HTML that the question will be wrappd in.
- New graphing feature makes everything look much nicer when viewing results
- Fixed HTML validity bug.
- Cleaned up the checkIP() function for better performance.
- Cleaned up some
if...else statements to use ternary operators
- Added deactivation feature, so if you want no poll to display, you may. Also, the default poll is no longer active.
- Archiving function to view past polls.
Update August 2: Version RC 1 is here. I believe this one to be stable and ready for consumption. Here are some notes:
- Fixed glaring bug that made IP checking completely not work.
- Added a field for ‘added by user’, for answers added by users. This helps differentiate any ‘silly’ answers from your ‘official’ answers.
- Bugfixes and code cleanups everywhere
- Support for Blix theme. The Blix CSS is poorly written to make all inputs and labels be for table-like forms.
- Got rid of a couple of IE Bugs that gave console errors.
- Fixed or improved the flash between voting and receiving new poll data.
- More FAQs and readme goodness.
Update August 15: Releasing RC 2. Bugfix release
- HTML validity fixed
- Rich (HTML) poll answers and questions re-allowed
- i18n improvements.
- Cookies now operate on local level instead of domain level. Useful if you have more than one blog in a domain.
- More code beautification
If you’re updating from a version before RC 1, you’ll need to deactivate the plugin and reactivate it again.
Update August 27: Releasing 1.1. Feature release
- Adds archiving functionality. Use the
jal_democracy_archives() function. Documented in the readme.
- Changed the graphs to use percentages instead of pixels.
- Changeset 3215
- Shaved a query for total votes
Update September 26: Releasing 1.2 Feature release
- Shaved quite a few queries in admin panel and elsewhere.
- Now uses correct charset
- Code restructuring and optimization
- No maximum for the number of answers. Cleaner editing and adding screens
- Fixed CSS comments
- Corrected link to my blog from the plugin page
htmlspecialchars() on unencoded links
- Added 2 new FAQs to the readme
German users, you can grab a localized version of Democracy at http://www.bueltge.de/wp-plugin-ajax-umfrage-plugin/32/ . I would like to offer a localizable .pot file so that other languages can easily be done, but I have yet to find a tool for Mac that can do this. If you know of any please let me know!
My theme is now officially available for download. Check out the theme page for documentation and a download. Enjoy!