Earlier, I uploaded ‘AHCommentCentral’, which is a plug-in that is supposed to help closing/opening comments and ping/trackbacks in your post sections. For now, you’ll find the initial release right over here. That is, for the daring people who experiment. It’s GPL-ed too, which is (only) natural for ‘non-compilable’ sources1.
I left out certain options (you’ll find references to them in the sources): the ‘auto close feature’ (see PrintAutoForm) and the Post Exceptions list (see call to get_options to retrieve data from the ‘ahi_cc_excluded_posts’ options field). In earlier versions, I actually had that ‘auto-close feature’ working, but I decided against adding it to the initial code.
There are couple of things I don’t like about creating WordPress plugins: Designing screens is obnoxious. Here’s a tip for you lazy programmers: grab the ‘wp-admin.css’ file dump it in a directory and then install NVU. Yes, NVU is buggy like crazy, but proofed to be quite the help while racing through all these HTML form elements (A couple of years I was thinking about creating a form-designer). We need XFORMS. Direly.
Another thing that is annoying (when creating these plug-ins) is that the current plug-in structure forces you to start globalizing’ certain variables. I won’t do a rant about globals. There are plenty of them. Global variables kill cats. Somehow, PHP forces programmers to write bad code. You know, poetry is one thing, but comparing PHP code with written literature is a joke. It’s like giving a kid 2 notes (A and B minor) and tell him or her to write 80 melody lines out of those notes. The problem is not in creating 80 of ‘em. The problem is that the eighty tunes will always sound alike. But OK, I admit: PHP is not as bad as ASP (which is just a fancy name for Visual Basic for Applications [cough] and servers!).
As for the name: I think I was watching Comedy Central the other day and the name got stuck somehow in the nether regions of my brain. I considered renaming it to something absurd like, ‘W10x’ (which you pronounce as ‘What The Funk’) or better yet, ‘W09y’ (you pronounce that as that typical Eigthties greeting ‘See You Later, Aligator’). I’m actually dreaming of an ‘EP01BF’, which is the abbreviation for Peanut Buster Parfait. OK. Comment Central.
1 What’s the point of releasing ‘closed sourced’ PHP applications? [that’s a joke]
UPDATE: I just updated the plug-in.
UPDATE#2: Older versions of WordPress