PDF output generating library using PHP

If you are looking for creating PDF output of your HTML pages, you can do it using PHP’s PDFlib module. However, there are some libraries for faster development of your script. Some even are not dependent on PDFlib. Please see below for quick overview.

DOMPDF
dompdf is an HTML to PDF converter. At its heart, dompdf is (mostly) CSS2.1 compliant HTML layout and rendering engine written in PHP. It is a style-driven renderer: it will download and read external stylesheets, inline style tags, and the style attributes of individual HTML elements. It also supports most presentational HTML attributes.

Features

* handles most CSS2.1 properties, including @import, @media & @page rules
* supports most presentational HTML 4.0 attributes
* supports external stylesheets, either local or through http/ftp (via fopen-wrappers)
* supports complex tables, including row & column spans, separate & collapsed border models, individual cell styling, (no nested tables yet however)
* image support (gif, png & jpeg)
* no dependencies on external PDF libraries, thanks to the R&OS PDF class
* inline PHP support. See below for details. Continue reading →

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

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

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

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

PunBB and OpenInviter

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.

Download OpenLD Directory Script

I have used OpenLD Directory Script for Projanmo Web site. OpenLD is really simple and cool script. But it was wonderful extension system for injecting your own code using the hook.

But the worse news is that the homepage is down for a quite long time. So we don’t get any update of this script anymore. I have seen many people were looking for it.

Today Arafat Rahman was asking me if I have any backup of this script. I searched my computer ending without positive result. Later entering my website’s account I have found a backup. So I planned to post it so that interested people can download it.

Click Here to Download OpenLD 1.2.6.1

Best contacts importing script written in PHP

All you know letting visitors/users invite their contacts is one of the cheapest but proven way of marketing. We can get it by placing a contact importer script in our site and requesting users to invite his/her friends by providing email address and password. The script will then contact the server and download contacts from the address book and finally will send a custom or preformatted email to bring them to our site.

But problem is the cost of such importer script. More than one year ago I have purchased such a script most probably at US$30. It can import from popular email services like Yahoo, Gmail, MSN etc. Later I have found some other scripts that can download contacts from a few more sites.

But throwing all them behind, lately I found the most fabulous, most fantastic, most robust and cheapest contact importing script titled “OpenInvite”. If may not believe the previous sentence until you visit their website. It can import contacts from nearly all major email services and social networking sites. I have counted about 48.  Continue reading →

Best flash charting script!

Uses of  flash chart is getting popularity day by day. Many medium to big web applications may use flash chart. But small application may ignore it due to complexities of implemention of flash chart. Even some web developers may not familiar with flash to make flash chart.

To make it easy, there are several open source and free of cost flash charting scripts that can be imported in your application. One of them is the  Open Flash Chart. So far I have seen, it is the best flash charting script which is very easy to implement. Moreover it supports many languages like PHP (4 & 5),  .NET, Java, Perl, Python etc. It provides the library files and examples which will understand very easily.

So test it now, and import it in your next project and impress your client.

Speak your own language

Today is the age of Open Source. There is a win win situation everywhere for open source. Search the web, you will get a thousands of benefits about open source. But what you may not get is:

I strongly believe “Open source increases the passion to mother language”. How?

I never thought or never dreamt of developing a Bangla/Bengali (my mother language) forum engine. But when I got familiarity with open source, once I thought, why not I translate a forum engine to my own language? I love my mother language, so doing such will surely be real pleasure. Then I started translating punBB engine which is hosted in http://forum.projanmo.com. Its world’s first Unicode complaint fully Bangla Forum. I was also inspired to choose punBB from www.somewhereinforum.net. It is truly world’s first bangla forum but translated in ASCII. Now day night I work for Projanmo Forum which is ultimately work for my mother language, I think at leat ;). I really feel excited when I think, may be very small but I am doing something real cool for my mother language. It may be decimal in billions, but still not zero! Continue reading →

PunBB Bangla Language Pack

I am working on PunBB for a bit long time. The whole work I have yet done only for Projanmo Forum. Many people asked me for the Bangla Language Pack of PunBB. But I could not release it due to some internal reasons. Few days ago, I sent the pack to Ricard and Yesterday he published it on www.punbb.org.

Continue reading →