Ehsanul Haque

Welcome to my personal site & blog

16 September
3Comments

Wordpress Plugin: Recently Updated Pages

Today I’ve released a Wordpress plugin called “Recently Updated Pages” which is a Wordpress Widget that displays your recently updated page list on the sidebar.

I was looking for a similar plugin but after searching for a while I wanted to write my own plugin. I followed some instructions on couple of websites and created this plugin. It uses WP_Widget class from Wordpress core and extends it to build the widget. You can download it form Wordpress Plugin page at http://wordpress.org/extend/plugins/recently-updated-pages/

In case if you want to make a small donation you could do so at http://resource.bdwebwork.com/WordpressPlugins/RecentlyUpdatedPages/

Thanks

UPDATE AS OF SEPTEMBER 17, 2009:

I’ve updated the plugin and committed the latest version (1.0.1) to Wordpress plugin directory. The updated version will allow users to include list of blog Posts in the Recently Updated list. Originally the plugin only displayed list of updated Pages and now with this optional choice you can toggle between the option.

05 March
1Comment

Turn off the feature of Google Toolbar to display web history on new tabs of Firefox 3 for Mac

The other day when I was browsing on my Mac (using Firefox 3) I noticed everytime I open a new tab it shows the recent websites I’ve visited and few more items under Google Toolbar title. At the begining I liked the idea. I thought it saves me time to type in URL of the sites I frequently visit. But this feature was not available on my PC.

Although I initially liked the feature, it started to bug me when I opened new tab in front of someone (visiting me – for example) and it was showing the cached page of my online banking. It actually cached the account detail page! I didn’t like the idea that if someone is looking over my shoulder will get to see my account balance.

Anyway I started digging into it to turn off that feature. Then I found it was something that needed to be turned off from Google Toolbar’s settings. So to turn it off go to Tools > Add-ons. It should take you to the Extensions tab. Click on the Google Toolbar for Firefox extension and then click on Preferences button. Preference window will start with Search tab and under “Web-browsing tools” section uncheck the option “Enable the Google new tab page”. You should now get back your homepage, whatever it is set to.

20 August
14Comments

Patch for Grab Yahoo class released

Last week suddenly my Grab Yahoo class stopped working for Address Book section. After Mr Mandy Singh reported the bug on phpclasses.org discussion board I started digging to resolve the issue.

When requesting the address book CSV from Yahoo a value for the key “crumb” is sent in the query string. Earlier Yahoo never checked for the validity of the variable but they have changed the way it is used. Now they check if the value for “crumb” is valid or not. As my script was using a predefined value and it has expired, Yahoo server could not validate. Yahoo was showing an error stating “Invalid or missing crumb”.

I modified my class so that it first loads the page from where request for the CSV is made. From the source of the page, it locates the latest value for crumb assigned by Yahoo and uses that value to send request for the address book CSV file. It is now working as expected. If you find any bug please report it on phpclasses.org discussion board.

Please download the latest version of Grab Yahoo class (v. 1.2.1) here.


Thank you.