Blog Archives

September 2, 2011

Where the hell have I been?

Hi all; Aliso here. As some of you have surely noticed, I’ve been somewhat absent from my own blog lately. I’ve also been incommunicado to some extent—my sincere apologies to anyone who has sent me a message and been waiting for a response. Let me explain. In the past month, a lot has been going on. I [...]

August 17, 2011

An Upstanding Solution

I’ve read a lot lately about how sitting for prolonged periods of time every day can shorten your life. While I’m skeptical, it seems like common sense that sitting down all the time just isn’t good for you. As programmers, we know what it feels like to only get out of our chairs once every [...]

July 4, 2011

Picking apart XML feeds and namespaces with PHP and SimpleXML

I love parsing XML feeds in PHP. It makes virtually anything that has an RSS or Atom feed completely accessible to my programming. YouTube video feeds, blog feeds, even Facebook Walls. I’ve used SimplePie a lot to make combined social media feeds at work, and SimplePie provides a pretty simple way to access data from [...]

June 30, 2011

Show a user’s order history on “My Account” in Cart66

This isn’t a full tutorial, just some code for people to use. I’m working on a site that’s using Cart66 for their online store. Unfortunately, Cart66 doesn’t come with a function or shortcode for displaying a logged-in user’s purchase history. I made a somewhat comprehensive “My Account” page that does just that.

June 26, 2011

I’m going to WordCamp Chicago!

A couple of days ago, my plane tickets were purchased and my hotel reservation was made. I’m headed to WordCamp Chicago! Brave New Media, the company I work for, is sending me along with our other (awesome) developer, Jerry Kramer. I’ll definitely be tweeting throughout the event, and you can expect a post or two [...]

June 10, 2011

Email obfuscation in WordPress

For those who don’t know about the antispambot() function in WordPress, it automatically obfuscates email addresses so it’s safe to use mailto: links. It turns email@example.com into email@example.com . Cool, huh?

June 4, 2011

Introducing Bolts, a WordPress Parent Theme

I could endlessly tinker with Bolts, adding one more feature or making one more change before release, but then it would never reach 1.0. So, without further adieu, here it is: Bolts 1.0 It’s not perfect, but nothing ever is. Please enjoy using it, and I welcome any and all feedback! The fact that Bolts is [...]

April 24, 2011

WordPress Settings API Tutorial Follow-Up

I received a lot of feedback on my Settings API tutorial (thank you so much!) and a few people found some bugs. There was also confusion on how to reference these options in the theme. Well, I have an updated class file and answers to your questions in this post!

March 14, 2011

Bolts WordPress Parent Theme: Beta Release

For the past several months, I’ve been working on developing a parent theme to use for Barrett Creative’s upcoming premium themes, as well as for client and personal projects. It’s called Bolts (as in “nuts and bolts”) and it’s meant to make theme development swift and simple. It’s got some cool extras built in, like [...]

February 8, 2011

New WordPress Sugar for Espresso

Update 11/15/11: The sugar is now compatible with Espresso 2! Download version 2.0 below. (Thank you for this, Diego!) Update 3/7/11: I’ve updated this to include several functions that were missing from autocomplete. Download version 1.3 below. Here it is! I finally updated my Espresso sugar for WordPress 3.1. I rewrote the functions list to include [...]

February 4, 2011

Updated WordPress Sugar in the Works

Before I begin, let me say thank you so much to all the people who have used my WordPress sugar! I feel very honored to have given the WordPress developer community something truly useful. WordPress 3.0 introduced a ton of new functionality — and a ton of functions and variables to go with it. WordPress [...]

January 12, 2011

Custom Maintenance and Database Error pages in WordPress

Most theme developers know how to make a custom 404 error page—it’s as simple as including a template file in your theme folder. It’s just as easy, however, to customize the maintenance and database error pages that are automatically generated by WordPress. Most WordPress bloggers have seen these by now: Briefly unavailable for scheduled maintenance. [...]

January 1, 2011

Extended WordPress Settings API Tutorial, Part 2

[toc type=bullets levels=3-6] Download the files (updated June 5, 2011) This post is based on part 1 of this tutorial, so read it if you haven’t. We left off with a theme options class, My_Theme_Options, that had all the behind-the-scenes work complete. The next step is the HTML.

January 1, 2011

Extended WordPress Settings API Tutorial, Part 1

[toc type=bullets levels=3] The WordPress Settings API has been around for a little while, but I haven’t used it until now. I highly recommend it. It does a lot of work for you and is still flexible enough to create custom-styled options pages (with a little jQuery). Once you’re done with this tutorial, this is [...]

December 27, 2010

Meet the WordPress Settings API

I’ve been working on my own WordPress theme framework for the past several months, and it’s getting closer and closer to completion every week. A few months ago, after I had finished writing all the code for the framework’s theme options page, I learned of the WordPress Settings API. I initially ignored it because I [...]

December 25, 2010

Aliso the Geek is back and blogging!

The past six months of my life have been filled with work, work, more work, and a little play. I stopped blogging in July to try and preserve the amount of time in that “play” bit, because I was picking up a couple of new projects. Well, since then, the projects have either been completed [...]

July 18, 2010

Shut 'er down

People often talk about “work/life balance,” which really boils down to prioritizing your time. For a lot of creative professionals, it’s more of a “work/life/pet projects” balance. There’s only so much time available to spend on that third category, and even within that, priorities are rethought and shuffled around. Some don’t make it past the [...]

April 27, 2010

Transmit 4 has a brand new look (and icon)

Transmit is my favorite FTP client for the Mac. It has been ever since I bought Transmit 3 back in 2006. Well folks, the day has finally come for Transmit 4! I won’t be commenting on its features at all—for that, you can go to their website—but I will be pointing out their awesome new app icon. Even that got an upgrade!

April 24, 2010

The TypeMatrix Keyboard: First Impressions

In my quest to learn Dvorak and reduce my wrist and hand pain, I ordered a TypeMatrix keyboard (in Dvorak) last week. It arrived today! I’ve only been using it for an hour or so, but I figured a blog post would be a good way to practice on it and give my first impressions.

April 14, 2010

The switch to Dvorak

When I got my first stick shift, we (my family) had to sell my automatic to afford it. My only option for driving, then, was the new stick shift I hadn’t learned yet. I sucked at it at first, but I quickly got a lot better. It’s like learning a foreign language by living in a foreign country. And so begin my adventures in learning Dvorak.

April 13, 2010

You know you’re a gamer when…

I’m blogging from 30,000 feet again, on my way home from NYC. I feel like I got to see a lot more of the city compared to the last time I was here. Even though I was very unfamiliar with the subway, or had never been to Little Italy before, I recognized buildings and details everywhere I went—recognized them from video games.

April 8, 2010

On my way to NYC

I’m on a plane to New York right now, along with my boss, Damian. (It’s his birthday today, by the way. Happy Birthday, Damian!) We’re headed out there on a project for Brave New Media in which I’ll be making a custom Flash app for USB drives. I’d say more, but I’m not sure what [...]

March 26, 2010

PAX Day 1: Wil Wheaton Rocks

I expected Wil Wheaton’s opening keynote to be pretty good. Really good, even. I didn’t expect it to be utterly fantastic! He spoke about his experience being a gamer, growing up playing D&D, and how it all impacted his life. It was interwoven with brilliant humor, some digs at Jack Thompson, and lots of gaming references for the enjoyment of the hundreds of geeks in the audience. By the end of his speech, I felt more proud than I ever have to be a gamer.

March 25, 2010

PAX Day 0: Preparation and Anticipation

It was fairly entertaining to watch dozens of people in hoodies and black jeans file into the fancy hotel lobby today. There are gamers everywhere! I didn’t think so many of them would look like the stereotypical gamer, but I can’t help spotting them from a mile away. Amongst all the hipsters on the streets during the day, the tourists on the Freedom Trail, and the business people leaving work at 5:00 PM, the gamers stick out like a sore thumb.

March 9, 2010

Why search engines scare the crap out of me

One of the things that has blown my mind about my blog is my iPhone UIPickerView post being so popular. I didn’t write a lot of iPhone posts after my trip to the Big Nerd Ranch, so it’s not the general focus of my blog anyway; I’m known more for my WordPress stuff. So how does this post pull traffic from any remotely related Google search for this iPhone code?

March 3, 2010

My newest new plugin: Duotone Page Menu

Remember back when I wrote a post explaining how to make a dynamic duotone-effect pages menu in WordPress? Well, I turned it into a widget. Now even the not-so-code-savvy can put a chic duotone page menu in their sidebar. Head over to the WordPress plugin repository to download it (and rate it)!

February 24, 2010

WordPress template tags auto-complete Sugar for Espresso

Here’s a WordPress Sugar I made for Espresso. For the non-Mac or non-coders: Espresso is a web developing program that I’ve been trying out. It’s been the only thing sweet enough to get me to switch from Coda. Extensions for Espresso are called Sugars.

February 14, 2010

ColorBoxes: my latest WordPress plugin

ColorBoxes is my latest WordPress plugin, allowing users to easily insert alert-style messages at the top of any page or post. Just like SimpleMap, this plugin was born out of a need on a client’s website. I needed a foolproof way for these alerts to be made without going into the HTML editor and making <div> tags with custom classes.

February 11, 2010

10 great resources for WordPress developers

In the spirit of learning new WordPress development techniques, I thought I’d share the ten resources I use the most. These cover a lot of best practices that are a great baseline for solid plugin & theme development. Here they are, in no particular order.

February 7, 2010

Mass Effect 2 in review

Mass Effect 2 is the long-awaited sequel to Mass Effect, a fantastic RPG from Bioware. The wait was well worth it! Here’s my review of this amazing new chapter of the Mass Effect story.

January 30, 2010

A hilarious take on Mass Effect

As I work on my first playthrough of Mass Effect 2, I’m taking notes to post my own review of it once I’m done. In the meantime, here’s a great video I came across on YouTube that applies the rules of Mass Effect to day-to-day life.

January 23, 2010

How to make a great print stylesheet

For any website with a sidebar or a background image, print stylesheets are essential. Using “File » Print” is so much more intuitive for users than searching for a “Print this page” button on a website, and creating print-friendly versions of all your pages is a tedious, time-consuming task (especially if you have a blog). A print stylesheet is an elegant alternative.

January 20, 2010

5 tips on writing WordPress plugins "the right way"

Just like many fellow programmers out there, when I first started publishing my own code for the world to see and use, it wasn’t the greatest. I didn’t fully understand the WordPress API and all the tools it had to offer. I have since learned a lot about how to write WordPress plugins “the right way”—the most efficient, clean, and safe way, that is. WordPress has functions, classes, and hooks that work right out of the box to make plugins easier to code and less risky to use. Here are a few of my favorite tips.

November 11, 2009

Hard drive go BOOM.

Two days ago, I had the pleasure of having my computer crash while I was trying to print something. No problem, I thought, this happens sometimes—after all, I do mess around in the command line enough to actually screw something up now and then. I hold down the power button on my iMac until it shuts down, then press it again and hear the familiar Apple “ding.”

I was then greeted by a folder icon with a question mark on it.

October 31, 2009

List of known bugs in SimpleMap 1.2b2

I have barely had time to work on SimpleMap lately, but I’m hoping to get a lot done on it this weekend to get 1.2 out of beta. For the benefit of anyone using the beta, here are the bugs I’m aware of.

October 30, 2009

Fugue Sprite background-positioning fixed

A friend alerted me to the fact that some browsers weren’t showing the Fugue Sprite properly: everything was showing up as the topmost icon in the image (for example, the first 100 sprites all had the Address Book icon). I did fix it, and I uploaded the new CSS to both my demo page and the ZIP file. Enjoy!

October 23, 2009

Fugue Sprite CSS

I came across the Fugue icon set a few months ago, and I’m using is often enough that I decided to make something similar to the SilkSprite. I created the Fugue Sprite: a CSS file & set of images that provides easy access to all 2,330 Fugue icons.

October 14, 2009

SimpleMap 1.2b1 is LIVE.

Head to the WordPress repository to download it! Please check out the Beta Testing Forum if you want to participate.

October 14, 2009

SimpleMap 1.2 Beta is almost here!

I made some incredible progress on version 1.2 over the weekend (I used a couple of vacation days from work, so yesterday was really the end of my weekend). The ability to have multiple maps with only specified categories is DONE. I haven’t fully tested it yet, but that’s what a beta is for! The [...]

October 5, 2009

SimpleMap Support Forums are live!

SimpleMap Support Forums are now live! Click on the “Forum” link in the header to get to them. You can post in the forums without having to register, but you will have to provide your name and email address. I will leave the comments open on the SimpleMap page for now, but I strongly encourage [...]

September 30, 2009

SimpleMap Support Forum coming soon

The number of comments on the SimpleMap page has now surpassed 150. I am so grateful for all of the feedback I have gotten from users! The downside of this is that the issues/bugs users have reported are sometimes getting lost in the sea of comments. Even though I’m keeping track with my own issue [...]

September 24, 2009

A fantastic script for making customized Google Map markers

I stumbled across this script after an email from a SimpleMap user, who wanted some help figuring out where in my code he could program his own map markers. The code he sent back led me to this tool—albeit through a long period of site-to-site surfing—that I will use in SimpleMap 1.2 to allow for [...]

September 23, 2009

Quick update

I’m sorry I haven’t been able to respond to comments or emails about SimpleMap (or anything else, for that matter) for the past several days—I was on vacation. I’m going through all my emails and comments tonight!

September 11, 2009

A rambling train of thought on SimpleMap categories & tags

This is an excerpt from an email I was writing to a SimpleMap user. I was going to ask their opinion on whether to add a Tags field to locations, but I ended up not needing any convincing. Expect a Tags field in 1.2! In the meantime, here’s some insight into how my brain works [...]

September 10, 2009

How to make a duotone page menu in WordPress

My husband needed something for a client’s website that I’ve seen in several places: a navigation menu that has a duotone effect, where the first word is a different color than the rest of the title. It took some work, but I whipped something up that does the trick. (There might be an easier way [...]

September 8, 2009

The Future of SimpleMap

I’ve been using Lighthouse to track my changes/bugs for SimpleMap, and it’s amazing. My workflow is so much better, and it’s easy to keep track of things. That being said, I’m nearing a point with SimpleMap where my work on it will be a little more sporadic for a while. I’ve been working on it [...]

September 4, 2009

What's coming for SimpleMap

Yes, it’s another post about SimpleMap… I swear that other development insights and code snippets will be in my posts in the near future, but for now SimpleMap is taking up most of my dev time. This is more of an announcement and invitation for suggestions than anything else. What I have planned for the [...]

August 31, 2009

SimpleMap 1.1.2

I just posted version 1.1.2 to the WordPress plugin repository, so you should see it become available in the next 10-15 minutes. This fixes the Javascript error that was breaking the plugin in Internet Explorer and Firefox. It was a bummer of a day. I’m really sorry that I released 1.1 with these huge bugs [...]

August 31, 2009

SimpleMap Browser Compatibility Fix

It has been brought to my attention that SimpleMap 1.1 (and 1.1.1) was completely broken in all browsers but Safari. First of all, I’m really sorry about this; second, I’ve got a fix worked out that I will release tonight in 1.1.2. In the meantime, here’s the fix that you can apply yourself: In js/functions.js, [...]

August 29, 2009

Behold: SimpleMap 1.1

This turned out to be a behemoth of an update! Here are the biggest new features: Support for international locations (any country supported by Google Maps) HTML description for each location Custom categories for locations Improved admin interface Unfortunately, I wasn’t able to use Google Maps API version 3 yet, which means you still need [...]

August 24, 2009

SimpleMap 1.1 is coming, really!

For those of you waiting for the update, I’m sorry I didn’t get it finished over the weekend. I have been trying to solve the problem of large CSV imports stalling the browser, to no avail. Even though I’ve found a way to import large files extremely fast, it still has to process each line [...]

August 17, 2009

SimpleMap version 1.1: coming this weekend

To everyone who has been waiting for version 1.1 to drop, I’m really sorry, but I won’t have it ready tomorrow night. Expect to see it this weekend. The reason it’s been delayed is that I learned more about version 3 of the Google Maps API (currently, SimpleMap uses version 2) and there are some [...]

August 13, 2009

SimpleMap Updates

Thank you so much to everyone who has commented or emailed with errors and feature suggestions. It has helped me fix a lot of things I would not have seen otherwise! Also, a big thank you to Thorsten and Fernando for the German and Spanish translations, respectively. These will be included in the 1.0.6 release [...]

August 10, 2009

SimpleMap is launched!

SimpleMap version 1.0 is launched! Here is some eye candy for you: Check out more on the plugin’s home page or on the WordPress.org Plugin Repository!

August 6, 2009

How NOT to make a WordPress plugin

At Brave New Media, we’re working on an intranet-style site for one of our big clients. We’re using a combination of WordPress and a custom web-based file management software to build it. The Sales department of this company is divided up into a number of teams, and the user accounts in WordPress needed to have [...]

July 29, 2009

Custom UIPickerView text formatting

For one of my apps, I need a UIPickerView (the scroll wheel selection tool). I needed to be able to change the appearance of the text in the picker, which is only possible by attaching a UILabel to each row instead of a NSString. It also requires a different method in the delegate. To use [...]

July 27, 2009

I’m officially a Big Nerd. I have the t-shirt to prove it!

So I’ve been back from the Big Nerd Ranch for a couple of days now, and I’ve had time to reacquaint myself with real life. I’m able to look back on all of last week with hindsight now, and connect some dots. I definitely learned a ton in that class. If I had needed to [...]

July 23, 2009

Big Nerd Ranch Day 6 (Teaser Trailer)

Zip2-Alison Yes, that is me on a zip line, going 35 mph, 150 ft above the ground. There was coding today, of course. I just didn’t take any video of it! I’ll be writing more about that (and the zip lines) later tonight.

July 21, 2009

Big Nerd Ranch Day 4: My brain is full. Please try again later.

I can’t believe how fast this class is going. I feel like I have months of iPhone programming knowledge behind me already. Topics covered today: the accelerometer (tilting, shaking), phone rotation, working with table views, and editing/adding/deleting data from an app. I worked ahead a little bit and learned how to control the phone’s camera, [...]

July 20, 2009

Big Nerd Ranch Day 3: There's an app for that

Check out those icons. I made those apps! They even do things. As you can see, today was a big day. We learned a lot. It feels like Thanksgiving for my brain: I’m completely stuffed, but I’m craving seconds, and I will eat more no matter what. The Quiz application is really simple. There are [...]

July 19, 2009

Big Nerd Ranch Day 2: Objective-C overload

Today was our second day learning Objective-C. We got much deeper into it today, and the programs in our exercises were getting more and more complex. By dinnertime, we had learned how to tap into services being broadcast from other peoples’ computers and capture the information (iChat, printer sharing, iTunes library sharing, etc). It was [...]

July 18, 2009

Big Nerd Ranch Day 1: Basics and a wood tick

Today was the first day of class. I woke up and took a bath in my jacuzzi, which is perhaps the best way EVER to wake up in the morning. It was a gorgeous day outside, and I had a pretty awesome view from my room. Breakfast was at 8:30, and there was a nice [...]

July 17, 2009

Big Nerd Ranch Day 0: I have a jacuzzi!

I’m here! The Banning Mills retreat is beautiful, though I didn’t get to see very much of it today. When we got here from the airport, I basically dumped my bags in my room and went right to dinner—where I spent the better part of 4 hours talking with the instructor and a group of [...]

July 16, 2009

Tomorrow is the big day!

Of course, by “the big day,” I do not mean I’m getting married or having a baby. I’m going to the Big Nerd Ranch! Tomorrow I’m off to Banning Mills in Whitesburg, Georgia to attend Beginning iPhone Bootcamp. I will be locked away in the middle of the woods for a week, chin-deep in Objective-C [...]

July 14, 2009

New Apartment and Prepping for iPhone Bootcamp

At the beginning of the month, Jim and I moved into a new apartment—the three-bedroom next door to our old apartment! It was the easiest move of my life. The new apartment is fantastic, with twice the closet space and a third room to enjoy. Next year we’re hoping to make that third room a [...]

June 22, 2009

Big Nerd Ranch, here I come!

I’ve been on the waiting list for the Beginning iPhone Bootcamp at the Big Nerd Ranch for almost a month now. Today I got the exciting news that I’m IN! From July 18-24 I will be on the geekiest trip I’ve ever taken. Hooray!!! I will definitely be blogging about the trip daily once I’m there. [...]

June 5, 2009

PHP code for exporting a MySQL table to a CSV file

After a lot of searching, and a lot of troubleshooting, I finally found PHP code for exporting a CSV file from MySQL that works perfectly! This might be old news to some, but I’d never done it before and I needed to have that export feature on my Store Locator plugin. $result = mysql_query(“SHOW COLUMNS [...]

June 2, 2009

WordPress Plugins Updated

I’ve posted some of my WordPress plugins on my WordPress Plugins page. More will be added in the next few days as I get them packaged up for public use. Enjoy, and stay tuned!

May 31, 2009

A Newbie's First Impression of Ruby

I just realized that this post title rhymes. Sorry about that. I am reading Beginning Ruby: From Novice to Professional by Peter Cooper to introduce me to the language. It definitely lives up to its title! So far, I’m coming out of each chapter with an actual understanding of what I just read… even if [...]

May 30, 2009

AlisotheGeek.com Launches!

Welcome! This (hopefully) will be my general development blog as I learn Ruby and Objective-C, and also as I expand my knowledge of PHP/MySQL, Actionscript 3, XHTML/CSS and Javascript. Get started by reading my latest posts, learning a little more about me, or checking out my WordPress plugins.