coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: mahdi1234 on October 25, 2008, 11:58:19 PM

Title: Displayed info registered vs. external visitors figures
Post by: mahdi1234 on October 25, 2008, 11:58:19 PM
Hi there,

is there a way for Displayed field in the picture view to show figures on how many visits are from registered members and how many from external people?

thanks,
mahdi
Title: Re: Displayed info registered vs. external visitors figures
Post by: Joachim Müller on October 26, 2008, 12:25:58 PM
Not out of the box.
Title: Re: Displayed info registered vs. external visitors figures
Post by: mahdi1234 on October 27, 2008, 05:54:46 PM
Quote from: Joachim Müller on October 26, 2008, 12:25:58 PM
Not out of the box.

If I may have a question - would this be requiring rewrite of how user access is logged now or those information are already existing in the db?
Title: Re: Displayed info registered vs. external visitors figures
Post by: Joachim Müller on October 28, 2008, 07:45:01 AM
If you enabled detailed stat recording in coppermine's config, the information already resides in your database. Won't help you much though - you'd have to come up with custom code that queries the stat details table and outputs the corresponding records on displayimage.php, which can be pretty resources-intensive and generally is not recommended. Usually, your users don't care for such stat details. Stats are important for you as admin mostly. That's why I suggest instead to use google analytics or a similar tool on your site, as this will get you much more granular control over stat data.