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

0 Members and 1 Guest are viewing this topic.

Offline oasis123

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.01
« Reply #30 on: July 15, 2009, 09:43:40 PM »
I'd installed this mod, works great, but I've a concern regarding top avg ratings of uploader, right now it is giving top ten of avg ratings of users which is correct but, I want to consider avg ratings only when if users number of votings recved is greater than 100, this way I can present much better uploaders

lets say I've users who got rating like this (x/y, x:avg rating, y:number of ratings), 4/100, 5/1, 5/3, 4.99/200, 3.97/300;
right now this mod sorts this like this 5/3, 5/1, 4.99/200, 4/100, 3.97/300, but this is unfair as users who got toplisted are not really worth

Could somebody please refine the below query to consider avg ratings if number_ratings recved is greater than 100..
if (defined("STATS_SHOW_TOPIMAGE_RATINGS_FROM_USER") && STATS_SHOW_TOPIMAGE_RATINGS_FROM_USER == 1) {

          $sql = "SELECT ROUND(AVG(i.image_rating),2) as avg_rating, ".get_user_table_field("u.",user_name).", ".get_user_table_field("u.",user_id).$additional_sql_uuserpic."
                  FROM ".IMAGES_TABLE." i
                  LEFT JOIN ".USERS_TABLE." u ON (i.user_id = ".get_user_table_field("u.",user_id).")
                  WHERE $sql_adminu i.image_rating != 0 AND ".get_user_table_field("u.",user_level)." > ".GUEST."
                  GROUP BY ".get_user_table_field("u.",user_id)."
                  ORDER BY avg_rating DESC, ".get_user_table_field("u.",user_id)." ASC
                  LIMIT ".STATS_TOP_MEMBERS_LIMIT;;

         show_topmembers($sql,"topimageratingsfromuser","avg_rating");
}

Thanks.

Offline Sebas Bonito

  • Sr. Member
  • ****
  • Posts: 271
  • Sebas Bonito
    • View Profile
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.01
« Reply #31 on: July 27, 2009, 09:17:36 PM »
Is it possible to exclude the admin (user id 1) from the stats?

Offline tom69

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.01
« Reply #32 on: January 26, 2010, 03:35:28 PM »
Hallo,

@ Paule  ich suche diesen Mod ( User Download Counter Mod ) hab es hier irgendwie nicht gefunden. Hast Du ihn noch und kannst ihm senden, oder sagen wo ich ihn find ?

Gruß

Tom

Offline Bommel

  • Full Member
  • ***
  • Posts: 114
    • View Profile
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.01
« Reply #33 on: February 02, 2010, 11:59:33 AM »
Hallo allerseits,

besten Dank für dieses Statistiktool. :thumbup:

@tom69

den "User Download Counter Mod" findest du im Archiv, welches du heruntergeladen hast. Dort findest du die Datei "Note 2 - User Download Counter Mod .txt". ;)

...Vielleicht findet sich ja jemand der den Onlinetime-MOD hat?...

Genau diese MOD suche ich auch. Gibt es denn wirklich niemand hier von den Benutzern dieser Statistik-MOD, der bitte diese Onlinetime-MOD zur Verfügung stellen kann?


Nachtrag:

Eine Frage wäre da noch - was muss in der statistics.php geändert werden, damit die Monate absteigend angezeigt werden? Also Februar 2010, Januar 2010, Dezember 2009 usw.

OK... Dumme Fragen gibt es nie. ;)

ORDER by "Spalte" ASC oder DESC

Freundliche Grüße, Bommel
« Last Edit: February 02, 2010, 12:49:35 PM by Bommel »
Freundliche Grüße, Bommel

Nicht die Geduld mit mir verlieren, ich bin noch am Lernen./ Do not lose the patience with me, I am still in the learning. ;)

Offline hongoctrien

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • Thư viện tư liệu LÀNG ANH TUẤN
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.01
« Reply #34 on: February 25, 2010, 07:26:56 AM »
hello, please help me
When I add line in database
Code: [Select]
ALTER TABLE `4images_voted` ADD `vote_time` INT( 11 ) UNSIGNED DEFAULT '0' NOT NULL ;Have problem:
Code: [Select]
Error

SQL query:

ALTER TABLE `4images_voted` ADD `vote_time` INT( 11 ) UNSIGNED DEFAULT '0' NOT NULL

MySQL said: Documentation
#1146 - Table '11.4images_voted' doesn't exist

In my database hadn't table 4images_voted
http://anhtuanqt.net - Thư viện tư liệu LÀNG ANH TUẤN

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.806
  • I ♥ 4I
    • View Profile
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.01
« Reply #35 on: March 08, 2010, 09:59:16 PM »
Mod nicht mehr downloadbar!

Wie bekomme ich nur die Zahl ausgegeben wieviele User registriert sind?

Offline MrAndrew

  • Sr. Member
  • ****
  • Posts: 302
    • View Profile
    • Aviation PhotoBase
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.01
« Reply #36 on: September 27, 2010, 07:50:11 PM »
Download link is not work! Is it possible to find this MOD now?

Thanks!

Offline FotoRalle

  • Jr. Member
  • **
  • Posts: 57
  • 4images als bestes Community-Script
    • View Profile
    • rs webregie | webdesign & webmaster
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.01
« Reply #37 on: November 11, 2010, 09:52:16 PM »
Hat jemand die Downloaddateien? Funktioniert das MOD mit 1.7.9 ?

Freu mich, wenn dieser nette Mod hier einfügt wird!

Offline milanNN

  • Newbie
  • *
  • Posts: 40
    • View Profile
    • http://www.planesphotos.net
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.01
« Reply #38 on: January 09, 2011, 10:48:16 PM »
I can't find file. Reupload please.

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: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.01
« Reply #39 on: January 09, 2011, 11:15:59 PM »
Moving out mods section until someone provides complete package.
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 marcinos

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: [MOD] YaSt - Yet another Statistic Tool - Statistic Mod v1.01
« Reply #40 on: October 01, 2011, 04:03:17 PM »
How download mods Statistics v1.01 by IcEcReaM