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.

22 January
3Comments

Congratulations to Shakib Al Hasan

This is one of the great moments for Bangladeshi cricket as Shakib Al Hasan has topped the list of ICC’s Top 10 ODI all-rounders. Bangladeshi crickets have made their ways in the ICC top ten list for both ODI and Test in past but this is the first time someone is ranked number 1.

Shakib Al Hasan ranking #1 on ICC's ODI top ten all-rounders list

Courtesy – ICC Cricket Ranking (http://www.icc-cricketrankings.com/)

As you can see (screenshot taken from ICC’s official website) Shakib is ranked with 380 points followed by New Zealand’s Jacob Oram and England’s Andrew Flintoff. Shakib also ranks 10 in the list of top 10 Test all-rounders, which is not bad at all. He is younge and performing really well for Bangladesh. I really hope that he keeps up the performance and do the best things for Bangladesh cricket team. I wish him all the best and congratulations.

31 August
8Comments

LinkMeIn – my new class released

Today my new class LinkMeIn was released on PHPClasses.org. I have developed this class about couple of months back but did not have enough time to sit and arrange the files to upload on PHPClasses.org. After Grab Yahoo and MySpace Profile Updater classes this is my third class for same type. This class allows any registered LinkedIn.com user to enter their login information and get the contact list. The list is returned as an array or RSS 2.0 format.

I will update LinkMeIn class in future to add more functionalities to it. For the time being if you want to test it, please visit the LinkMeIn Demo location. To report any bug please use PHPClasses.org Support Forum and if you want to contact me directly please go to the Contact section.


Thank you

20 December
14Comments

Javascript: Select Multiple Dropdown Items

If you would like to have a multiple select dropdown and want to use the selection in a specified format, then here is the solution. Sometimes you may need to create a query string value or fill in a textbox or textarea with the selected values. Say for example you have a dropdown list where you can select multiple items. Upon selecting each option you want to fill in a textarea with the selected value.

Example:


HTML Part:

<form method=POST name='testing'>
  <select name='testsel' multiple onchange='showselection()'>
    <option value="one">one</option>
    <option value="two">two</option>
    <option value="three">three</option>
  </select>
  <textarea id="txtEditions"></textarea>
</form>

Javascript Part:

<script language='javascript'>
  function showselection()
  {
    var frm = document.testing
    var opt = frm.testsel

    var numofoptions = opt.length
    var selValue = new Array

    var j = 0
    for (i=0; i<numofoptions; i++)
    {
      if (opt[i].selected === true)
      {
        selValue[j] = opt[i].value
        j++
      }
    }

    selValue = selValue.join("+")

    document.getElementById("txtEditions").innerHTML = selValue
  }
</script>
10 May
10Comments

All Time Best Bangla Songs

BBC Bangla has recetnly announced The All Time 20 Best Bengali Songs.

BBC Bangla listeners nominated their 5 choices for the top list. Based on the nominations BBC Bangla created the top 20 list.

Visit the News page of BBC Bangla to listen to the songs. Here is the list of the 20 songs.

1. Amar Shonar Bangla
Author: Rabindra Nath Thakur

2. Manush Manush er Jonne
Original Author/Composer/Singer: Vupen Hazarika
Translated to Bengali by: Shibdash Benarjee

3. Amar Vai er Rokte Rangano Ekushe February
Singer: Abdul Gaffar Chowdhuri
Composer: Altaf Mahmud

4. Coffee House er Shei Adda ta aaj aar nei
Singer: Manna De
Author: Gouriproshonno Mazumdar
Composer: Shupornokanti Ghosh

5. Ek Shagor Rokte er Binimoye Banglar Shadhinota Anlo Zara
Composer: Apple Mahmud
Author: Gobindo Haldar

6. Ami Banglai Gaan Gai
Lyricist & Composer: Protul Mukharjee
Author: Mahmuduzzaman Babu

7. Mora Ekti Fulke Bachabo Bole Judhho Kori
Author: Gobindo Haldar
Composer & Singer: Apple Mahmud

8. Tumi Aaj Koto Dur
Singer: Jogonmoi Mitro
Author: Pranab Roy
Composer: Shubol Dash Gupta

9. Ek Nodi Rokto Periye
Author & Composer: Khan Ataur Rahman
Composer: Shahnaz Rahmatulla

10. Dhono Dhanno Pushpe Bhora
Author & Composer: Dijendhrolal Roy

11. Muse Jawa Din Gulo Amay Je Pisu Daake
Singer & Composer: Hemanta Mukharjee
Author: Gouriproshonno Mazumdar

12. Salam Salam Hazar Salam
Singer: Mohammad Abdul Zabbar
Author: Fazle Huda

13. Joy Bangla Banglar Joy
Author: Mazharul Anwar
Composer: Anwar Parvez

14. Khachar Bhitor Ochin Pakhi
Author: Lalon Shah
Singer: Farida Parvin

15. Ekbar Jete De Na Amar Sotto Shonar Gaaye
Singer: Shahnaz Rahmatullah
Author: Mazharul Anwar
Composer: Anwar Parvez

16. Karar Oi Louho Kopat
Author: Kazi Najrul Islam

17. Ai Padma Ai Meghna
Singer: Farida Parvin
Author & Composer: Abu Zafar

18. Chaal Chaal Chaal Urdhogogone Baaje Madol
Author: Kazi Najrul Islam

19. Ek Tara Tui Desher Kotha Bol
Singer: Shahnaz Rahmatullah
Author: Gazi Mazharul Anwar
Composer: Anwar Parvez


20. Tumi Ki Dekheso Kobhu Jiboner Porajoy
Singer: Mohammad Abdul Zabbar

Source: “Shorbo Kaaler Shorbo Sreshtho Bangla Gaan” BBCBengali.com 3rd May 2006 BBC Bangla http://www.bbc.co.uk/ben…..sheragaan.shtml

Among the list of 20 personally I like “Ami Banglai Gaan Gai”; ranked 6th in the list. No matter how many times I listen to the song, I never get bored of it. If I were to submit my favorite 5 songs, my list would have been:

1. Ami Banglai Gaan Gai
2. Coffee House er Shei Adda ta aaj aar nei
3. Muse Jawa Din Gulo Amay Je Pisu Daake
4. Bashi Shune Aar Kaaj Nai
(not in this list)
5. Manush Manush er Jonne

~~~EnJoY~~~