Share » Forums » Setup & design » ezstats works but view.tpl wont show...

ezstats works but view.tpl wont show anything but 0

ezstats works but view.tpl wont show anything but 0

Tuesday 12 July 2005 12:13:52 am - 3 replies

Author Message

Eivind Marienborg

Tuesday 12 July 2005 12:26:08 am

Is there anything in the debug output?

Have you added the ActiveExtensions[]=stats to your site.ini.append?

Matthew Almand

Tuesday 12 July 2005 12:39:19 am

yes the extension is activated, the DB cannot be populated prior to it being activated. It would seem that everything works it is just that the view.tpl is pointing incorrectly to the DB or something.

Konrad Mazurkiewicz

Tuesday 12 July 2005 9:17:43 am

Hi,
Are You check that every setting is ok?
It should work without problems.

Maybe try version from my svn server. It is not finished and not ready for contrib yet, but is working on few sites without problems.

Eivind - thanks for suggestions. I've made functions You're lookin for, eg.
- Viewing traffic for smaller periods than one month
- Viewing traffic for each section
- Exclude/include by class
and new operator

ezstats_get_list( hash( ['node_id', int],
                        ['section_id', int],
                        ['date', array( oper, date ) | 'date', array( array( date_from, date_to ) )],
                        ['user_id', int],
                        ['class_filter', array( 'include|exclude', array( list_of_class_id's ) ) ],
                        ['offset', int],
                        ['limit', int],
                        ['sort_by', array( 'date|section_id|node_id|user_id', 'asc|desc' )],
                        ['group_by', 'user_id|node_id']
                      ) )

Konrad

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu