Pageviews in user_cpl statistics

proxydesign

Visiolist-Fan
Hello,

In the newest version of Visiolist (1.0), I think you did add a statistics in the user_cpl page, is that correct? It looks like this:
It is very good, but I see that I only have "Out" and "In" - which is "Stemmer" in the statistics...How can I remove "Out", but instead add "pageviews" there? Would be perfect... Thank you:)
 

Basti

Administrator
Staff member
Copy user_cp_start.html into ur child folder, then edit the file
Code:
        var data = google.visualization.arrayToDataTable([
          ['', '{$lng->g_out}', '{$lng->g_in}'],
          ['{$lng->g_this_month}',  {$tot_out_0_monthly},      {$tot_in_0_monthly}],
          ['{$lng->g_last_month}',  {$tot_out_1_monthly},      {$tot_in_1_monthly}],
          ['..',  {$tot_out_2_monthly},      {$tot_in_2_monthly}],
          ['..',  {$tot_out_3_monthly},      {$tot_in_3_monthly}]
        ]);
to
Code:
        var data = google.visualization.arrayToDataTable([
          ['', '{$lng->g_out}', '{$lng->g_in}' , '{$lng->g_pv}' ],
          ['{$lng->g_this_month}',  {$tot_out_0_monthly},      {$tot_in_0_monthly} ,      {$tot_pv_0_monthly} ],
          ['{$lng->g_last_month}',  {$tot_out_1_monthly},      {$tot_in_1_monthly} ,      {$tot_pv_1_monthly} ],
          ['..',  {$tot_out_2_monthly},      {$tot_in_2_monthly} ,      {$tot_pv_2_monthly} ],
          ['..',  {$tot_out_3_monthly},      {$tot_in_3_monthly} ,      {$tot_pv_3_monthly} ]
        ]);
Not tested, but should work. Allso note that this chart displays the totals, not unique. To display them you can switch out the "tot" with "unq" in that tags
 

proxydesign

Visiolist-Fan
Worked, thank you! :D
Was just need to edit the last string on line 2:
PHP:
{$lng->g_out}', '{$lng->g_in}' , '{$lng->g_in}'
to
PHP:
{$lng->g_out}', '{$lng->g_in}' , '{$lng->g_pv}'
 
Top