1 spiceygas2 Sep 25, 2010 18:40
3 sam2kb Oct 05, 2010 04:20
Great job :)
4 spiceygas2 Oct 13, 2010 02:47
Finally got v2.0 running with support for b2evo 4.0.0 alpha. My computer died last week, which slowed down the development a little. Fortunately, no files were lost.
The first post is updated with links to both versions. I hope that [url=http://forums.b2evolution.net/viewtopic.php?t=21228&postdays=0&postorder=asc&&start=8]people who were suffering from it being broken in the new version[/url] get some value.
5 spiceygas2 Nov 28, 2010 00:36
I've fixed up some issues and released new versions of the plugin. The fixes:
1. Previously, there were some problems identifying Opera and it's version.
2. Identify Camino browser.
3. Identify Windows 98.
The format of the data file hasn't changed, so you shouldn't lose any past data by upgrading (though, as always, you should backup your data when upgrading any software).
b2evo 3.x: [url=http://cookingwithdoyle.com/index.php/plugins/export-stats-v1-1]v1.1[/url]
b2evo 4.x: [url=http://cookingwithdoyle.com/index.php/plugins/export-stats-v2-1]v2.1[/url]
6 sam2kb Nov 28, 2010 02:14
My 2 kopeks if you don't mind :)
This is a better way to get a filename.
//$fileName = getcwd() . $this->get_plugin_url() . $f;
$fileName = dirname(__FILE__).'/'.$f;
b2evo uses ezSQL class, you can find examples here
http://jvmultimedia.com/docs/ezsql/ez_sql_help.htm
7 spiceygas2 Nov 28, 2010 03:00
sam2kb wrote:
My 2 kopeks if you don't mind :)
This is a better way to get a filename.
//$fileName = getcwd() . $this->get_plugin_url() . $f; $fileName = dirname(__FILE__).'/'.$f;
b2evo uses ezSQL class, you can find examples here
http://jvmultimedia.com/docs/ezsql/ez_sql_help.htm
Hmmm... Yeah, that'd be better. I'll probably wait until the next version to update it (unless someone reports it causing a functional problem).
8 sam2kb Nov 28, 2010 04:55
unless someone reports it causing a functional problem
The plugin doesn't work on my windows server unless I change file path.
9 spiceygas2 Nov 28, 2010 05:39
I'd guess it's a Windows issue, because I've tested on a couple Linux boxes and it works a-ok.
If your proposal also works on Linux boxes then it's an easy fix. I'll test it tomorrow.
10 spiceygas2 Nov 28, 2010 18:10
I just fixed the line of code and updated the .zip files for both v1.1 and v2.1. If you reinstall then it should work.
Thanks for pointing out a mistake so promptly.
11 rene82 Dec 27, 2010 10:03
Oladio! Thanks for this wonderful job!
However, I'm running b2evo 4.0.3 and unable to install this plugin when I copy the stats_plugin folder into plugins -> when I press install new plugin at the plugin tab in global settings it doesn't show the plug in the list.
How can I make it work?
Thanks a lot
12 spiceygas2 Dec 27, 2010 14:41
Rene82 wrote:
Oladio! Thanks for this wonderful job!
However, I'm running b2evo 4.0.3 and unable to install this plugin when I copy the stats_plugin folder into plugins -> when I press install new plugin at the plugin tab in global settings it doesn't show the plug in the list.How can I make it work?
Thanks a lot
I haven't tested it on v4.0.3 yet. I'm out of town right now, but when I get back home I'll upgrade my test server and figure out what's wrong. v4 of b2evo had a few technical changes, so it's probably something small that I've got to fix up.
Watch this thread and I'll answer in a couple days (unless someone else beats me to it :D).
13 sam2kb Dec 27, 2010 19:54
it doesn't show the plug in the list.
This sounds like you extracted the archive into another folder. Make sure you have the following structure
[b2evolution root directory]/plugins/stats_plugin/[some files here]
14 spiceygas2 Jan 01, 2011 22:34
So, with b2evo v4.0.3, the plugin can be installed, so your error is likely a problem with extracting the files to the correct place on the web server (As suggested by sam2kb).
However, it appears to not extract the data correctly. (The data makes it into the plugin's table but nothing gets extracted)
I'll have to take a look at what's going wrong and get it solved.
15 achillis Feb 09, 2011 14:57
hmmmm.... great plugin... just I hava a problem:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 19922944 bytes) in /someplace/somefile/public_html/plugins/stats_plugin/geoiploc.php on line 843
any ideas what the bug is and how to fix it??
thnx (:
16 spiceygas2 Feb 10, 2011 02:22
Achillis wrote:
hmmmm.... great plugin... just I hava a problem:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 19922944 bytes) in /someplace/somefile/public_html/plugins/stats_plugin/geoiploc.php on line 843
any ideas what the bug is and how to fix it??
thnx (:
Yep. You need more memory allocated to php. There's a command you put in your apache setup (or php.ini) to do that. I can't remember the command off the top of my hear, though.
For anyone interested, I'm almost done with porting the plugin to run in v4.0.0. I've got my code update to make a new DB table, log the hit correctly, and trim the new DB table appropriately.
The only piece left is to rewrite the code for extracting the data. I'm hoping to have time to finish within the next week.