[MOD-DB] phpBB Statistics v1.0.1

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Anti-Spam Guide
User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5479
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: [BETA] phpBB Statistics v0.1.1

Post 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.
cabldawg
Registered User
Posts: 20
Joined: Fri Mar 06, 2009 12:40 am

Re: [BETA] phpBB Statistics v0.1.1

Post 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'
User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: [BETA] phpBB Statistics v0.1.1

Post 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:
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.
User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5479
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: [BETA] phpBB Statistics v0.1.1

Post by Marc »

It seems like AutoMOD missed a lot of edits. Please open the install.xml in your browser and ckeck every edit.
cabldawg
Registered User
Posts: 20
Joined: Fri Mar 06, 2009 12:40 am

Re: [BETA] phpBB Statistics v0.1.1

Post 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?
cabldawg
Registered User
Posts: 20
Joined: Fri Mar 06, 2009 12:40 am

Re: [BETA] phpBB Statistics v0.1.1

Post 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!
User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5479
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: [BETA] phpBB Statistics v0.1.1

Post by Marc »

It actually is supposed to be called "armedflorida.stats_config". You are missing the edits to the includes/constants.php. ;)
cabldawg
Registered User
Posts: 20
Joined: Fri Mar 06, 2009 12:40 am

Re: [BETA] phpBB Statistics v0.1.1

Post by cabldawg »

It was missing. Got it....attempting to continue :D

Thanks!
fasko
Registered User
Posts: 185
Joined: Wed Jan 28, 2009 9:49 am

Re: [BETA] phpBB Statistics v0.1.1

Post 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
Sorry for my english
User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5479
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: [BETA] phpBB Statistics v0.1.1

Post 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.
fasko
Registered User
Posts: 185
Joined: Wed Jan 28, 2009 9:49 am

Re: [BETA] phpBB Statistics v0.1.1

Post 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!
Sorry for my english
User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5479
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: [BETA] phpBB Statistics v0.2.0

Post 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
User avatar
Eragon
Registered User
Posts: 218
Joined: Tue Oct 07, 2008 1:57 pm

Re: [BETA] phpBB Statistics v0.2.0

Post 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();
User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5479
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: [BETA] phpBB Statistics v0.2.0

Post by Marc »

You need to upload the files as stated in the update instructions in the contrib folder (update_phpbbstatistics_0.1.1.xml).
NicksNet
Registered User
Posts: 55
Joined: Sat Apr 04, 2009 1:16 pm

Re: [BETA] phpBB Statistics v0.2.0

Post 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
Locked

Return to “[3.0.x] MODs in Development”