Several times I’ve had a user setting that was separated by commas that I needed to split out into an array. People, correctly, put a space after commas. But for the array the space shouldn’t be there. Here’s a quick tip to strip out those leading spaces.
array_map will step through the array members and apply the trim() function to each giving you a nice, clean array without leading spaces.
August 11th, 2008 | Posted in Coding, Tips & Tricks | Tags: Coding, php, tips | No Comments
How important do you think design is to the success of a forum? It’s an extremely popular topic on web design forums. Content or design? Which has the bigger effect on the success of a forum?
I don’t think anyone would argue that a forum can succeed without good content, but how big of a part does the design play in that success?
Read the rest of this entry »
August 10th, 2008 | Posted in Coding, Design, Forums, Unfiled | Tags: Coding, Design, forum, google, html, photography, search engines, seo, SMF, spider | No Comments
Spam is one of those problems that you can’t do much about, so you might as well try and find a little humor.
Perfect example. I just got an email to moderate a comment here that was a spam ad for software to spam forums, blogs, and guestbooks. Were I looking for such software, which I’m most certainly not, the fact that WordPress caught the comment in its moderation queue doesn’t speak too highly of how well this software works.
August 4th, 2008 | Posted in Uncategorized | Tags: spam | No Comments
Type about:robots into the address bar in FireFox and press enter. You’ll find an easter egg.

August 3rd, 2008 | Posted in Uncategorized | Tags: easter egg, firefox, robot, robots, spider | 1 Comment
The scroll bars in Internet Explorer never go away. If they’re not needed, they just disable. To me this is an incorrect behavior, and it was really causing problems on a site I’m working on where I’m handling the scroll bars inside of a wrapper div anyway so I didn’t want two scroll bars.
Turns out with one little bit of CSS they go away.
Poof, the disabled scroll bars are gone but will come back if needed.
July 22nd, 2008 | Posted in Design, Tips & Tricks | Tags: css, html, ie, internet explorer | No Comments