Author Topic: [Beta Test] Statistic Mod  (Read 58555 times)

0 Members and 1 Guest are viewing this topic.

Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
[Beta Test] Statistic Mod
« on: February 20, 2006, 12:28:21 PM »
Just a short question to all.

I know that there are already several mods for statistic display,
but i wanted to keep an statistic site on an extra page,
with more detailed informations than the mods which are already been published.

So my question is,
if you need it to,
and the more important thing is
thats why i started this thread,
is which informations would be useful for you.
I already has a lot of informations implemented yet,
but may be some other tips would be useful, which i dont had think about.

A small screenshot is attached.
(it's just a part of the statistic site, cause it's too big to screencapture the whole site.
« Last Edit: February 24, 2006, 03:58:41 PM by IcEcReaM »
Coding is a everlasting competition between programmers who tries to write larger, better and idiot-safe programs and the universe producing larger and stupider idiots...
...so far the universe won
bump

Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
Re: [Question] Statistic Mod
« Reply #1 on: February 20, 2006, 02:46:34 PM »

Quote
-search statistik > keywords
i didn't have installed this mod,
maybe i will do it later, and alter the statistic code.

Quote
-multilingual
this is already be done, all my codes are multilanguage to keep 4images standard.
Quote
-top ten images
hmm, i don't know if this is necessary, cause there is already the build in function of 4images.

Quote
-top keywords searchengine google, msn etc
what do you exactly mean with this?

Mightbe i need for this mod some beta testers,
cause it has various options to config for each user, depending on their build in mods.
(config can be easily set in the config part of the statistics)
Coding is a everlasting competition between programmers who tries to write larger, better and idiot-safe programs and the universe producing larger and stupider idiots...
...so far the universe won
bump

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: [Question] Statistic Mod
« Reply #2 on: February 20, 2006, 03:07:34 PM »
- i would like to know how many time a detail.php have been opend do not only the website visit but realy had a look at the Photo
- top Ten - but daily - weekly - monthly - and yearly (the TOP Ten enclouded is useless because a 3 Years old picture is always on the top)
- maybe which time people visit the page

sincerly
vincent

and Deutsch:
- ich möchte gerne wissen wie oft die detail.php datei aufgerufen wird denn dann weiss ich auch wann efektiv ein Foto angeschaut worden ist!
- eine top zehn - aber täglich - wöchentlich - monatlich
- eine auflistung um welchen Zeit meine Seite besucht wird!
« Last Edit: February 20, 2006, 07:28:13 PM by Vincent »
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
Re: [Question] Statistic Mod
« Reply #3 on: February 20, 2006, 05:50:51 PM »
Bitte nochmal auf deutsch,
hab das ein oder andere nicht ganz klar verstanden.
Coding is a everlasting competition between programmers who tries to write larger, better and idiot-safe programs and the universe producing larger and stupider idiots...
...so far the universe won
bump

Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
Re: [Question] Statistic Mod
« Reply #4 on: February 22, 2006, 07:13:25 PM »
now i need 2-3 beta testers,
cause this time there are several config to set.

Please PM me.

A frist preview can be seen here:
Link



- i would like to know how many time a detail.php have been opend do not only the website visit but realy had a look at the Photo

This is already been counted by default 4 images script -> image hits (note: admin hits aren't counted
Quote
- top Ten - but daily - weekly - monthly - and yearly (the TOP Ten enclouded is useless because a 3 Years old picture is always on the top)

maybe i will alter the statistic code to get this mode of image stats.

Quote
- maybe which time people visit the page
dor this you would take a (external) logging script,
like phplogger and built in 4images.



« Last Edit: February 22, 2006, 07:39:24 PM by IcEcReaM »
Coding is a everlasting competition between programmers who tries to write larger, better and idiot-safe programs and the universe producing larger and stupider idiots...
...so far the universe won
bump

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Question] Statistic Mod
« Reply #5 on: February 23, 2006, 12:57:45 AM »
Very nice IcEcReaM!
What is the database structure for these statistics? How will it handle high trafic?

P.S.
The page looks "interesting" in english :P ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
Re: [Question] Statistic Mod
« Reply #6 on: February 23, 2006, 01:47:58 AM »
Thanks.

This Mod doesn't need extra data tables,
cause it uses the data from build in mods,
thats why i need for this mod first some beta testers to test it on different configurations with
different mods.
On the top of the statistics.php is an config part,
where all options can be set, which mods are build in and which rankings are should be shown.

So Performance should be not really a problem,
cause extra queries are only been made, on the statistic site itself.
(There are about 40 queries if all options are enabled).

P.S.: Yes i know about the language files,
thatss why i always said, that making all mods multilanguage drives me crazy,
beacuse i never edited the english main.php file..^^

P.S.: @everybody: You can register at this test site, and test,
if the displayed values/rankings are working probably,
no valid email is required.
Coding is a everlasting competition between programmers who tries to write larger, better and idiot-safe programs and the universe producing larger and stupider idiots...
...so far the universe won
bump

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [Beta Test] Statistic Mod
« Reply #7 on: February 24, 2006, 04:14:59 PM »
(requested)

Code: [Select]
####################################
// CONFIG SETTINGS
define('STATS_TOP_MEMBERS_LIMIT', 5);    // define how many users should be displayed on top member stats

define('STATS_SHOW_OVERVIEW', 1);       // board stats overview is displayed
define('STATS_SHOW_USERS', 1);          // detailed monthly user statistics should be shown
define('STATS_SHOW_COMMENTS',1);        // detailed monthly comment posting statistic should be shown
define('STATS_SHOW_IMAGES',1);          // detailed monthly images statistic should be shown
define('STATS_SHOW_TOPUPLOADERS', 1);   // displays top uploaders
define('STATS_SHOW_TOPCOMMENTER', 1);   // displays top commenters (who gives the most comments)
define('STATS_SHOW_TOPCOMMENTED',1);    // displays from which user the most images were commented by other
define('STATS_SHOW_TOPIMAGE_HITS_FROM_USER',1); // displays which images from users got the most hits
define('STATS_SHOW_TOPIMAGE_RATINGS_FROM_USER',1); // displays avg image rating (avg of all ratings by one imageowner)
define('STATS_SHOW_TOPIMAGES_VOTED',1);      // displays Imageowner which got the most votes
define('STATS_SHOW_TOP_LASTACTIVEUSERS',1); // last active users // Invisible Users can be seen only by admin
define('STATS_SHOW_TOP_NEWUSERS',1);        // Last registered Users / New Users

//For following Options several extra mods must be installed! Take look at the notes!
define('STATS_SHOW_TOPPOSTCARDS_SENDER_USER',1); //displays who sends the most postcards // Note: Postcardsender Mod must be installed
define('STATS_SHOW_TOPPOSTCARDS_FROM_USER',1);   //displays top sended images as postcards from users // Note: [MOD] eCard Counter / Postkartenzähler must be installed
define('STATS_SHOW_TOPDOWNLOADERS',1);  // displays top downloaders // Note: User Download Counter Mod or usertable must be altered
define('STATS_SHOW_VOTES', 1);      // if you wish that detailed monthly vote statistics should be shown
                                    // Note: Save Votes in DB type A must be installed and altered by votetime  http://www.4homepages.de/forum/index.php?topic=6123.0
define('STATS_SHOW_TOPAGEGROUPS',1);   // displays which age group has the most users // Note: Birthday Mod must be installed!
define('STATS_SHOW_TOPIMAGE_VOTER',1); // displays Users by votes  // Note: Save Votes in DB type A must be installed
define('STATS_SHOW_TOPUSERS_SHOUTED',1); // displays Users by the times he shouted // Note: Shoutbox Mod must be installed and IS SHOUTBOX must be set to 1
define('STATS_SHOW_TOPUSERS_PROFILEHITS',1); // displys Top User by Profile Hits // Note: Profile Hits Mod must be installed http://www.4homepages.de/forum/index.php?topic=7758.0
//End extra Mods

// Extra Options if you have several mods installed!
define('STATS_IS_SHOUTBOX', 1);    // if shoutbox mod is installed and in constants.php SHOUTBOX_TABLE is defined
define('STATS_IS_GUESTBOOK', 1);   // set to 1 if you have an guestbook / in constants.php GUESTBOOK_TABLE must be set
define('STATS_IS_USERAVATARS', 1); // turn on, if you have installed [MOD] Member personal photo v1.1.1 by V@no http://www.4homepages.de/forum/index.php?topic=6797.0
//define('STATS_USERAVATARS_PATH', ROOT_PATH.USERPICS_DIR);   // define your avatar path  e.g. /data/userpic/
define('STATS_USERAVATARS_PATH', 'data/userpic/');

// CONFIG SETTINGS END
####################################

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: [Beta Test] Statistic Mod
« Reply #8 on: February 24, 2006, 05:37:57 PM »
 :wink: darf Beta User sein  :?
http://www.foto-kocher.com/statistics.php

gruss
vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [Beta Test] Statistic Mod
« Reply #9 on: February 24, 2006, 06:41:36 PM »
beta test also here:

http://www.ggrec.com/zapomnime2/statistics.php?l=deutsch (german)

Mod works very good so far, thanks IcEcReaM

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [Question] Statistic Mod
« Reply #10 on: February 24, 2006, 07:06:41 PM »
This Mod doesn't need extra data tables,
cause it uses the data from build in mods,
thats why i need for this mod first some beta testers to test it on different configurations with
different mods.

... und die MOD-Voraussetzungen werden immer das Problem bei Statistiken sein ...
... nicht für den Einzelnen, aber allgemein wenn man solche Statistik als MOD veröffentlichen möchte ...
... aber wenn man die Konfiguration seiner installierten MODs im Statistiktool vornehmen kann ... dann bestens ...
... habe etwas ähnliches auch mal probiert ... hier ... Statistik
... irgendwo trifft man sich sogar beim Design ...  :wink:

mawenzi
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
Re: [Beta Test] Statistic Mod
« Reply #11 on: February 24, 2006, 07:40:17 PM »

... und die MOD-Voraussetzungen werden immer das Problem bei Statistiken sein ...
... nicht für den Einzelnen, aber allgemein wenn man solche Statistik als MOD veröffentlichen möchte ...
... aber wenn man die Konfiguration seiner installierten MODs im Statistiktool vornehmen kann ... dann bestens ...

Jap, dafür ist der Config Teil da,
aber da ich einige Tabellen mehr hab,
und meine Gallery sowieso schon stark verändert, musste ich nochmal durch den Text checken,
ob ich da nicht Tabellen abrufe, die so in der Standard 4images Config gar nicht vorhanden sind.
Was dank trez sich ja auch bewahrheitet hat.. (hab dank ihm noch den einen oder anderen kleinen Fehler gefunden)

Quote
... habe etwas ähnliches auch mal probiert ... hier ... Statistik
... irgendwo trifft man sich sogar beim Design ...  :wink:

mawenzi

Jop, hab als ich mit meinem Mod schon fast fertig war,
mich noch auf allen möglichen Seiten umgeschaut (nicht nur bei 4images Gallerys),
was für Statistiken wohl sonst nicht interessant sein könnten.
Hab dann durch Zufall dein Mod gesehen..sieht auch sehr interessant aus.
Hätte ich das vorher gewusst, dass du ebenfalls an sowas bastelst, hätte ich mit meinem evtl. gar nicht erst angefangen,
dachte nur es gibt noch keine ausführliche Extra Statistikseite.

Coding is a everlasting competition between programmers who tries to write larger, better and idiot-safe programs and the universe producing larger and stupider idiots...
...so far the universe won
bump

Offline Loda

  • Sr. Member
  • ****
  • Posts: 353
    • View Profile
    • Fotosucht Schweiz
Re: [Beta Test] Statistic Mod
« Reply #12 on: February 24, 2006, 09:52:57 PM »
hallo!
ich habe den mod auch testen können. er funktioniert sehr gut. dankeschön.

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: [Beta Test] Statistic Mod
« Reply #13 on: February 24, 2006, 10:05:44 PM »
meine Config teil
------------------
####################################
// CONFIG SETTINGS
define('STATS_TOP_MEMBERS_LIMIT', 0);    // define how many users should be displayed on top member stats
define('STATS_SHOW_OVERVIEW', 1);       // board stats overview is displayed
define('STATS_SHOW_USERS', 0);          // detailed monthly user statistics should be shown
define('STATS_SHOW_COMMENTS',0);        // detailed monthly comment posting statistic should be shown
define('STATS_SHOW_IMAGES',1);          // detailed monthly images statistic should be shown
define('STATS_SHOW_TOPUPLOADERS', 0);   // displays top uploaders
define('STATS_SHOW_TOPCOMMENTER', 0);   // displays top commenters (who gives the most comments)
define('STATS_SHOW_TOPCOMMENTED',0);    // displays from which user the most images were commented by other
define('STATS_SHOW_TOPIMAGE_HITS_FROM_USER',1); // displays which images from users got the most hits
define('STATS_SHOW_TOPIMAGE_RATINGS_FROM_USER',0); // displays avg image rating (avg of all ratings by one imageowner)
define('STATS_SHOW_TOPIMAGES_VOTED',0);      // displays Imageowner which got the most votes
define('STATS_SHOW_TOP_LASTACTIVEUSERS',1); // last active users // Invisible Users can be seen only by admin
define('STATS_SHOW_TOP_NEWUSERS',1);        // Last registered Users / New Users

//For following Options several extra mods must be installed! Take look at the notes!
//define('STATS_SHOW_TOPPOSTCARDS_SENDER_USER',1); //displays who sends the most postcards // Note: Postcardsender Mod must be installed
//define('STATS_SHOW_TOPPOSTCARDS_FROM_USER',0);   //displays top sended images as postcards from users // Note: [MOD] eCard Counter / Postkartenzähler must be installed
// define('STATS_SHOW_TOPDOWNLOADERS',1);  // displays top downloaders // Note: User Download Counter Mod or usertable must be altered
// define('STATS_SHOW_VOTES', 1);      // if you wish that detailed monthly vote statistics should be shown
                                    // Note: Save Votes in DB type A must be installed and altered by votetime  http://www.4homepages.de/forum/index.php?topic=6123.0
// define('STATS_SHOW_TOPAGEGROUPS',1);   // displays which age group has the most users // Note: Birthday Mod must be installed!
// define('STATS_SHOW_TOPIMAGE_VOTER',1); // displays Users by votes  // Note: Save Votes in DB type A must be installed
// define('STATS_SHOW_TOPUSERS_SHOUTED',1); // displays Users by the times he shouted // Note: Shoutbox Mod must be installed and IS SHOUTBOX must be set to 1
// define('STATS_SHOW_TOPUSERS_PROFILEHITS',1); // displys Top User by Profile Hits // Note: Profile Hits Mod must be installed http://www.4homepages.de/forum/index.php?topic=7758.0
//End extra Mods

// Extra Options if you have several mods installed!
// define('STATS_IS_SHOUTBOX', 1);    // if shoutbox mod is installed and in constants.php SHOUTBOX_TABLE is defined
// define('STATS_IS_GUESTBOOK', 1);   // set to 1 if you have an guestbook / in constants.php GUESTBOOK_TABLE must be set
// define('STATS_IS_USERAVATARS', 1); // turn on, if you have installed [MOD] Member personal photo v1.1.1 by V@no http://www.4homepages.de/forum/index.php?topic=6797.0
// define('STATS_USERAVATARS_PATH', ROOT_PATH.USERPICS_DIR);   // define your avatar path  e.g. /data/userpic/
// define('STATS_USERAVATARS_PATH', 'data/userpic/');

// CONFIG SETTINGS END
####################################
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline ñoño2

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [Beta Test] Statistic Mod
« Reply #14 on: February 25, 2006, 12:49:36 PM »
Hello, where it is possible to be seen the instructions of installation of this MOD?