Blog

You are browsing the archive for Technology.

Removing WPMu (WordPress MU) Post HTML/JavaScript filter

January 4, 2009

Today, I spend almost 3 hours to find out a way to remove boring WPMU(Wordpress Multi Users)’s post html tags filtering. I love the javascripts coz of their functionality and that’s why I used them many times in my previous WordPress install but since shifting to WordPress multiuser, I have been missing javascripts.

I searched a lot on net, only few info was helpful. The official “how to use Javascript” suggest to install “text-control plugin” and then turn off rich editor, its totally useless in WPMU. I found a lot of people asking help on how to:

  • enable JavaScript for WordPress MU post;
  • remove WordPress MU HTML filter; or
  • enable advanced HTML tags and attributes, like embedded object, flash, video, etc?

Finally I got a simple solution from somewhere by hack some code:

  1. Go to: wp-include
  2. open kses.php in an editor like notepad.
  3. go to around line 742 and simply do the following commenting out:

function kses_init_filters() {
// Normal filtering.
add_filter(’pre_comment_content’, ‘wp_filter_kses’);
add_filter(’title_save_pre’, ‘wp_filter_kses’);

 

// Post filtering
// add_filter(’content_save_pre’, ‘wp_filter_post_kses’);
// add_filter(’excerpt_save_pre’, ‘wp_filter_post_kses’);
// add_filter(’content_filtered_save_pre’, ‘wp_filter_post_kses’);
}

This solution will allow you to only stop filtering of the POST, but the comments will still get filtered out.

Add Recycle Bin to Folder Options

October 26, 2008

Now to make it easier to remove or show recycle bin on  desktop of windows XP, let add a graphical user interface to this. The following process will add a option to chose in Folder Options.recyclebin

1. Using a text editor like Notepad create a text file, now copy the below registry code, and save the file as OptionRecycleBin.reg.

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop]
"RegPath"="Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\HideDesktopIcons\\NewStartPanel"
"Text"="Show Recycle Bin icon on the desktop"
"Type"="checkbox"
"ValueName"="{645FF040-5081-101B-9F08-00AA002F954E}"
"CheckedValue"=dword:00000000
"UncheckedValue"=dword:00000001
"DefaultValue"=dword:00000001
"HKeyRoot"=dword:80000001

2. Now double-click the file to import this code into the registry.

To hide or show the Recycle Bin icon using Folder Options, follow these steps:

  1. In Windows Explorer, Click on the Tools menu, then click on the Folder Options.
  2. Go to the View tab, under Advanced Settings, do one of the following:
  3. Check the Show Recycle Bin icon on the desktop check box to show the icon on your desktop.
  4. Uncheck the Show Recycle Bin icon on the desktop check box to remove the icon from your desktop.

Remove Recycle Bin from Desktop in Windows XP

October 26, 2008

Does that recycle Bin icon on your desktop makes you go crazy? Then this is step-by-step, how you can remove remove the Recycle Bin Icon from your desktop. recyclebin

You can use TweakUI or make the changes manually into the registry.

Removing the Recycle Bin

1. Using a text editor like Notepad create a text file, now copy the below registry code, and save the file as ‘RemoveRecycleBin.reg’.

REGEDIT4

 

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu] “{645FF040-5081-101B-9F08-00AA002F954E}”=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] “{645FF040-5081-101B-9F08-00AA002F954E}”=dword:00000001

2. Now double-click the file to import this code into the registry.

Showing Recycle Bin

1. Using a text editor like Notepad create a text file, now copy the below registry code, and save the file as ‘ShowRecycleBin.reg’.

REGEDIT4

 

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu] “{645FF040-5081-101B-9F08-00AA002F954E}”=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] “{645FF040-5081-101B-9F08-00AA002F954E}”=dword:00000000

2. Now double-click the file to import this code into the registry.

Nokia N85

October 23, 2008

After N95 Nokia used same dual slide design in N85. It comes with the biggest OLED display used in a mobile by Nokia in there phone till yet. Replacing the TFT technology screens is a good decision because of OLED’s clarity and sharpness. N85 is a multimedia phone. It comes with dedicated multimedia keys and accelerometer for automatic screen rotation.

Bluetooth: Stereogsmarena_009

Display: 2.6-inch 16M color OLED display

Audio: stereo FM radio with RDS and a FM transmitter, 3.5mm jack

TV-out to get phone display on TV set,

Memory: 8GB microSD card to store your all multimedia files

Gaming Keys: multimedia keys act as gaming keys for better N-gage gaming experience.

Camera: 5 megapixel with autofocus, video recording at up to 30 fps

Flash: dual-LED, autofocus assist light is mounted at the back of the device looks good

Colors: black and copper

Price: Rs. 26,400 approx excluding taxes

Answer to questions about Meta-Tags

September 17, 2008

Everyone knows that meta tags does a great affect to the ranking, rating and popularity of the website. Which at last targets to the end pourpose of getting your site a decent traffic.

Getting SEO (search engine optimization) done properly is a blogger’s or infact every web developer’s night mare. It does not matter how good your web design is or how efficiently do you design the structure (content and data) but, every time when you launch a new site or maintain a personal blog, it seems nearly impossible to get desired attention to our content or site in search engines result.

Google’s official blog for WebMaster Central provides the expert views and insight to the meta tag issue.