Basic iGoogle Gadget for Dolphin (Updated)

gkcgautam posted 10th of March 2009 in Community Voice. 12 comments.

[ I wanted to post it in the right place, i.e. Extensions, but i feel it would take several weeks, or may be months, for it to get approved by the moderators...and by that time this gadget might even stop working!]

I was getting bored due to my ongoing High School exams...and so just wanted to make something cool to help out everyone having a Dolphin powered site. I though a lot...and finally decided to try something with iGoogle. Hopefully most of you would be knowing what is iGoogle (and if you don't, go here http://www.google.com/ig ).

One of the problem website owners face is that many of the users forget about their websites after joining it. To tackle this issue many techniques are being used to drive them back again n again to the website. An an iGoogle Gadget can be one of such effort.

Here i'm providing you a basic iGoogle gadget for free.

What would the Gadget do?
This gadget would help your site members to be connected with your site through iGoogle. They would able to view how many unread mails they have, number of new friends requests,...or they may click on the respective links to view their contacts.
I've made the interface quite pleasing and it has been coded well. It would load once the person enters his username and password. Later they won't need to enter them again after opening iGoogle. Username and password checking system has been well coded.

The Gadget refreshes automatically after a fixed interval of time so that it shows updated account info.

Screenshot: I think i should better show a screenshot, or you would get too bored!

Or if you want to give it a try before installing, click on the button below to add this gadget to your igoogle page.

(It would ask for login details. Enter Username: goofy , Password: goofy)

Installation:

  • Unzip the package you downloaded.
  • Open file "igoogle_gadget.xml" . You need to make few changes in this file to make it work with your site.

Find the code:

<ModulePrefs

After the above code, there are few lines which contain configurations. You need to modify them. Look into the list below to know what to enter in them.

title="Dolphin Gadget" This contains the title of the widget. You should replace "Dolphin Gadget" with what ever name you want to show as gadget title.
title_url="http:// yoursite.com"
Optional string that provides a URL that the gadget title links to.You may enter your website URL into it by replacing "http://yoursite.com". Or you may remove this string.
description="Allows you to remain connected with WebsiteName through iGoogle"/> Optional string that describes the gadget. You can edit what ever description you want to show. If you don't want to modify, at east replace "WebsiteName" with your website name.

screenshot= "http://site.com/screenimage.png" Optional string that gives the URL of a gadget screenshot. This must be an image on a public web site that is not blocked by robots.txt. PNG is the preferred format, though GIF and JPG are also acceptable. Gadget screenshots should be 280 pixels wide. The height of the screenshot should be the "natural" height of the gadget when it's in use.
thumbnail= "http://site.com/thumbimage.png"

Optional string that gives the URL of a gadget thumbnail. This must be an image on a public web site that is not blocked by robots.txt. PNG is the preferred format, though GIF and JPG are also acceptable. Gadget thumbnails should be 120x60 pixels.


[ I've included a folder 'extra images' with sample images so you can create images similar to them. You should note it is NOT compulsory to have a gadget screenshot and thumbnail.]

  • Next look for the following code:

<iframe src="http://fazilkaonline.com/test/demo/dol6.1.4/igoogle.php?username=

Replace with:

<iframe src="http://yoursite.com/igoogle.php?username=

where 'yoursite.com' is your website.

  • Now open the file "igoogle.php". Look for the code:

$site_title = $site['title'];

The above code automatically shows the gadget title in the window as the name of your website. Incase you have a long website name, you can eneter a different value by replacing the above line of code with:

$site_title = 'Website Name';

Next is to configure refresh interval. Look for code:

$refresh_interval = '120';

Now this code implies that gadget would be refreshed in 120 seconds. You can change this value to what ever you prefer.

  • Now upload the files 'igoogle_gadget.xml' and 'igoogle.php' to root directory of your dolphin site, i.e., "www.yoursite.com/igoogle.php".
  • Next upload the folder 'igoogle_items' with all its contents to root directory like "http://yoursite.com/igoogle_items".

After Installation

Now your Gadget is ready. Give the following url to your site members so they can add this gadget:

http://www.google.com/ig/adde?moduleurl=http://yoursite.com/igoogle_gadget.xml

Or use the following html code in your site to show a button like below:

<a href="http://www.google.com/ig/adde?moduleurl=http://yoursite.com/igoogle_gadget.xml"><img src="http://buttons.googlesyndication.com/fusion/add.gif" style="width:104px; height:17px;border:0px;" alt="Add to Google" /></a>

As i mentioned earlier, this is a very basic gadget and won't provide much features. Many site owners won't be able to modify it much, except if they have good knowledge about coding in php. Then only imagination is the limit!

I hope that after this, many similar mods are going to appear at Expertzzz. Good news for Dolphin powered site owners!

Please don't shout at me if i've not explained the installation setup well. I'm really sorry. I will try improving later.

Ok. Enough. Time for studies. Exam day-after-tomorrow.

Have fun!

 
Comments
·Oldest
·Top
Please login to post a comment.
Lloyd
Great Stuff and your instructions are very well done
TheGateKeeper
Another great creation by a very brilliant young man!!
calb2525
Works great and easy to install.
houstonlively
Well done sir! Thank you for sharing. The Dolphin community needs more people like you.
jtadeo
Well done :)

Thanks for your generous contribution to the community.
fidelg3
I am very impressed by your contribution.

I am equally impressed by your posting's formatting. How did you do that? I had no idea the posting tool allowed such rich formatting. Is there a tutorial that can teach the rest of us how to do this?
gkcgautam
are you serious about it? lol..

well i wrote it in a Rich Formatting editor on my computer first and then just copy paste!

thats why tables n stuff!
ladybugn
This is really nice. Where is your paypal donate button, friend?

Free is best, but those of us who can sure would toss in a few bucks to show appreciation.
gkcgautam
ummm...though i don't want it...
but if u're really interested, you may give this link a try:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2119661

:)
gkcgautam
thanks a lot to all those who appreciated my work on this....
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.1097240447998