This is a custom page, it houses me: ☃ under the sun! HA! That’s it, enjoy..
Playing in the snow, UTF-8 Snowman
Get ready for back to back WordCamp’s

A week from this Saturday, the 24th of April is Southern California’s second WordCamp, but Orange County’s first. I was lucky enough to host the first last year in Marina Del Rey.
Besides WordCampOC coming up, WordCampSF 2010 is the following weekend, which happens to be three weeks earlier than last years event.
I’m really exited to catch up with friends I’ve met at the last few camps, as I haven’t seen some in quite some time. I will definitely be doing way to much tweeting, and photo taking during the next two weekends. So expect some follow-up posts to come!
Looking for a “I’m attending banner”?
Use this code to show your attending WordCampSF 2010!
<a href=http://2010.sf.wordcamp.org"" rel="external"><img src="http://austinpassy.com/wp-content/uploads/2010/02/im-attending-wordcamp-sf-2010.png" alt="I'm attending WordCamp SF 2010!!" /></a> Banner by: <a href="http://austinpassy.com" rel="bookmark">Austin Passy</a>
Your thoughts on the new theme.
Get out your classic 3d glasses!

After receiving my .net magazine last week, I played with a feature I saw in one of the articles about creating 3D images. This is what I came up with:
Working on a new theme called Photr
I’m in the process of working on a new theme to release. If you want to see a live demo, I’m currently testing it on the new 2010 WordCamp LA site You can’t right now ![]()
Creating custom metaboxes and the built in uploader

I’ve been browsing for a way to use my own up-loader in a custom metabox.
While the best way is to check out Matt’s post.
But the problem arose when I used the custom metabox and uploader on a post or page. It overwrote the insert to post feature, not allowing an image to be sent to the edit field.
If you follow Matt’s instructions you’ll have to modify two code snippets to make it work with posts and pages.

An example of a custom upload metabox field
First, remove the if statements that will check if it’s a plugin or theme setting page. I’m sure there is a way to only apply this to post.php and page.php..
if (isset($_GET['page']) && $_GET['page'] == 'my_plugin_page') {add_action('admin_print_scripts', 'my_admin_scripts'); add_action('admin_print_styles', 'my_admin_styles');}
Second, change the javascript file to read:
jQuery(document).ready(function() {
var formfield;
jQuery('#Image_button').click(function() {
jQuery('html').addClass('Image');
formfield = jQuery('#Image').attr('name');
tb_show('', 'media-upload.php?type=image&TB_iframe=true');
return false;
});
// user inserts file into post. only run custom if user started process using the above process
// window.send_to_editor(html) is how wp would normally handle the received data
window.original_send_to_editor = window.send_to_editor;
window.send_to_editor = function(html){
if (formfield) {
fileurl = jQuery('img',html).attr('src');
jQuery('#Image').val(fileurl);
tb_remove();
jQuery('html').removeClass('Image');
} else {
window.original_send_to_editor(html);
}
};
});
Of course, be sure to change the ID’s to read like your meta fields..
That’s it, now your media uploader with work with the editor and custom metabox.
Links
Give me some flavor
Trying out a new service called Flavors.me (deleted it)… Um, that’s all..
