Category Archives: Misc

Flash draw-on-sand application with source (.fla)

Flash CS3 Source code and PHP script to export drawing to JPG.
I made this flash app a year ago for my college NITK Surathkal’s cult fest Incident’s website. But I did not find time to add all the features I had thought of. The plan was to have this drawing canvas as the background of the website for beach events, but I later decided to keep it simple.

Continue reading “Flash draw-on-sand application with source (.fla)” »

Incoming search terms:

Joomla Multiple registration forms plugin for Community builder

This Community builder plugin enables adding of multiple registration forms to Joomla. It is tested to be working in Community builder 1.2 with Joomla 1.5.

Install this plugin into Joomla through the community builder plugin installer and enable it.

Defining multiple forms

Click on this plugin under the plugin management tab and in the params section define the forms in this format:

form_name1:field_name1,field_name2

form_name2:field_name1,field_name2

  • form_name is a identifier for the form you are creating. Keep it unique and without spaces. This form_name has to be passed as a GET parameter to the default CB registration page to show up only the fields you want.
  • field_name1,field_name2 etc are the names of the fields under the Field management tab in CB.

Continue reading “Joomla Multiple registration forms plugin for Community builder” »

Incoming search terms:

How to display your accurate google latitude location address with the public badge map in your blog

Google latitude is a great way to share your current GPS location with everyone. You can put up the google location badge on your blog and let the world know your exact geographical location.
But the latitude badge does not provide the exact address of your current location in terms of the area names but shows the exact location on the map. Google latitude badge shows only city level address along with the map. So I decided to write my own small PHP script to print out the exact address instead of an approximate one which is shown by default. You could use this code coupled with XMPP integration to show it as you google talk status message (a tutorial and script for this..sometime later)

Basically, instead of displaying “<City name>,<country>”,  this script will display “<Road name>, <areaname>,<cityname>,<country>”
Continue reading “How to display your accurate google latitude location address with the public badge map in your blog” »

Incoming search terms:

andLinux andWindows7

I have been doing PHP on Windows till now, but a week back I realised that I wanted something which Windows couldnt give me. The pcntl_fork( ) function was not implemented on windows. So I had to either do PHP on a remote shell or install linux on separate partition. Remote shell wasnt a bad idea because I already had an account on freeshell.de and they had all PHP functions enabled. But there was not Gnome/KDE and I had to settle for vim. Then I decided that I will run Linux through VMware. I had tried this even before, and knew that it would be painstakingly slow.

Luckily I came across andLinux when I was googling for vmware. I thought I will give it a try .. 200 MB wont take much time. The installation was quick, just keep “next”ing and Voila , linux is installed in 5 minutes.
Continue reading “andLinux andWindows7” »

Incoming search terms: