Self-hosted moderated chat room and liveblog project

A few months ago I contacted Brian Cook, proprietor of one of the best sports blogs on the Internet, MGoBlog. A year or so earlier I had created a userscript that improved some functionality for his site, and I thought he might be interested in building some of that JS directly into the site so it would benefit every user. Instead we ended up discussing a few other projects, including an open-source alternative for the relatively expensive moderated liveblog systems the site uses for Michigan football gamedays. These are the results of that project so far. See the project

Tagged with: , , , , ,
Posted in GitHub, HTML & CSS, JavaScript, jQuery, MySQL, PHP, Server Side Code

Create and secure your own proxy with cURL and MCrypt

JavaScript’s same-origin policy can be a pain. Of course it’s very necessary for security reasons, but sometimes you want to access a remote web service client-side, or manipulate the display of remote content in an iframe. There’s a still a way to do these things of course, and it’s to build a server-side interface for the remote site and attach your JavaScript to that. Building a generic proxy-style interface is tempting, but can be dangerous if it’s not properly secured. Luckily, securing such a system is possible and relatively simple. See it in action

Tagged with: , ,
Posted in HTML & CSS, PHP, Server Administration, Server Side Code, Try It

Google Chrome for Windows is terrible at web fonts

Dear Google Chrome: get better at web fonts. Seriously, this is bordering on unacceptable. This is a company that provides the fantastic Google Web Fonts service, and their own browser manages to render fonts worse than any browser I’ve ever used, including ancient IE. That’s right, I said it, on at least this one issue, Chrome is significantly worse than even Internet Explorer. Harsh but true. Some Workarounds

Tagged with: , ,
Posted in HTML & CSS, JavaScript

Getting the most out of WordPress custom fields

WordPress custom fields are a pretty nifty idea that can allow you to add custom content to individual posts, outside of the standard content area. Most examples on how to implement custom fields show fairly innocuous uses, just inserting little strings of text in various locations. However, by populating the custom field with wonderfully portable JSON, it’s possible to perform much more complex and powerful actions on individual posts and pages. See it in action

Tagged with: ,
Posted in HTML & CSS, PHP, Server Side Code, WordPress

Using an Ajax powered web form to update a database

As part of the preparation for my upcoming wedding to a wonderful lady, I’m in charge of building our wedding website, which we’ve decided will handle all of our RSVPs. I’m still in the process of building the RSVP form for that site, maybe I’ll do a full post about it and all its features once it’s done. But this process did give me an idea to build a more universal and flexible web form, which could easily be plugged into any LAMP environment and used to push form responses to a database using Ajax. How I did it

Tagged with: , , ,
Posted in GitHub, HTML & CSS, JavaScript, MySQL, PHP, Server Side Code

SharePoint 2010 custom ribbon actions project

One of the things I’ve found myself building in several different SharePoint projects are customized ribbon actions. The ribbon in SharePoint is a really useful tool, and the fact that it’s completely customizable makes it exceptionally powerful. I’ve put together some of the more universally useful ribbon actions that I’ve worked on into one generic solution which could be a great benefit to anyone looking to provide their SharePoint authors with more functionality. Read more ›

Tagged with: , , ,
Posted in CodePlex, HTML & CSS, JavaScript, jQuery, SharePoint, SharePoint Frontend

Creating custom SharePoint 2010 ribbon actions

If you saw my post on a set of custom ribbon items I created, you’ll know that custom ribbon actions in SharePoint 2010 can be a very powerful tool. In this post I’ll go through the basics of what it takes to connect a custom action to a ribbon button using some handy SharePoint custom JavaScript. Read more ›

Tagged with: ,
Posted in HTML & CSS, JavaScript, SharePoint, SharePoint Frontend