Développeur WordPress
WordPress mu et BuddyPress

Flux RSS de Fairweb

fw-WPGoogleUserMap

What it does :

Allows Wordpress logged in Users to add a marker on a Google map to indicate their location and view other users’ location. Non-logged in users may only view the map and markers but may not add a marker. This plugin is based on the GoogleMap API and the GoogleMapAPI php class. You must sign in for a GoogleMap API key to be able to use this plugin.

I have not modified the original GoogleMapAPI.class.php file. I have created a child class in fw_WPGoogleUserMap.class.php which is the one interferring with Wordpress and adding useful functions for the purpose of this plugin.

I’m happy to offer this plugin to the Wordpress community but I’m sorry I do not have time for support.

Download :

Install :

  • Put the fw-WPGoogleUserMap folder in your wp-content/plugins/ directory except the sample-page folder
  • Set your own information in the fw_WPGoogleUserMap.php file as follows :$apikey_WPGUM ='WRITE YOUR OWN API KEY HERE';
    // YOUR MARKER'S URI
    $marker_url = 'http://labs.google.com/ridefinder/images/mm_20_green.png';
    $map_height = "500";
    $map_width = "500";
    $sidebartitleWPGUM = "User list";
  • Activate the plugin

How to use :

  • Put the fw_gum.php file in you template directory (this file is in the sample-page folder)
  • Create a new page and apply the fw_gum template.

CSS

  • You may want to customize css styles in fw_WPGoogleUserMap.css

To do :

  • Test WP version installed and either user $wpdb->prefix if version is 2.1 (or higher) or $table_prefix if version is lower than 2.1. I have used $table_prefix for the moment for backward compatibility but this needs to be done for further compatibility.

Donate

This plugin is free. However, if you would like to support further developments for this plugin or plugins to come, you may donate for an amount of your choice.


  • Share/Bookmark
wordpressthemesmarket wordpressthemeshop Blogohblog.com - Premium WordPress Themes Premium Wordpress Themes WordPress Arcade Themes