Advanced search  

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

Pages: 1 2 3 4 [5]   Go Down

Author Topic: MOD: Detailed Gallery Statistics  (Read 115539 times)

0 Members and 1 Guest are viewing this topic.

Nibbler

  • Guest
Re: MOD: Detailed Gallery Statistics
« Reply #80 on: November 29, 2006, 02:51:00 pm »

Comment out the calls to display_thumbnails() and activityGraph() until you find the statistic(s) that cause the problem.
Logged

Sebbit

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 25
    • PITA - stunt page
Re: MOD: Detailed Gallery Statistics
« Reply #81 on: November 29, 2006, 03:40:37 pm »

these calls cause the problem:

Code: [Select]
//Start User Most Commented
//display_thumbnails('mostcomusr', $cat, 1, $CONFIG['thumbcols'], 1, false);
//End User Most Commented

//Start User Most Voted
//display_thumbnails('mostvotusr', $cat, 1, $CONFIG['thumbcols'], 1, false);
//End User Most Voted

//Start User Most Viewed
//display_thumbnails('mostvieusr', $cat, 1, $CONFIG['thumbcols'], 1, false);
//End User Most Viewed

//Start User Most Commenting
//display_thumbnails('topcom', $cat, 1, $CONFIG['thumbcols'], 1, false);
//End User Most Commenting

//Start Album Most Commented
//display_thumbnails('mostcomalb', $cat, 1, $CONFIG['thumbcols'], 1, false);
//End Album Most Commented

//Start Album Most Voted
//display_thumbnails('mostvotalb', $cat, 1, $CONFIG['thumbcols'], 1, false);
//End Album Most Voted


//Start Album Most Viewed
//display_thumbnails('mostviealb', $cat, 1, $CONFIG['thumbcols'], 1, false);
//End Album Most Viewed

Under the Statistics there are the following notices:

Notices
/include/functions.inc.php
Notice line 1372: Undefined variable: mostCommented
Notice line 1372: Undefined index: 2
Notice line 1372: Undefined index: 5
Notice line 1372: Undefined index: 11
(...thousands of lines...)
Notice line 1372: Undefined index: 5643


... and there's line 1372 in /include/functions.inc.php
Code: [Select]
1369: foreach($rowset as $row)
1370: {
1371: $index = $row[0];
1372: $mostCommented[$index] = @$mostCommented[$index] + 1;
1373: }

What's wrong?
Logged

somebunny

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: MOD: Detailed Gallery Statistics
« Reply #82 on: December 24, 2006, 09:37:57 pm »

How can you modify the profile.php to display total number of comments made by the member of the profile you are viewing?

I think it would be in this area of the profile.php
Code: [Select]
$form_data = array('username' => $user_data['user_name'],

            'reg_date' => localised_date($user_data['user_regdate'], $register_date_fmt),

            'group' => $user_data['group_name'],

                        'user_profile1' => $user_data['user_profile1'],

                        'user_profile2' => $user_data['user_profile2'],

                        'user_profile3' => $user_data['user_profile3'],

                        'user_profile4' => $user_data['user_profile4'],

                        'user_profile5' => $user_data['user_profile5'],

                        'user_profile6' => bb_decode($user_data['user_profile6']),

                        'user_thumb' => $quick_jump,

                        'pic_count' => $pic_count,

            );

But Im really not good at php yet, and have no idea what should go here.

Im just wanting it to add a Total Comments Made by this user line under total uploads, like

Quote
Username  Bunny 
Joined  Feb 23, 2002 
Location  KY 
Interests  Drawing, painting, scrapping 
Occupation  retired 
Files uploaded  100 
Comments Given  100 

Logged

Wookie

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: MOD: Detailed Gallery Statistics
« Reply #83 on: October 30, 2007, 10:34:42 am »

This mod works very wel, but I want to modify it to show intermediate pictures only. And only on one of the 14 listed stats, the others will be removed so I am just left with one statistic..showing a list of internediate pictures.

How can this be done?

Regards

Wookie
Logged

jmcurtusan

  • Tester
  • Coppermine newbie
  • *
  • Offline Offline
  • Posts: 16
Re: MOD: Detailed Gallery Statistics
« Reply #84 on: December 12, 2007, 11:06:56 am »

very nice mod just one question.

I was looking at possibly adding the websites total hits at the very bottom of the stats page.

is this possible  ???
Logged

laura1987

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: MOD: Detailed Gallery Statistics
« Reply #85 on: February 06, 2008, 09:30:29 pm »

Sorry for the stupid question, must be blond, but where do I view the stats?
Because if I go to the stats.php in my plugins folder I get this message "Not in Coppermine.."
Logged

mentalist3d

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 51
  • http://concepts.org.uk
    • Concept Art
***INVALID*** Re: MOD: Detailed Gallery Statistics
« Reply #86 on: March 25, 2008, 04:36:54 pm »

This isn't related to this mod so I apologise beforehand for my post but I cant start a new thread. I've just installed a free Site Stat generator which is easy to implement on your server and integrate with coppermine, this will also provide you with very detailed stats for your site. You can check it out at: http://www.phpmyvisites.us/

Once you have installed the site, enter the details of your coppermine gallery or website and the Stats will generate a small piece of Javascript which you can copy and insert into your template.html file. The SiteStats keeps track of all visitors, referrals, SE Keyword referrals, locations, etc. It doesn't take long to set-up so it is worth a look if you are wanting detailed stats for your gallery or site.

PS - Much apologies to the mods for posting here, is there any chance another thread can be set-up so users can list open source software they are using/implementing with Coppermine?
« Last Edit: March 26, 2008, 08:51:37 am by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: MOD: Detailed Gallery Statistics
« Reply #87 on: March 26, 2008, 08:51:13 am »

You indeed shouldn't have replied to this thread. You should/could have started a new thread on the support board instead - a moderator would have moved your thread if applicable. >:( Do not reply here with references to the page you're trying to promote.
Logged

Cath22

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 77
    • Fotofantastic
Re: MOD: Detailed Gallery Statistics
« Reply #88 on: February 17, 2009, 07:39:29 pm »

Hi there, I have a weird problem
I have a Gallerystatistics running, accessable through a button, for everyone, but suddenly it doesnt anymore, if you click the button you get a blanc screen. Only when you login it works. But I didnt change anything..... Except that i changed to another fotoslider plugin function since that the previous also suddenly stopped in IE. Also the latest views are not shown.
The weird thing is also that the button also only shows when I state it in the theme.html AND in the config, while only stating it in the config should be enough.
I have checked everything, did the update to 1.4.20 but that didnt change anything.

I am at a loss here.....www.fotofantastic.nl

P.S. hitting the demopage showed in the first post also gives a blanc page
Logged
qui custodiet ipsos custodes

Cath22

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 77
    • Fotofantastic
Re: MOD: Detailed Gallery Statistics
« Reply #89 on: February 18, 2009, 10:16:13 pm »

Hi there, I have a weird problem
I have a Gallerystatistics running, accessable through a button, for everyone, but suddenly it doesnt anymore, if you click the button you get a blanc screen. Only when you login it works. But I didnt change anything..... Except that i changed to another fotoslider plugin function since that the previous also suddenly stopped in IE. Also the latest views are not shown.
The weird thing is also that the button also only shows when I state it in the theme.html AND in the config, while only stating it in the config should be enough.
I have checked everything, did the update to 1.4.20 but that didnt change anything.

I am at a loss here.....www.fotofantastic.nl

P.S. hitting the demopage showed in the first post also gives a blanc page

Ok, I seem to have solved the thing by inserting the gallerystats.php from fotomaf, strange cause I already had done that once before, and also cleared the cache, but maybe I overlooked something else.
Logged
qui custodiet ipsos custodes
Pages: 1 2 3 4 [5]   Go Up
 

Page created in 0.027 seconds with 20 queries.