Page 2 of 8

Re: [BETA] phpBB Statistics v0.1.1

Posted: Sun Mar 22, 2009 11:50 am
by Marc
Delete all the files of the old statistics MOD and undo the changes. After that install this one. I might add update instructions and a converter to the next release.

Re: [BETA] phpBB Statistics v0.1.1

Posted: Sun Mar 22, 2009 1:12 pm
by cabldawg
marc1706 wrote:Make sure you have the following edit:
Open: includes/acp/info/acp_modules.php
Find:

Code: Select all

				'mcp'		=> array('title' => 'MCP', 'auth' => 'acl_a_modules', 'cat' => array('ACP_MODULE_MANAGEMENT')),
Add after:

Code: Select all

// phpBB Statistics MOD
				'stats'		=> array('title' => 'STATS', 'auth' => 'acl_a_modules', 'cat' => array('ACP_MODULE_MANAGEMENT')),
After that purge your board cache and try again.
Ok. That worked. Now I get this error:

General Error
SQL ERROR [ mysql4 ]

Table 'armedflorida.stats_config_table' doesn't exist [1146]

SQL

SELECT config_name, config_value FROM STATS_CONFIG_TABLE

BACKTRACE


FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

FILE: statistics/includes/functions.php
LINE: 32
CALL: dbal_mysql->sql_query()

FILE: includes/acp/acp_stats.php
LINE: 23
CALL: obtain_stats_config()

FILE: includes/functions_module.php
LINE: 507
CALL: acp_stats->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()

When clicking on "STATS" in the ACP under system.

When I login to phpmyadmin I see the 'armedflorida.stats_config_table'

Re: [BETA] phpBB Statistics v0.1.1

Posted: Sun Mar 22, 2009 1:22 pm
by darkonia
marc1706 wrote:Delete all the files of the old statistics MOD and undo the changes. After that install this one. I might add update instructions and a converter to the next release.
thx for help, then i will wait for next release :mrgreen:

Re: [BETA] phpBB Statistics v0.1.1

Posted: Sun Mar 22, 2009 1:49 pm
by Marc
It seems like AutoMOD missed a lot of edits. Please open the install.xml in your browser and ckeck every edit.

Re: [BETA] phpBB Statistics v0.1.1

Posted: Sun Mar 22, 2009 2:38 pm
by cabldawg
Looking in PHPMYAdmin I see armedflorida.stats_config

Should this actually be named armedflorida.stats_config_table? Or is the _table at the end just telling me it is a table and not part of the table name?

Re: [BETA] phpBB Statistics v0.1.1

Posted: Sun Mar 22, 2009 2:47 pm
by cabldawg
I renamed the table to "stats_config_table" dropping the "phpbb" from the original table name of phpbb_stats_config and adding "_table" to the end. I then purged the cache and clicked on STATS and it went right on in to the PHPbb Statistics Administration.


I will continue from here, but if you see anything wrong with what I did please let me know.

Thanks!

Re: [BETA] phpBB Statistics v0.1.1

Posted: Sun Mar 22, 2009 2:49 pm
by Marc
It actually is supposed to be called "armedflorida.stats_config". You are missing the edits to the includes/constants.php. ;)

Re: [BETA] phpBB Statistics v0.1.1

Posted: Sun Mar 22, 2009 3:12 pm
by cabldawg
It was missing. Got it....attempting to continue :D

Thanks!

Re: [BETA] phpBB Statistics v0.1.1

Posted: Thu Mar 26, 2009 9:15 pm
by fasko
Plees help my


Fatal error: Cannot redeclare get_formatted_filesize() (previously declared in /domains1/ws702400/public/www_root/includes/functions.php:204) in /domains1/ws702400/public/www_root/includes/functions_fs.php on line 330

Re: [BETA] phpBB Statistics v0.1.1

Posted: Thu Mar 26, 2009 9:30 pm
by Marc
It seems you have installed the Forum Statistics MOD 0.3.0. You will have to first uninstall that MOD.
Execute the following SQL-Commands to remove the Forum Statistics MOD SQL-Entries:

Code: Select all

DELETE FROM phpbb_config WHERE config_name = "allow_guests_view_fs";
ALTER TABLE `phpbb_profile_fields` DROP `field_fs_show`;
After that remove the following files in your forum root(*.* indicates that you will have to remove everything in that folder):
includes/fs/info/*.*
includes/fs/*.*
includes/fs
includes/functions_fs.php
language/en/fs.php
styles/prosilver/template/fs_activity_forums.html
styles/prosilver/template/fs_activity_topics.html
styles/prosilver/template/fs_activity_users.html
styles/prosilver/template/fs_basic_advanced.html
styles/prosilver/template/fs_basic_basic.html
styles/prosilver/template/fs_contributions_attachments.html
styles/prosilver/template/fs_contributions_polls.html
styles/prosilver/template/fs_footer.html
styles/prosilver/template/fs_header.html
styles/prosilver/template/fs_periodic_daily.html
styles/prosilver/template/fs_periodic_hourly.html
styles/prosilver/template/fs_periodic_monthly.html
styles/prosilver/template/fs_settings_board.html
styles/prosilver/template/fs_settings_profile.html
fs.php

After that continue with the installation of this MOD. The download can be found in the first post.

Re: [BETA] phpBB Statistics v0.1.1

Posted: Fri Mar 27, 2009 11:21 pm
by fasko
marc1706 wrote:It seems you have installed the Forum Statistics MOD 0.3.0. You will have to first uninstall that MOD.
Execute the following SQL-Commands to remove the Forum Statistics MOD SQL-Entries:

Code: Select all

DELETE FROM phpbb_config WHERE config_name = "allow_guests_view_fs";
ALTER TABLE `phpbb_profile_fields` DROP `field_fs_show`;
Thanks!

Re: [BETA] phpBB Statistics v0.2.0

Posted: Mon Mar 30, 2009 7:36 pm
by Marc
Updated to Version 0.2.0:
  • [New]Deleted Users count
  • [New]Top XX topic icons
  • [New]Added installer (based on board3 Portal installer)
  • [New]Add-ons can be added
  • [Added]Update instructions for Forum Statistics 0.3.0
  • [Fixed]a few undefined offset errors when no topic exists
  • [Fixed]Top XX Smilies showing wrong count
  • [Fixed]Top XX BBCodes showing wrong count
  • [Fixed]Guests are not hidden from Users Activity statistics
  • [Changed]Some minor fixes and changes
Please report bugs to: Bugtracker

The first Add-Ons will be available on my forum in a few days: http://www.m-a-styles.de/viewforum.php?f=19

Re: [BETA] phpBB Statistics v0.2.0

Posted: Thu Apr 02, 2009 8:09 pm
by Eragon
I updated 0.1.1 to 0.2.0 . There are some errors


thank you
sorry my english

Miscellaneous Statistics

Code: Select all

Call to undefined function get_top_icons_count() in C:\wamp\www\includes\stats\stats_basic.php on line 476

Code: Select all

$total_count = get_top_icons_count($limit_count = 10, $type = 'total', $order = 'DESC');

Users Statistics

Code: Select all

Fatal error: Call to undefined function get_deleted_users_count() in C:\wamp\www\includes\stats\stats_activity.php on line 367

Code: Select all

$deleted_users = get_deleted_users_count();

Re: [BETA] phpBB Statistics v0.2.0

Posted: Thu Apr 02, 2009 8:48 pm
by Marc
You need to upload the files as stated in the update instructions in the contrib folder (update_phpbbstatistics_0.1.1.xml).

Re: [BETA] phpBB Statistics v0.2.0

Posted: Sat Apr 11, 2009 3:01 am
by NicksNet
Hello,


first... Thanks for this mod


but i have a problem:

Code: Select all

Parse error: syntax error, unexpected '=', expecting ')' in ../statistics/includes/functions.php on line 1283
even if i browse for stats.php or in acp - same error

here the code:

Code: Select all

function get_profile_field_data($profile_field, &$total_values_set, $limit_count = 0, &$total_groups = 0)

can anyone help me pls?


cheers