Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2006-01-17 21:23:40

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_googlemap_stats - Textpattern Logs + Google Maps

Version 0.2

A new version of the plugin is available. It no longer uses the Phoogle Maps class (although it was nice) but instead uses Google Maps XMLHttpRequest object a.k.a. XML and Asynchronous RPC a.k.a. AJAX. This should resolve the IE javascript issue.

The map will now load and you might notice a delay before the maps points are added while the IPs are being looked up.

If you used version 0.1, please pay attention to the differences in how to call the 2 plugin tags. There were several changes.

See The Example

Documentation

Download

Offline

#17 2006-01-19 01:58:18

snivitzo
New Member
From: Vermilion, OH
Registered: 2006-01-19
Posts: 4

Re: [plugin] [ORPHAN] rss_googlemap_stats - Textpattern Logs + Google Maps

I have a question about the required cache/tmp directory; if you are using a hosting service and they only allow 755 and not 777 should the plug in still work. I installed version .1 and I could see that it was trying to map the ips cached but then the page would crash, when I tried version .2 the map loads but the ips don’t seem to cache. Any ideas, thanks in advance.

sniv

Offline

#18 2006-01-19 20:24:05

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_googlemap_stats - Textpattern Logs + Google Maps

You would have to have write access to a directory in order for the cache to work. Can you upload images through TXP? If so I would expect for the cache to work if you set your temp directory to the same permissions.

Offline

#19 2006-01-19 21:56:55

jdykast
Member
From: Tennessee
Registered: 2004-12-30
Posts: 119
Website

Re: [plugin] [ORPHAN] rss_googlemap_stats - Textpattern Logs + Google Maps

Since installing the 0.2 version of this plugin I have been unable to get any stats to display. The map itself will display but there are no locations on the map and no chart displayed below. Using version 0.1 I was getting both the map and chart to display. My temp folder is set and writeable (should it be 666 or 777?). Here are the tags I am using:

In the head
<code><txp:rss_googlemap_stats_js showmaptype=“0” center=“0” showchart=“1” apikey=“XXXX” /></code>

In the body
<code><txp:rss_googlemap_stats refreshbutton=“0” width=“450” /></code>

Here is the example page.

Offline

#20 2006-01-19 22:09:57

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_googlemap_stats - Textpattern Logs + Google Maps

Wow, that was a horribly dumb error. I seem to have left my URL hard coded in the plugin.

Try downloading 0.2 again and let me know if it works.

Offline

#21 2006-01-19 22:28:24

jdykast
Member
From: Tennessee
Registered: 2004-12-30
Posts: 119
Website

Re: [plugin] [ORPHAN] rss_googlemap_stats - Textpattern Logs + Google Maps

Now we’re rocking and rolling. That was an easy fix. It makes me wonder about the type of visits that show up – I’ve got places all over the map that I would never expect.

Offline

#22 2006-01-19 22:33:27

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_googlemap_stats - Textpattern Logs + Google Maps

Now we’re rocking and rolling.

Cool. As for the worldly visitors, many of them aren’t people, just nasty bots scraping for email addresses.

Offline

#23 2006-01-19 22:37:21

snivitzo
New Member
From: Vermilion, OH
Registered: 2006-01-19
Posts: 4

Re: [plugin] [ORPHAN] rss_googlemap_stats - Textpattern Logs + Google Maps

The fix worked for me as well. Great work keep it rockin!

To follow up incase anyone was wondering about the permission set, 755 works fine with the plug-in if your hosting service does not allow 777.

Sniv

Offline

#24 2006-01-20 00:11:25

jdykast
Member
From: Tennessee
Registered: 2004-12-30
Posts: 119
Website

Re: [plugin] [ORPHAN] rss_googlemap_stats - Textpattern Logs + Google Maps

just nasty bots scraping for email addresses.

I was wondering if that was the case.

755 works fine with the plug-in if your hosting service does not allow 777

I’m pretty ignorant in this area. Is 777 the preferred setting? Will 666 work?

Offline

#25 2006-01-20 11:14:09

snivitzo
New Member
From: Vermilion, OH
Registered: 2006-01-19
Posts: 4

Re: [plugin] [ORPHAN] rss_googlemap_stats - Textpattern Logs + Google Maps

777: all can read/write/exec
755: owner can do all, group/others can read/exec
644: owner can read/write, group/others can read only

For Directories:
777: all can read, write, search
755: owner can do all, others and group can only search

Typical settings:
cgi scripts: 755
data files: 666
configuration files: 644 (files not updated by scripts)
directories: 755 (with proper permissions on files in directory)

c/ped from my web hosting docs

From what I have seen most hosting services do not allow any settings that allow global write or execute like 777 or 666. For security reasons it’s understandable, to be safe I would use 755.

sniv

Offline

#26 2006-02-26 03:49:08

NotGoddess
Archived Plugin Author
From: Iowa, USA
Registered: 2005-12-11
Posts: 5
Website

Re: [plugin] [ORPHAN] rss_googlemap_stats - Textpattern Logs + Google Maps

Greetings,

I was having trouble with this plugin-the map would display but nothing of the visitor logs.
I finally figured it out tonight and thought I’d share:
If you use a table prefix in your database you have to edit the plugin and change the select statement around line 105: $q = “select distinct ip, time from txp_log group by ip order by id desc limit “.$limit;
and change txp_log to your table (with prefix) eg. tp_txp_log for me.

Unsure if there’s a way to check this and alter at runtime-would reduce frustrations if there was. :)

At any rate, thanks for the great plugin.

Ng

Last edited by NotGoddess (2006-02-26 03:49:32)

Offline

#27 2006-05-07 10:09:09

jayaqt
Member
From: Phils
Registered: 2004-05-13
Posts: 11
Website

Re: [plugin] [ORPHAN] rss_googlemap_stats - Textpattern Logs + Google Maps

I’m in a bit of a problem here. It works fine for me in IE but i seem to be having a problem in Firefox.

The markers won’t display as shown here

Any ideas?


I see the moon, and the moon sees me.
God bless the moon, and God bless me.

Offline

#28 2006-09-13 03:42:58

guitarman
Member
Registered: 2006-09-04
Posts: 14

Re: [plugin] [ORPHAN] rss_googlemap_stats - Textpattern Logs + Google Maps

Hi Rob,

Your plugin works great. I’ve got it working at http://www.newslink.in/google-stats/

Could you also add an option to filter out the last x distinct locations as well since showing all those IPs doesn’t really make much sense to some people.

Offline

#29 2009-10-11 05:59:16

Apocrypha
New Member
Registered: 2009-08-31
Posts: 1

Re: [plugin] [ORPHAN] rss_googlemap_stats - Textpattern Logs + Google Maps

Is this plug in still active? I’ve installed it but can’t get it to show anything on the map. The txp_log table looks fine (i.e. registering ip addresses and hosts) and I have inserted my Google maps APIkey into the call in the <head> of the page as well as in the plug-in itself. No luck.

Any suggestions? Has anything changed that invalidates this plugin?

Many thanks in advance.

Offline

Board footer

Powered by FluxBB