From the monthly archives:

June 2009

Apple claims Safari 4 to be the Fastest Browser

by Mahesh Kukreja on June 18, 2009

Safari 4 is World’s fastest browser: Apple

When compared to other browsers, Apple boasts that Safari 4’s JavaScript is up to eight times faster than IE 8 and more than four times faster than Firefox 3; and Safari 4 loads HTML web pages more than three times faster than IE 8 and three times faster than Firefox 3.

Safari 4 includes HTML 5 support for offline technologies and support for advanced CSS Effects. Apple at the WWDC was also proud to point out that Safari 4 is the first browser to pass the Web Standards Project’s Acid3 test.

Safari is built off of WebKit, which is the open source browser engine that’s also used by popular mobile browsers and even Google’s Chrome. It’s interesting that Apple chose to compare Safari 4 against IE8 and Firefox 3, but left out comparisons with Chrome 2.

Both PC and Mac users can download Safari 4 here.


Related Posts
Related Websites

{ 1 comment }

Embed a Youtube video in WordPress blog in 5 steps

by Mahesh Kukreja on June 18, 2009

Step 1 – Write Your Post in WordPress

youtube_wordpress

To add a Youtube video to your blog post, write a new post in your WordPress Admin area. Be sure to leave a blank line where you want the YouTube video to appear in the final, published post on your blog.

Step 2 – Switch to the HTML Editor View

youtube_wordpress

After you’re done entering the text for your post, select the “HTML” tab to switch to the HTML Editor view in WordPress.

Step 3 – Find the YouTube Video that You Want to Embed in Your WordPress Post

youtube_wordpress

Find a Youtube video that you want to embed in the post. Copy the code from the “Embed” box.

Notice that when you click in the Embed text box, the window may expand showing several options you can pick and choose from to customize the video’s appearance within your blog post. For example, you can choose to show related videos, include a border, and change the size. It’s up to you if you want to modify these settings or not. If you do change these selections, the code in the Embed text box will automatically update. Therefore, copy the Embed code after you make any customization changes.

Step 4 – Paste the Embed Code from YouTube into Your WordPress Post

youtube_wordpress

Return to the window where you have your WordPress post open, and click within the HTML editor text box in order to place your cursor at the beginning of the first line where you want the YouTube video to appear within your final, published post. Paste the code here, and then select the “Publish” button on the right side of your screen to publish your post.

It’s important to paste the Embed code just before you hit the Publish button. If you do anything else to your post after pasting the Embed code, the YouTube video may not appear correctly in your final, published post. If that happens, you’ll have to return to the HTML editor, delete the code you pasted, re-paste it and republish your post.

Step 5 – View your post

youtube_wordpress

Visit your blog to view your live post and ensure it published correctly. If not, return to Step 3 and repeat the copying and pasting of the Embed code and republish your post.

Incoming search terms:

  • youtube video
  • how to leave a blank line in html
  • get youtube window in wordpress
  • how to add youtube video to blog wordpress
  • utube wordpress embed images
  • wordpress publish youtube viudeo
  • wordpress youtube video box html codes
  • www mahesh videos com

Related Posts
Related Websites

{ 8 comments }

Disable WordPress plugins through phpMyAdmin

by Mahesh Kukreja on June 16, 2009

I recently encountered some problem with my WordPress blog after updating it to version 2.8. Due to this update, the plugins also needed to be updated. So, while doing that, there was some problem and my blog wasn’t ready to open. So, I thought of disabling all the plugins and start over again.

But, my admin page was also not opening. So, I searched for methods that would disable plugins without logging in to WP-Admin.

I found out that the plugins could be disabled through phpMyAdmin.

Here are the steps to disable plugins through phpMyAdmin:

Login to phpMyAdmin:

phpmyadmin
This can be done through cPanel.

Browse to your blog’s database:

phpmyadmin

By default, you will be in Structure tab. Switch on to SQL tab, which is besides Structure tab.

phpmyadmin

Run SQL Query:

Navigate to the “active_plugins” column of the “wp_options” table using the following SQL query (edit the default WordPress table prefix “wp_” if needed):

SELECT * FROM wp_options WHERE option_name = 'active_plugins';

phpmyadmin

Once the active_plugins column appears, click to edit it. You will see something similar to the following, depending on the number and type of plugins you have installed:

phpmyadmin

a:26:{i:0;s:19:"akismet/akismet.php";i:1;s:43:"all-in-one-seo-pack/all_in_one_seo_pack.php";i:2;s:25:"blog-stats/blog-stats.php";i:3;s:14:"copyescape.php";i:4;s:31:"dd-formmailer/dd-formmailer.php";i:5;s:36:"google-sitemap-generator/sitemap.php";i:6;s:32:"login-lockdown/loginlockdown.php";i:7;s:18:"mybloglog_wp_2.php";i:8;s:33:"related-sites/RelatedWebsites.php";i:9;s:21:"sociable/sociable.php";i:10;s:23:"statpress/statpress.php";i:11;s:23:"tweetmeme/tweetmeme.php";i:12;s:27:"tweetmyblog/tweetmyblog.php";i:13;s:37:"twittercounter/ald-twittercounter.php";i:14;s:53:"what-would-seth-godin-do/what_would_seth_godin_do.php";i:15;s:17:"wp-ban/wp-ban.php";i:16;s:29:"wp-dbmanager/wp-dbmanager.php";i:17;s:21:"wp-email/wp-email.php";i:18;s:43:"wp-google-analytics/wp-google-analytics.php";i:19;s:27:"wp-imagefit/wp-imagefit.php";i:20;s:61:"wp-limit-posts-automatically/wp-limit-posts-automatically.php";i:21;s:27:"wp-pagenavi/wp-pagenavi.php";i:22;s:29:"wp-postviews/wp-postviews.php";i:23;s:33:"wp-security-scan/securityscan.php";i:24;s:21:"wp-table/wp-table.php";i:25;s:31:"wp-useronline/wp-useronline.php";}

That entire array of code represents every active plugin on your site. Thus, to quickly disable all plugins without using the WP Admin area, highlight the entire block of code, cut it out, and paste it into a safe, offline text file. After removing the code, click the button to save your changes and that’s it. All WordPress plugins are now deactivated (yet still installed, and with all plugin options intact). This obviously is a huge time-saver that really comes in handy during those mission-critical, time-sensitive situations where every second counts. Once you are ready to re-activate your entire set of plugins, simply cut/copy & paste the preserved code back into the “active_plugins” field. Click save and done. Again, don’t forget to backup your database before editing it ;)

Alternately, here is a one-second query to disable all plugins:

UPDATE wp_options SET option_value = '' WHERE option_name = 'active_plugins';

Upon execution, this query will clear the active_plugins field of all active plugins, effectively disabling (without uninstalling or modifying) the entire set. This method is great if you plan on re-enabling each plugin individually, say, after resolving some heinous server error. Whereas the previous technique makes it easy to re-enable all plugins en masse, this query is perfect for simply “nuking” all active plugins with no remorse. ;)

Incoming search terms:

  • wordpress remove plugin not possible
  • disable wordpress plugins
  • disable plugins wordpress phpmyadmin
  • disable plugin phpmyadmin
  • dissable plugin wordpress
  • disable plugins phpmyadmin
  • wordpress disable plugin phpmyadmin
  • wordpress disable plugin from phpmyadmin
  • disable plugin wordpress
  • wordpress disable plugins phpmyadmin

Related Posts
Related Websites

{ 15 comments }

WordPress 2.8 “Baker” available for download

by Mahesh Kukreja on June 12, 2009

WordPress has released new version of its blogging software, WordPress 2.8. This version has bunch of bug fixes, improvements to themes and widgets and has added some fantastic taxonomy features. There are over 180 new features, changes, upgrades, and improvements in version 2.8 as compared to version 2.7. There are over 790 bug fixes!

You can check some of the features of this new release in my earlier post.

This release is named in honor of noted trumpeter and vocalist Chet Baker. Here’s a quick video overview of everything in the new release:

Here’s a screenshot of my Dashboard:

Download WordPress 2.8.


Related Posts
Related Websites

{ 0 comments }