Author Topic: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.01  (Read 68902 times)

0 Members and 1 Guest are viewing this topic.

Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
[ Introduction ]
With this mod you have an extra site where some useful informations are provided in statistic form.

[ Features ]
Fully configurable
Depending on which mods you have installed several display options can be turned on/off

[ Changed Files ]
lang/<your language>/main.php
(for some additional infos you have to modify more files)

[ New Files ]
templates/statistics.html
templates/statistics_memberbox.html
templates/statistics_monthbox.html
statistics.php

[ Installation ]
Download the rar archive.
unpack the files.
follow the installation note.
Configuration (important!)
Open the statistics.php and edit/modify in the head of the file your settings,
depending on your installed mods.
If you get sql error messages then you have not configured the settings part probably.

A Demo can be seen here: Demo Link

Download here
You can register your own account (no email verification is needed)
or login in with 4images/4images.

Have Phun.

Update Version 1.01
Added the mode parameter,
cause for some users the displayed site is too large,
so you can split up the statistics php.
Only the for the needed infos the querys will be executed to save some ressources.
changed files:
statistics.php
statistics.html

From installation note:
you can call the statistics.php with 3 different mode parameters.
e.g. statistics.php?mode=xxx
for xxx there are 3 modes available:
all: show all options
topusers: shows only the topuser statistics
stats: shows only the main statistics



P.S.: Thanks to my Betatesters (JensF,trez,ivan,Vincent,Loda) who provided me some errors which has been fixed now.

14.03.2006 Updated the Archive: dutch language file added (thx to wallpapers)
15.03.2006 Updated statistics.php v1.01 // added mode parameter
16.03.2006 Updated statistics.php v1.01 // added config option: show admin values in top users statistics on/off
« Last Edit: March 16, 2006, 08:06:56 AM 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 trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.0
« Reply #1 on: March 09, 2006, 10:23:22 PM »
Thx for the MOD IcEcReaM, its a good to use and easy to install MOD

Just two questions that might be important:

- is there any difference between the latest beta and this release?
- is "useronlinetime" includet in this final version?

good work,

treZ

Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.0
« Reply #2 on: March 09, 2006, 10:27:07 PM »
Just two questions that might be important:

- is there any difference between the latest beta and this release?

Just changed some little fixes, and make the templates xhtml conform.

Quote
- is "useronlinetime" includet in this final version?
useronlinetime isn't part of this mod,
and have not been released yet.


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 ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.0
« Reply #3 on: March 09, 2006, 11:38:40 PM »
wooow looks really nice!! thanks for this =)

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.0
« Reply #4 on: March 10, 2006, 02:32:56 AM »
Danke IcEcReaM für diesen großartigen MOD und die Arbeit die du damit hattest ...  :D

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 wallpapers

  • Full Member
  • ***
  • Posts: 107
    • View Profile
    • Tuned-Cars.Net
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.0
« Reply #5 on: March 13, 2006, 10:10:33 PM »
Oke i have installed the mod (and many others FOR this mod)
But finily he is online ..... i'm busy with the translation to dutch  :lol:
It's a great mod i'm very happy with it thanks  :D

The link if you are intrested: http://wallpapers.sexy-picz.com/statistics.php (there can be a sql error i'm busy with some small thinks.  :roll:
« Last Edit: March 13, 2006, 10:28:51 PM by wallpapers »



Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.0
« Reply #6 on: March 13, 2006, 11:23:30 PM »
if you want then you can post your durch translations here,
could be interesting for other dutch users.
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 wallpapers

  • Full Member
  • ***
  • Posts: 107
    • View Profile
    • Tuned-Cars.Net
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.0
« Reply #7 on: March 14, 2006, 06:38:09 PM »
Here is the dutch translation.
If you see a (stupit) fould please replay me ...... my englisch is not so best  :roll: sorry for that. :lol:

Code: [Select]
//-----------------------------------------------------
//--- Statistics Mod-----------------------------------
//-----------------------------------------------------

// altered User Fields
$lang['image_downloads'] = "Afbeelding download teller:"; //Image Download Counter:
$lang['usersendpostcards'] = "Poskaarten verzonden:"; //Postcards Send



$lang['langstats_overview'] = "Website statestieken"; //Board Statistics
$lang['lang_langstats_userstats'] = "Gebruikers statestieken"; //User Statistics
$lang['lang_langstats_votestats'] = "Waardering Statestieken"; //Vote Stats
$lang['lang_langstats_commentstats'] = "Commentaar statestieken"; //Comment Stats
$lang['lang_langstats_imagestats'] = "Afbeelding statestieken"; //Image Stats

$lang['langstats_images'] = "Afbeeldingen"; //Images
$lang['langstats_not_activated_images'] = "Niet geactiveerd"; //not active
$lang['langstats_total_categories'] = "Catagorieen"; //Categories
$lang['langstats_total_images_4u'] = "Zichtbaar voor jou"; //visible for you
$lang['langstats_total_image_hits'] = "Afbeelding Hits"; //Image Hits
$lang['langstats_total_image_votes'] = "Afbeelding waarderingen"; //Image Ratings
$lang['langstats_total_category_hits'] = "Catagorieen Hits"; //Categories Hits
$lang['langstats_total_members'] = "Geregistreerde leden"; //Registered Members
$lang['langstats_total_not_activated_members'] = "Niet geactiveerd"; //not active
$lang['langstats_total_downloads'] = "Afbeelding downloads"; //Image Downloads
$lang['langstats_total_comments'] = "Afbeelding comentaar"; //Image Comments
$lang['langstats_total_images_dirsize'] = "Media dir. groote"; //Media Dir Size
$lang['langstats_total_thumbs_dirsize'] = "Thumbnail dir. groote"; //Thumbnail Dir Size
$lang['langstats_total_db_size'] = "Database groote"; //Database Size
$lang['langstats_total_avg_rating'] = "Gemiddelde afbeelding waardering"; //Average Image Rating
$lang['langstats_total_guestbook_entries'] = "Gastenboek berichten"; //Guestbookentries
$lang['langstats_total_shoutbox_entries'] = "Shoutbox berichten"; //Shoutbox Entries
$lang['langstats_total_postcars'] = "Postkaarten aktief"; //Postcards active
$lang['langstats_total_postcars_send'] = "Gemiddeld postkaarten verzonden"; //Overall Postcards sended

$lang['langstats_userstats_registration'] = "Registraties"; //Registrations
$lang['langstats_userstats_today'] = "Vandaag"; //Today
$lang['langstats_userstats_yesterday'] = "Gisteren"; //Yesterday
$lang['langstats_userstats_this_week'] = "Laatste 7 dagen"; //Last 7 Days
$lang['langstats_userstats_last_week'] = "Laatste 14 dagen"; //Last 14 Days
$lang['langstats_userstats_this_month'] = "Deze Maand"; //This Month
$lang['langstats_userstats_last_month'] = "Vorige Maand"; //Last Month
$lang['langstats_userstats_this_year'] = "Dit Jaar"; //This Year
$lang['langstats_userstats_last_year'] = "Vorig Jaar"; //Last Year
$lang['langstats_userstats_total'] = "Gemiddeld"; //Overall
$lang['langstats_month_overview'] = "Maandelijks overzicht"; //Monthly Overview
$lang['langstats_months'] = array(
"1" => "Januari",
"2" => "Februari",
"3" => "Maart",
"4" => "April",
"5" => "Mei",
"6" => "Juni",
"7" => "Juli",
"8" => "Augustus",
"9" => "September",
"10" => "October",
"11" => "November",
"12" => "December",
);

$lang['lang_langstats_topuploaders'] = "Top Uploaders"; //Top Uploaders
$lang['lang_langstats_topdownloaders'] = "Top Downloaders"; //Top Downloaders
$lang['lang_langstats_topcommenter'] = "Top Commentaar"; //Top Commenter
$lang['lang_langstats_topagegroups'] = "Top leeftijd groepen"; //Top Agegroups
$lang['stats_topagegroups_group'] = "Jaar oud"; //years old
$lang['lang_langstats_topcommented'] = "Top afbeeldinghouders bij commentaren"; //Top Imageowner by commented Images
$lang['lang_langstats_topimageratingsfromuser'] = "Top afbeeldinghouders bij gemiddelde waarderingen"; //Top Imageowner by AVG Image Ratings
$lang['lang_langstats_toppostcardssenduser'] = "Top leden van verzenden van postkaarten"; //Top Users by Sending Postcards
$lang['lang_langstats_toppostcardsfromuser'] = "Top afbeeldinghouder van verzonden postkaarten"; //Top Imageowner by Sended Postcards
$lang['lang_langstats_topimagehitsfromuser'] = "Top afbeeldinghouder van afbeelding waarderingen"; //Top Imageowner by Image Hits
$lang['lang_langstats_topimagevoter'] = "Top waardeer(der)(ster)"; //Top Voter
$lang['lang_langstats_topimagevotedfromuser'] = "Top afbeeldinghouder van afbeelding waarderingen"; //Top Imageowner by Image Votes
$lang['lang_langstats_topusersshouted'] = "Top gebruiker van shoutbox berichten"; //Top Users by Shoutbox Entrys
$lang['lang_langstats_topusersprofilehits'] = "Top gebruiker van profiel hits"; //Top Users by Profile Hits
$lang['lang_langstats_topuserslastaction'] = "Laatste actieve gebruikers"; //Last active Users
$lang['lang_langstats_topusersnewusers'] = "Nieuwe geregistreerde gebruikers"; //New registered Users
$lang['lang_langstats_topusersonlinetime'] = "Top gebruikers van onlinetijd"; //Top Users by Onlinetime

You can call the file: lang_nederlands.txt and you can putt them in the .zip file from IcEcReaM.
You .zip file is complete then.  :D



Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.0
« Reply #8 on: March 14, 2006, 07:45:37 PM »
thanks, i've updated the archive
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

freiserk_

  • Guest
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.0
« Reply #9 on: March 15, 2006, 01:55:10 PM »
Links dont work, please, reup.

Many thanks.

Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.0
« Reply #10 on: March 15, 2006, 09:22:31 PM »
links should work, but somestimes the server is too busy.
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: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.0
« Reply #11 on: March 15, 2006, 11:03:29 PM »
Updated the statistcs.php

Just a little modification.

Changes:
if you want to uprade manually from 1.0 to 1.01

search for:
Code: [Select]
$starttime_statistic = explode(" ", $starttime_statistic);and insert below
Code: [Select]
$stats_version = "v1.01";
search for:
Code: [Select]
//-----------------------------------------------------
//--- Stats Start -------------------------------------
//-----------------------------------------------------
and insert below:
Code: [Select]
// Modfication seperated view
if (!$mode) $mode = "all";  // modes available: topusers // all // stats
if ($mode == "stats" || $mode == "all") {

search for:
Code: [Select]
//-----------------------------------------------------
//--- TOP Uploaders -----------------------------------
//-----------------------------------------------------

and insert above
Code: [Select]
} // end mode stats
if ($mode == "topusers" || $mode == "all") {

search for:
Code: [Select]
//-----------------------------------------------------
//--- Clickstream -------------------------------------
//-----------------------------------------------------
$clickstream = "<span class=\"clickstream\"><a href=\"".$site_sess->url(ROOT_PATH."index.php")."\" class=\"clickstream\">".$lang['home']."</a>".$config['category_separator']."Statistics</span>";

//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------
$site_template->register_vars(array(
  "msg" => $msg,
  "clickstream" => $clickstream
and replace with
Code: [Select]
} // end topusers

//-----------------------------------------------------
//--- Clickstream -------------------------------------
//-----------------------------------------------------
$clickstream = "<span class=\"clickstream\"><a href=\"".$site_sess->url(ROOT_PATH."index.php")."\" class=\"clickstream\">".$lang['home']."</a>".$config['category_separator']."Statistics</span>";

//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------
$site_template->register_vars(array(
  "stats_version" => $stats_version,
  "msg" => $msg,
  "clickstream" => $clickstream

and just replace your old statistics.html with the new one.


more informations can be found in the first post.
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 novw

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.01
« Reply #12 on: March 21, 2006, 09:39:12 AM »
so... if I understand correctly I must install

[MOD] eCard Counter / Postkartenzähler
Save Votes in DB type A
Birthday Mod v1.0
Shoutbox Mod
Profile Hits Mod
Guestbook Mod
[MOD] Member personal photo v1.1.1 by V@no

for this to work ? what happens if I don't install any of these ?

Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.01
« Reply #13 on: March 21, 2006, 05:37:59 PM »
you don't need to install any other mods,
you can turn off different statistics options in the config part of the statistics.php.

Just set the value from 1 to 0, if you didn't installed the necessary mod.
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 viper357

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.01
« Reply #14 on: April 17, 2006, 11:46:48 PM »
This is a fantastic mod, thank you very very much  :D

Is it possible to get statistics on the top images by hits ?

 

Post your comments here