WordPress plugins and svn annoyances!

Small things in programming have been annoying me the last couple of days. WordPress has started using svn (Subversion) as a method of version control for plugins. What this does, is allow the developer to upload version of the plugin to a database and then the plugin will automatically be updated on the download page. Also, it will alert anyone who has the plugin that there is an update to the plugin. From there, the user of the plugin can easily install/update it through the Admin panel. It’s actually very useful. Well, I just recently updated my WP-People plugin to Continue reading WordPress plugins and svn annoyances!

WP People Updated

I was trying to add a FAQ to my blog for the Meetup Organizer Tool I am working on and then I got side tracked updating my WP People Plugin. The WP People Plugin basically takes the Name value from Links added to the blog and replaces it with a nick name and a link to more information about the person. I originally had created a database table to hold the people and an admin screen to add, edit and delete. Then I saw the XFN option in WordPress and figured it would be much easier to use that information. Continue reading WP People Updated

Issue with Flex 3 error "class is not an IEventDispatcher"

I just started playing around with Flex 3 for a project at work. Part of the project requires pulling customer site information and displaying on a Google Map. I figured out how to do that, but when I would display grid data I would get the warning. warning: unable to bind to property ‘xxx’ on class ‘xxx’ (class is not an IEventDispatcher) After a few Google searches, I found an easy solution and a “d’uh moment”. I had set up my data structures as ActionScript Class files. package { public class Site { public var site_id:int; public var name:String; public Continue reading Issue with Flex 3 error "class is not an IEventDispatcher"

Adding a little style

Last night I decided to clean up the home page a little bit. The plugins I am working on are being used on the home page and they don’t have any styling to them. It was just basic output of the RSS feed. It looked pretty ugly. So, after getting back from watching 300, I decided that I should do a little clean-up. I used the same basic css style sheet being used in the WP People plugin for the popup window. I just changed the colors and the border lines a little bit for now. Just a quick fix Continue reading Adding a little style

WP People – style sheet done, style sheet problems.

Well, I went to Big Bear’s site and went through the float tutorial/example to get some ideas for the popup window. Obviously, I took a lot of the ideas from it. i will probably go back and touch it up a little more, to make it more mine. However, after I did get the basics working so that it looks great in FireFox, I checked out what it looked like in IE. Well, the styles weren’t showing up in IE!!! At first I thought it was a problem with the style tags, but when I looked at the example popup Continue reading WP People – style sheet done, style sheet problems.

WP People, making it clean

Well, I was looking through the coding standards on Word Press. There was something in there about usingwpdb for database calls. I figured; okay, this shouldn’t be too hard, just switch over the query calls to wpdb->query and everything will be fine. Whoa nelly!! Man, that wasn’t as simple as I thought. I had to take out all of my error handling. I guess that the wpdb class has enough error handling. But, methods I were using to determine if the values were empty and such just didn’t work. It took me a lot longer than I expected to get Continue reading WP People, making it clean