Stats: Gallery statistics by date - Page 3 Stats: Gallery statistics by date - Page 3
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Stats: Gallery statistics by date

Started by François Keller, November 12, 2006, 03:03:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gephri

Could the attached Debug Info help?  The blank page is completely blank when I "View Source" and php does not create an error in the log

MechMykl

Great mod :) works just as advertised!

Maybe stat info on how many pictures viewed???

Nibbler

Coppermine doesn't count views per day.

Audax

Hello,

ist it possible to hide the link in the menu for guest and members and show it only for admins.
Maybe it is possible in further Versions to select usergroup permissions at the cpg configuration.

François Keller

Quoteist it possible to hide the link in the menu for guest and members and show it only for admins.
Yes, in codebase.php change
function stats_page_start()
{
 
  global $template_sys_menu, $template_sys_menu_spacer, $template_sys_menu_button, $sys_menu_buttons;
    global $CONFIG, $lang_plugin_stats;

    require ('plugins/stats/include/init.inc.php');
 
  stats_add_admin_button('index.php?file=stats/stats',$lang_plugin_stats['menu_link'],$lang_plugin_stats['menu_link'],$lang_plugin_stats['menu_link']);
 
}

to
function stats_page_start()
{
 
  global $template_sys_menu, $template_sys_menu_spacer, $template_sys_menu_button, $sys_menu_buttons;
    global $CONFIG, $lang_plugin_stats;

    require ('plugins/stats/include/init.inc.php');
  if (USER_IS_ADMIN){
  stats_add_admin_button('index.php?file=stats/stats',$lang_plugin_stats['menu_link'],$lang_plugin_stats['menu_link'],$lang_plugin_stats['menu_link']);
  }
}
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Audax

Thanks for the very quick reply. That's what I needed! 8)