Multiple ExternalInterface function with the same name in IE8 / IE7

the_flash_logo First I’d like to say that I left out IE6 because it’s a stupid browser and does not matter to me. Recently I have been working on a html5 audio player. Obviously I need to provide a fallback for IE8 … Continue reading

Tackling AJAX and script tags inside

ajax_p So recently I had to make ajax requests that pull in a piece of page with some scripting inside. The context does not matter much, what matters is the script executed fine on my localhost but not as a WordPress … Continue reading

Problems I had as a WordPress developer with badly coded plugins [ part 2 ]

headache part 1 - http://digitalzoomstudio.net/2011/02/23/problems-i-had-as-a-wordpress-developer-with-badly-coded-plugins/ Or THEMES. As you may know, I sell premium WordPress scripts here -  http://codecanyon.net/user/ZoomIt/portfolio?ref=ZoomIt . As authors, we are not required to offer support, but I myself consider it a important part of the deal and I do offer … Continue reading

Javascript Detect any Browser and Browser Version

best-javascript Since jQuery 1.9.0 removed the jQuery.browser functionality, I compiled some useful functions to replicate that functionality. function is_ie(){ if (navigator.appVersion.indexOf("MSIE") != -1){ return true; }; return false; }; function is_firefox(){ if (navigator.userAgent.indexOf("Firefox") != -1){ return true; }; return false; }; … Continue reading

How to make Facebook iFrame WordPress Theme work with SSL on HostGator for free

facebook-sslhttps-secure-accountby-latest-hackers.co_ Step 1 Facebook recently changed their terms to allow only secure https apps / iframes work within their pages. Since then, many guides have been posted about avoiding paying 100$ + because for some people the investment is not worth … Continue reading

WordPress Quick Tip – how to change default thumbnail size on theme activation

Write this in your theme functions.php [php]if ( is_admin() && isset($_GET['activated'] ) && $pagenow == 'themes.php' ){ global $wpdb; $wpdb->query("UPDATE $wpdb->options SET option_value='145' WHERE option_name='thumbnail_size_w'"); $wpdb->query("UPDATE $wpdb->options SET option_value='145' WHERE option_name='thumbnail_size_h'"); }[/php]

WordPress Objects Examples

wordpress-3.0.5 $current_user [php]WP_User Object ( [data] => stdClass Object ( [ID] => 1 [user_login] => admin [user_pass] => $P$xxxxxxx7o3SVZWJYrn/ [user_nicename] => admin [user_email] => xxx@gmail.com [user_url] => [user_registered] => 2011-03-04 22:59:53 [user_activation_key] => [user_status] => 0 [display_name] => admin [first_name] => … Continue reading

Problems I had as a WordPress developer with badly coded plugins

headache As you may know, I sell premium WordPress scripts here -  http://codecanyon.net/user/ZoomIt/portfolio?ref=ZoomIt . As authors, we are not required to offer support, but I myself consider it a important part of the deal and I do offer it best as … Continue reading

IE Bugs I stumbled on over the time

01580520 Cufon text does not show up in a submenu (visibility: hidden)? Fix: Use display:none / display:block instead of visibility   IE Opacity Ignores Positioned Children If you set a child at position relative or absolute, the child will ignore the … Continue reading