Title: GoogleMapStats
Author: joephein
Published: <strong>8. januar, 2010</strong>
Last modified: 8. januar, 2010

---

Søk i utvidelser

Denne utvidelsen **har ikke blitt testet mot noen av de siste 3 hovedutgivelsene
av WordPress**. Den er kanskje ikke lenger holdt vedlike eller støttet, og den kan
ha kompatibilitetsproblemer med nyeste versjoner av WordPress.

![](https://s.w.org/plugins/geopattern-icon/googlemapstats.svg)

# GoogleMapStats

 Av [joephein](https://profiles.wordpress.org/joephein/)

[Last ned](https://downloads.wordpress.org/plugin/googlemapstats.0.3.zip)

 * [Detaljer](https://nb.wordpress.org/plugins/googlemapstats/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/googlemapstats/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/googlemapstats/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/googlemapstats/#developers)

 [Brukerstøtte](https://wordpress.org/support/plugin/googlemapstats/)

## Beskrivelse

The plugin tries to geolocate visitors of your site using hostip.info and shows 
the latest 200 in real-time using the google maps api.

Maps can be inserted at any place using the «shortcodes» system in WordPress 2.5
and up.

If the IP address is already logged once it will not lookup the geo data again to
speed up things. The main search engines are mapped under one IP address to avoid
a lot of loggings for the same bot.

### ToDo

 * Define default values for vars
 * Make is possible to add and change points
 * Make is possible to add and change polylines
 * Make is possible to add and change categories
 * ?? Avoid using a seperate database connection to load the points

## Installasjon

Installation of this plugin is fairly easy:

 1. Download the plugin.
 2. Extract all the files.
 3. Upload everything (keeping the directory structure) to the `/wp-content/plugins/`
    directory.
 4. There should be a `/wp-content/plugins/googlemapstats` directory now with `googlemapstats.
    php` in it.
 5. Activate the plugin through the ‘Plugins’ menu in WordPress.

Edit the phpsqlajax_dbinfo.php manually and enter your sql database credentials.

Open the phpsqlajax_genxml3.php placed on your site directly in your browser to 
test whether it is working. In case of any problems you could try phpsqlajax_genxml.
php or phpsqlajax_genxml2.php. The output should look like: phpsqlajax_genxml3.xml

If you do not have a googlemaps API key yet, get your free GoogleMapKey at the Google
Maps Homepage: http://code.google.com/apis/maps/signup.html

Into the main config page fill in all fields. Especially important are:
 * Enter
you googlemaps API key in the main config page. * Enter a valid html link to the
phpsqlajax_genxml3.php script that provides xml data for the googlemap. This can
be even a link to another site or a static xml only file for testing.

Now create a page on your wordpress blog and insert the shortcode [googleMapStats]
in your post.

You should see a «GoogleMap» items in the menu.
 The sub pages are present not functional
yet: * Manage Points * Manage Polylines * Manage categories

## Ofte stilte spørsmål

No questions yet. Please ask.

## Vurderinger

Det er ingen omtaler av denne utvidelsen.

## Bidragsytere og utviklere

«GoogleMapStats» er programvare med åpen kildekode. Følgende personer har bidratt
til denne utvidelsen:

Bidragsytere

 *   [ joephein ](https://profiles.wordpress.org/joephein/)

[Oversett «GoogleMapStats» til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/googlemapstats)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/googlemapstats/),
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/googlemapstats/), 
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/googlemapstats/)
med [RSS](https://plugins.trac.wordpress.org/log/googlemapstats/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 0.3

 * First version hosted public on wordpress.org
 * Make site independent by using get_option(‘siteurl’) or create a config value.
 * Make config for post id for map
 * Configure height and width of the map
 * Create option for default zoom and coordinates: map.setCenter(new GLatLng(52.331130,
   0.000000), 2)

#### 0.2

 * Added functionality to display visitors using the googlmaps api.

#### 0.1

 * First version with logging capabilities only

## Meta

 *  Versjon **0.3**
 *  Sist oppdatert **17 år siden**
 *  Aktive installasjoner **Færre enn 10**
 *  WordPress-versjon ** 2.5 eller nyere **
 *  Testet opp til **2.9.2**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/googlemapstats/)
 * Stikkord
 * [googlemap](https://nb.wordpress.org/plugins/tags/googlemap/)[statistics](https://nb.wordpress.org/plugins/tags/statistics/)
   [stats](https://nb.wordpress.org/plugins/tags/stats/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/googlemapstats/advanced/)

## Vurderinger

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/googlemapstats/reviews/#new-post)

[Se alle omtalene](https://wordpress.org/support/plugin/googlemapstats/reviews/)

## Bidragsytere

 *   [ joephein ](https://profiles.wordpress.org/joephein/)

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/googlemapstats/)