Forums / Cotonti / Extensions / [UPDATE] User Map v2

Sean
#6442 2009-02-03 06:13
Hi Everyone,
Im am happy to release my first Cotonti plugin! Its a new version of my User Map plugin I released over at Neocrome a couple weeks ago. Heres the changes in the new version:

New In v2.0:

- Different coloured markers are now supported
- On the main map, the users Avatar will now be displayed on their pin
- Various security fixes
- Language file has been added
- Geocoder function has been improved

Installation:
1. Unpack the plugin into /plugin/usermap
2. Create the new SQL table:
CREATE TABLE `sed_usermap` (
  `id` int(11) NOT NULL auto_increment,
  `userid` int(11) NOT NULL default '0',
  `lat` decimal(12,8) NOT NULL default '0.00000000',
  `lon` decimal(12,8) NOT NULL default '0.00000000',
  `description` varchar(50) NOT NULL default '',
  `username` varchar(50) NOT NULL default '',
  `colour` varchar(8) NOT NULL default 'red',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
3. Sign up for a Google Maps API key at: http://code.google.com/apis/maps/signup.html
This is important! User Map will not function with out this code!!
4. Copy your key into the configuration panel for the plugin (admin.php?m=config&n=edit&o=plug&p=usermap) Here you can also change the size of the maps to fit your site.
5. Add the tags listed on the plugin page to your TPL's (See readme.txt for some examples)
6. Add your pin to the map by editing your profile, and call the map up with plug.php?e=usermap
7. Enjoy!

To Upgrade From v1.0 to v2.0:
1. Delete the old plugin and upload the new files
2. Run the following SQL:
ALTER TABLE `sed_usermap` ADD `colour` VARCHAR(8) DEFAULT 'red' NOT NULL;
3. You're good to go!

Hope you guys find this useful. Let me know your questions & comments below!

Also: As mentioned above, Ive now included a lang file. Anyone who would like to translate would be greatly appreciated.

Also #2: I was going to try to submit this under Downloads, but I don't see a submit link any where?