OpenLD is going to live again

Wednesday April 29thOpen Source, PHP, Scripts Category



Finally I have decided to maintain OpenLD script. You already know OpenLD is a very lightweight link directory script. It is highly extensible without hard coding. You can make extensions to utilize its hooking system. There are many hooks in every steps of all files where you may push some piece of code by your extension.

I love this script. But I have seen that it is not maintained for a quite long time. I don’t know what happened to the original developer Anders Persson. As I don’t want this great work to die, I am going to maintain it. I am doing the home works before I start and will update shortly.

Bookmark: bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

URL Shortening using PHP

Monday April 27thPHP, Scripts, Tutorial Category



Yesterday while developing PunBB Twitter extension, Invarbrass of Projanmo Forum helped me by providing some URL shortening snippets for several websites. Those were very simple to use. I am sharing so that it comes to others’ usages.

to.ly
function CompressURL($url) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://to.ly/api.php?longurl=".urlencode($url));
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_HEADER, 0);
$shorturl = curl_exec ($ch);
curl_close ($ch);
return $shorturl;
}
echo CompressURL("http://projanmo.com");

Read the rest of this post →

Bookmark: bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

PunBB Twitter – Twitter Updater for PunBB Forum

Sunday April 26thOpen Source, PHP, Projanmo, Scripts, Softwares Category

This morning I got this idea to make an extension for PunBB forum engine that will update twitter status upon new posts and other activities. Few hours back I have completed it.  It may need many many improvements. But yep, its ready for testing.

Current Version: 0.8

Current features:

  1. Configurable account
  2. Update on creation of new topic
  3. Update on reply on topic
  4. Update on new registration (future)
  5. Control update types (v0.5)
  6. URL shortening using to.ly (v.06)
  7. Skip forums. Updates not posted in twitter when posted on those forums.

Do you have any other update idea? please share me. I will add that too.

Click here to see a demo!

Download here. Feedback is appreciated.

Special thanks to Lee Findlow. I have used his class for updating posting message in twitter.

Bookmark: bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Auto Login (Gnome) in Fedora, Ubuntu

Friday April 17thLinux, Open Source, Tutorial Category

As I am the single user of my laptop run on Fedora 10, entering username & password each time is troublesome for me. So I need to automatic login feature. It is very easy in Ubuntu but not in Fedora. After searching online, I have seen it is not very hard to configure in Fedora too.

Fedora 8 – Automatic Logon

Open the file:

vim /etc/gdm/custom.conf

Put the following lines in the file.
[daemon]
AutomaticLogin=username
AutomaticLoginEnable=true

Fedora 9 and Fedora 10 – Automatic Logon

Fedora 9 requires a slightly different configuration.
Fedora 10 also requires this configuration.
Read the rest of this post →

Bookmark: bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

What the hell is happening with Akismet spam filter?

Thursday April 9thGeneral, Open Source, Scripts Category

From two days I got more than 50 spam comments in my blog that is not automatically marked as spam by Akismet. But when I check the comments and click ‘Check for spam’ it is then identifying them as spam. I don’t know why it don’t work automatically as it was doing earlier.

I tried reinstalling but with no luck. Anyone has any idea regarding this or faced same issue?

Bookmark: bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Some of my recent photos

Wednesday April 8thMy Life, Photography, Travel Category

Hello,
let me share some of my recent photography with you.

Sunset

sunset

Read the rest of this post →

Bookmark: bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Layout “unijoy” not found – Got this Joomla problem finally fixed

Friday April 3rdOpen Source, Tutorial Category

I was suffering from this problem from long time. Just few minutes ago I got the real and effective solution for it. The main solution remains here and here. Recently also came to know that problem remains in Firefox and Flock. It was working fine on IE and Safari. So solution only needs for Firefox and variants.

The solution is simple. Somehow a cookie is created named ‘layout’ and with value ‘unijoy’. You just need to detele it.

Solution:

Bookmark: bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

PunBB 1.3x Extension…. Convert numbers to Bangla (Bengali) on the fly!

Friday April 3rdOpen Source, PHP Category

Just now I have completed the first version of bangla_numbers extension for PunBB 1.3.x. When enabled, this function will converts numbers used in PunBB to Bangla. It will specially converts numbers of posts, topics, replies, members etc.

Installation:

Upload the unzipped files to extensions directory of PunBB and install the extension from Admin panel’s Extension tab. You’re done!

Download 1.1.1

Bookmark: bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

PunBB 1.3 Extension – Post Editing Period – Control how long a post can be edited

Thursday March 26thOpen Source, PHP, Scripts Category

Today I have developed a simple PunBB Extension for Projanmo Forum that allows administrators to control until how long a post can be edited. Such control is necessary as often members removes the post whimsically making replies irrelevant.

If you install this plugin, it will stop from such happening. From admin panel’s Settings -> Features section you can mention how many minutes are allowed to edit a post within. After such duration the post will not be editable.

Click here to download

Bookmark: bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

WordPress Adult Post Marker Demo

Tuesday March 17thOpen Source, PHP, Scripts Category

If you see this content after entering your age (18 years), this plugin is working fine. Please visit this for details.

Bookmark: bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

WordPress Plugin :: Adult Post Marker

Tuesday March 17thOpen Source, PHP, Scripts, Softwares Category

Hey! Here is my another wordpress plugin. Using this plugin, you can mention a post as inappropriate for non-adult and ask viewer his/her before showing the content to him. If age given age is below your Minimum Age requirement (configurable from settings page), then the viewer can’t see the content.

Moreover, a cookie is set so that persistent tries also restrict from seeing the content. Allmost everything of the plugin can be reconfigured from plugin configuration page.

This plugin is tested with WordPress 2.6.2 and 2.7

Demo :: Download

Feedback is appreciated.

Bookmark: bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

PunBB and OpenInviter

Tuesday March 17thOpen Source, PHP, Scripts Category

Recently I have worked with OpenInviter to work with PunBB. OpenInviter already has a plugin (mod) that enables it to work with PunBB. But Idid some more works that will enable PunBB forum admins to tracks how many users have been invited, which users has invited, when invited, when the invited friends visited the site and when they registered (if they did). So, it will be easier for the admins to manage invitations. Admins can even award the top referrals.

But this script or OpenInviter do not store the importer’s (user’s) email login details. So you can use it safely.

When someone visits the site upon getting invitations from forum user, a cookie is set in his computer so that he can be tracked if in future (untils 6month s or deleted) he directly visits the site.

I have worked with PunBB 1.2.x. But I don’t have any plan to release this script for 1.2x because manual source hacking, which I dislike. I wish to release as an extension for PunBB 1.3.x. But if someone extreamly need this modifcation, please let me know. I will try to deliver to you.

Bookmark: bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

how to promote your blog? Some easy steps….

Saturday March 14thLinux, SEO, Thoughts, Tutorial, University Category

Most probably these keywords are most common keywords that people usually search for. After searching for these, undoubtedly you will get a lots of search results. But these tips are a bit different. I have prepared this article based on my own experiences with my blog(s) rather than dumping or summarizing from other tips. So my tips may seem to both logical and illogical to you though I don’t care about that as I said, I have gained these from my experiments. This article is a combination of tips and tools that will help increasing traffic to your blog and I assume that you have created your blog using WordPress blogging engine. Read the rest of this post →

Bookmark: bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Bangla Captcha!

Monday March 9thScripts Category

অনেক দিন ধরেই ইচ্ছা একটা বাংলা ক্যাপচা (Bangla Captcha) স্ক্রিপ্ট  করার। কিন্তু একবার চেষ্টা করে ব্যর্থ হয়েছি। কারণ ইউনিকোড অক্ষরগুলোকে জিডি দিয়ে ঠিকমত ইমেজে প্রিন্ট করতে পারছিলাম না। তবে কালকে মনে হল আপাতত ফন্ট পরিবর্তন করেই তো প্রাথমিক কাজটি করা যায়। তাই হাতের কাছেই যে ক্যাপচা স্ক্রিপ্টটি ছিল তাকে একটু পরিবর্তন করে কাজটি করলাম। কাজটি সহজ ও সিম্পল। খালি ফন্টের নামটি পরিবর্তন করে দিলাম আর যেহেতু অক্ষর উল্টাপাল্টা আসবে তাই অক্ষরগুলোকে বাদ দিয়ে শুধু সংখ্যা দিলাম।
Bangla Captcha

আমি এটা করেছি কারণ কিছু সাইটে আমি শুধু বাঙ্গালী সদস্যদেরকেই প্রবেশের অনুমতি দিতে চাই। অন্যরা যাতে ঢুকতে না পারে সেটা বন্ধের আর কোন উপায় দেখছি না।

ডাউনলোড করতে এখানে ক্লিক করুন।

একই ভাবে জুমলা’র জনপ্রিয় এক্সটেনশন কমিউনিটি বিল্ডারের (Community Builder) যে ক্যাপচা (Captcha) প্লাগইনটি আছে সেটিকেও একটু পরির্তন করলাম।

ডাউনলোড করতে এখানে ক্লিক করুন
কমিউনিটি বিল্ডারের প্লাগইন ইনস্টলারে যেয়ে এটি ইনস্টল করতে হবে। তারপর এই প্লাগইনটির কনফিগারেশন গিয়ে ফন্ট অপশন থেকে Sutonny লেখাটি নির্বাচিত করলেই ক্যাপচাটি বাংলায় দেখাবে।

bangla captcha for community builder

Note: উভয় ক্ষেত্রেই আমি আপাতত বিজয়ের সুতুন্নি ফন্টটি ব্যবহার করেছি। তাই এর লাইসেন্স সম্পর্কে সতর্ক থাকুন। আমি এর লাইসেসন্ সম্পর্কে অবগত নই। তবে ফ্রি আসকি ফন্ট পেলে স্ক্রিপ্টগুলো আবার পরিবর্তন করার ইচ্ছা আছে।

পরিকল্পনা:
আমি যদি ইউনিকোডে ঠিকমত অক্ষর প্রিন্ট করতে না পারি, তাহলে এমন একটা সিস্টেম করার ইচ্ছা আছে যেখানে দেখানোর কাজটি আসকি ভিত্তিকই হবে তবে ইনপুট নেবে ইউনিকোডে। তারপর সেটাকে ভ্যালিডেট করা হবে। কিছু পিএইচপি লজিক দিয়েই কাজটি করা যাবে আশা করি। আর জিডি দিয়ে ইউনিকোড প্রিন্ট করতে পারলে তো আর সমস্যাই রইল না।

Bookmark: bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

It’s madness!!!

Sunday March 8thGeneral Category

Day before yesterday I have seen the movie ‘The bridge on the river kwai’. The last scene was ‘madness’ by an officiar of British military. Yesterday, when I have heard the news that some popular sites have been blocked from Bangladesh to restrain spreading of prime minister – army officers discussion audio recording, this word ‘madness’ first came to my mind.

The recording included some sensitivie information about the recent BDR mutiny. The army officers talked to Prime Minister in almost threatening tone. So they want to prevent spreading the audio recording by blocking sites. Isn’t that madness. Once a thing is in internet, it can never be prevented. They blocked many sites like youtube, esnips, mediafire and many more.

It is sad for both netizens part and ordinary peoples part. As we have seen that from the very first of the mutiny general people were against the Army. It is a matter of long debate why people stood against them. I personally lost honor about army after the clash with students and their merciless and inhumanly attitudes to the general and innocent students. But when we people discovered that the mutiny was planned killing, we felt sorrow and our supporting was shifted. But the recent discussion of army officers with PM, the release of the audio, their attempt to protect it by cutting the head due to headache is again causing people withdraw their support and sympathy from army. They claim they are too professional. But in the recording people heard how much they are. They even don’t know how to talk to Prime Minister. So how we ordinary people expect rational attitude from them?

One request to them (army): Don’t be so-called professional, but real professional. Please try to attitude in a fashion understanding that you are engaged to serve nation. Your salary is rationed from the people tax. The farmer whose yearly income is below $1000/year also has contribution on your life. You said, what facility the govt. has given to you. But we ask what not? Whom you call ‘bloody civilian’ arrange the cost of your luxurious life. So, greatefulness is a part of professionalism. Finally protect yourelf. You don’t need to protect ourselves. You people could not save a recording to spread out. So we can’t expect that you will be able to protect us.

Bookmark: bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Size

Colors