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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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)