Log in

View Full Version : NewStatistikHack 1.1.0 [German]


Afterburner
07-19-2002, 10:00 PM
Here is the version 1.1.0 of my NewStatistikHack

Demo:
http://216.40.240.19/vbulletin/newstatistik.php

At the moment only available in German but I will create an english version as soon as possible

German support here in the German vB Support board:
http://www.vbulletin-germany.com/forum/showthread.php?s=&threadid=2940&perpage=10&pagenumber=1

Webmasta XT
07-20-2002, 05:36 PM
damn man, the demo has porn, lol Nice hack..

Dean C
07-20-2002, 05:39 PM
this looks great... even though i can't understand a thing of whats in the hack ;)...

*eagerly awaits english version*

Itworx4me
07-20-2002, 05:50 PM
Looks good bro. Can't wait for the English version.

Tubbie
07-20-2002, 06:52 PM
Originally posted by Webmasta XT
damn man, the demo has porn, lol Nice hack..

:laugh: :laugh: :bunny:

nice work afterbruner!

Velocd
07-20-2002, 07:14 PM
.....

Looks great, just translate this into english, release, and I'll be sure to install it over Vbstats.

Afterburner
07-20-2002, 07:18 PM
@ all

remember this hack use a lot of querys if you have limited webspace (script time or/and limited mysql querys) it's not recommend to install it.


Page generated in 3.5392279624939 seconds with 85 queries,
spending 3.0530428886414 doing MySQL queries and 0.48618507385254 doing PHP things.


but I try to reduce this

TaP
07-20-2002, 10:16 PM
pleas make to english

Floris
07-21-2002, 03:40 AM
I like it very much, it has some stuff that vBstats by Bane seems to be missing. However, what I like vBstats is that it is a bit more organised to the end-user. In yours I can imagine users might get lost by the overwhelming amount of data.

But a very nice hack!

Vivi Ornitier
07-21-2002, 04:40 AM
damn this hack is nice, has everything u could imagine . . . i think at least, but yea, english version!!

DemiNeo0101
07-21-2002, 12:42 PM
omg, Nice hack.
/me waits for the kick A$$ english version.

Afterburner
07-21-2002, 12:46 PM
Can somebody help me with the translation, I will translate it and upload it but I need somebody who installs the english version and correct my grammer ;)

musicfreak12399
07-21-2002, 01:54 PM
/me awaits the release of the English Version of this great hack by a great hacker

Brainmaster
07-21-2002, 01:58 PM
Great Hack ... I luv it ... it looks better than the vBStats Hack ;)

Afterburner
07-21-2002, 02:04 PM
OK I finished version 1.2.0

here are the features in German:


Folgende Informationen werden in der Statistik angezeigt:

-- Tagesstatistik
* Datum
* Neue Themen
* Neue Beitr?ge
* Private Nachrichten
* Max. Online-User
* Aktive User
* Registrierungen

-- Server-Statistik

-- Heute waren schon folgende User im Board

-- Top 10 Poster
* Rang
* Benutzername
* Beitr?ge

-- Top 10 Poster der letzten 30 Tage
* Rang
* Benutzername
* Beitr?ge

-- Top 10 Poster der letzten 24 Stunden
* Rang
* Benutzername
* Beitr?ge

-- Top 10 Besuchte Threads
* Rang
* Beitrag
* Views

-- Top 10 Beantwortete Threads
* Rang
* Beitrag
* Antworten

-- Statistik
* Aktive Mitglieder
* Aktive Teilnahme in %
* 0-Poster
* Registrierungen seit Start
* Die letzte Registrierung
* Besucherrekord
* Rekorddatum
* Rekordzeit

-- Mitglieder-Statistik
* Zur Zeit aktive Benutzer
* Zur Zeit aktive Mitglieder
* Zur Zeit aktive G?ste
* Zur Zeit unsichtbare Mitglieder

-- Crew-Statistik
* Moderatoren
* Super-Moderatoren
* Administratoren

-- Board-Statistik
* Kategorien
* Foren
* Benutzergruppen
* Benutzerr?nge
* Attachments
* Umfragen
* Benutzung der Suche

-- Beitrags-Statistik
* Beitr?ge aktiv
* Themen aktiv
* Beitr?ge insgesamt
* Themen insgesamt
* Wichtige Themen
* Geschlossene Themen
* Verschobene Themen
* Gesamtviews der Beitr?ge
* Themen ohne Antworten

-- Private Nachrichten
* Private Nachrichten aktiv
* Insgesamt verschickt
* Ungelesen
* Nur gelesen
* Gelesen und geantwortet

-- Durchschnitts-Statistik
* Beitr?ge pro User
* Themen pro User

-- Grafik-Statistik
* Smilies
* Board-Avatare
* User-Avatare
* Styles

-- Datenbank-Statistik
* MySQL Version
* Gr?sse der Datenbank

-- Top10 Referals

-- Letze 10 Suchw?rter

Einstellbar in der newstatistik.php sind folgende Anzeigen:
* Statistik f?r G?ste
* Top10 Referals
* Top10 Poster
* Top10 Poster der letzten 30 Tage
* Top10 Poster der letzten 24 Stunden
* Top10 Besuchte Threads
* Top 10 Beantwortete Threads
* Heute waren schon folgende User im Board
* Server-Statistik
* Letze 10 Suchw?rter
* bestimmt Foren nicht mit einbeziehen bei der Top10 Anzeige (meiste Beitr?ge/Views)


now I have to find time to translate it, than I will upload the new version

Demo:
http://216.40.240.19/vbulletin/newstatistik.php

Xenon
07-21-2002, 03:24 PM
looks very good, but i think it's a bit overloaded.

you should make a few sections instead of just one

but as already said looks very good (ok it looks better because i understnad the language ;))

Afterburner
07-21-2002, 03:26 PM
@ Xenon

you can get the version 1.2.0 here:
http://www.vbulletin-germany.com/forum/showthread.php?s=&threadid=2940
and you can turn off some sections

Xenon
07-21-2002, 04:14 PM
Ich meinte ja nicht genrell abschalten, sonder halt etwas aufteilen, so wie Banes Hack damals, insgesamt will ich schon alle statistiken anhaben, aber halt nicht auf einer Seite

Think i'll upload it on my test board

Afterburner
07-21-2002, 04:17 PM
Originally posted by Xenon
Ich meinte ja nicht genrell abschalten, sonder halt etwas aufteilen, so wie Banes Hack damals, insgesamt will ich schon alle statistiken anhaben, aber halt nicht auf einer Seite

Think i'll upload it on my test board


na mal schauen was man machen kann

Birdie501
07-21-2002, 06:10 PM
Hi,

sieht gut aus! Muss mich aber Xenon anschliessen! Der User wird ja f?rmlich erschlagen :)

Afterburner
07-22-2002, 09:32 AM
ok guys I need your help for the english version, please check these words:


Folgende Informationen werden in der Statistik angezeigt:

-- Stats of the Day
* Date
* New Threads
* New Posts
* Private Messages
* Max. Online-User
* Active User
* New Users

-- Server-Statistic

-- Today on board

-- Top 10 Posters
* Rank
* Username
* Posts

-- Top 10 Posters of the last 30 Days
* Rank
* Username
* Posts

-- Top 10 Posters of the last 24 hours
* Rank
* Username
* Posts

-- Top 10 viewed Threads
* Rank
* Topic
* Views

-- Top 10 replied Threads
* Rank
* Topic
* Replies

-- Statistic
* Active Members
* Active posting in %
* 0-Posters
* Registered since start
* The newest Member
* Most users ever online
* Record date
* Record time

-- Member-Statistic
* Currently Active Users
* Currently Active Members
* Currently Active Guests
* Currently Active Ghosts

-- Crew-Statistic
* Moderators
* Super-Moderators
* Administrators

-- Board-Statistic
* Categories
* Boards
* Usergroups
* Userranks
* Attachments
* Polls
* Using of the search

-- Posting-Statistic
* Posts activ
* Threads activ
* Posts posted
* Threads posted
* Sticky Threads
* Clodes Threads
* Moved Threads
* Views of all posts
* Threads without answers

-- Private Messages
* Private Messages activ
* Total send
* unread
* only read
* read and replied

-- Average-Statistic
* Posts per User
* Threads per User

-- Picture-Statistic
* Smilies
* Board-Avatars
* User-Avatars
* Styles

-- Database-Statistic
* MySQL Version
* Usage of Database

-- Top10 Referals

-- last 10 search-words

**********************************************

you can disable this funktions in the newstatistik.php file:
* Statistic for guests
* Top10 Referals
* Top10 Posters
* Top 10 Posters of the last 30 Days
* Top 10 Posters of the last 24 hours
* Top 10 viewed Threads
* Top 10 replied Threads
* Today on board
* Server-Statistic
* last 10 search-words
* disable board of your choise for implementation in the Top10 (Posts/Views)


--------------

The Administrator has disabled the feature.


--------------


[NAME OF YOUR BOARD] server is a


tell me if someone is spelled wrong


Also check for mistakes in the install instructions:


NewStatistikHack 1.2.0e
written by Afterburner (webmaster@the-afterburner.de)
idea and similar version by (Maarc 1230123@mail.ru)


remember: - please make a backup of your database and the files.
- you use this hack of your own risk
- you are not allowed to remove the copyright of this hack
- you are not allowed to upload the hack to another site without my permission

please upload/download php files in ASCII Mode and the images in BINARY Mode

1. ********* install-newstatistik.php **********

- upload the install-newstatistik.php to your admin folder (login before) and open this file in your browser
after this delete the file.

2. ********* newstatistik.php ******************

- upload the newstatistik.php file to your board folder

Information:
This hack use the custom permissions of your board for each membergroup
I mean this in your control panel:
* Red: using custom permissions for this forum
the blue one (Blue: using custom permissions inherited from parent forum) will not insolved at the moment.
But you can permit forums from the top10 displays, you will find an marked place to modifiy this in the
newstatistik.php file.
There are also marked places for some other options where you can disable some displays, more information in the
Info.txt file


3. ********* images **************************

- upload the whole statistik folder (not only the files in it)) to your images folder.

4. ********* newreply.php **********************

above:

indexpost($postid,0);

insert this code:

// Afterburner
$curtime = time();
$date_today = getdate($curtime);
$time_today=mktime(0,0,0,$date_today[mon],$date_today[mday],$date_today[year]);
$res1 = $DB_site->query("UPDATE afterburner_stat SET newposts = newposts+1 WHERE time = '$time_today'");
// Afterburner


5. ********* global.php ************************

above:

// figure out the chosen style settings

insert this code:

// Afterburner
$curtime = time();
$date_today = getdate($curtime);
$time_today=mktime(0,0,0,$date_today[mon],$date_today[mday],$date_today[year]);
$currentstat = $DB_site->query_first("SELECT * FROM afterburner_stat WHERE time='".$time_today."'");
if(!$currentstat[time]) $res1 = $DB_site->query("INSERT INTO afterburner_stat (time) VALUES ('$time_today')");
// besuchte Mitglieder werwarda
if($bbuserinfo['userid']) {
$schonda = $DB_site->query_first("select * FROM afterburner_sessions_day WHERE userid='".$bbuserinfo['userid']."'");
if(!$schonda[userid]){
$res1 = $DB_site->query("UPDATE afterburner_stat SET memberson = memberson+1 WHERE time = '$time_today'");
}
}
// maximale gleichzeitige Besucher mit Uhrzeit
$user = $DB_site->query_first("SELECT COUNT(*) as anzahl FROM session WHERE lastactivity >= '".(time()-$cookietimeout)."'");
if($user[anzahl]>$currentstat[maxuseron]) $DB_site->query("UPDATE afterburner_stat set maxuseron='$user[anzahl]', maxuserontime='$curtime' WHERE time = '$time_today'");

$res1 = $DB_site->query("DELETE FROM afterburner_sessions_day WHERE time<'".$time_today."'");
if($bbuserinfo['userid']){
$row = $DB_site->query_first("select * FROM afterburner_sessions_day WHERE userid='".$bbuserinfo['userid']."'");
if(!$row[userid]) {
$res1 = $DB_site->query("INSERT INTO afterburner_sessions_day VALUES('".$bbuserinfo['userid']."', '".$curtime."')");
}
}

// Afterburner


6. ********* newthread.php *************

below:

$threadid=$DB_site->insert_id();

insert this code:

// Afterburner
$curtime = time();
$date_today = getdate($curtime);
$time_today=mktime(0,0,0,$date_today[mon],$date_today[mday],$date_today[year]);
$res1 = $DB_site->query("UPDATE afterburner_stat SET newthreads = newthreads+1 WHERE time = '$time_today'");
$res2 = $DB_site->query("UPDATE afterburner_stat SET newposts = newposts+1 WHERE time = '$time_today'");
// Afterburner

7. *********** private.php *************

above:

// enhanced
if ($prevmessageid) {

insert this code:

// Afterburner
$curtime = time();
$date_today = getdate($curtime);
$time_today=mktime(0,0,0,$date_today[mon],$date_today[mday],$date_today[year]);
$res1 = $DB_site->query("UPDATE afterburner_stat SET newpms = newpms+1 WHERE time = '$time_today'");
// Afterburner


8. ************ register.php ************

below:

$DB_site->query("INSERT INTO userfield $userfieldsnames VALUES ($userid$userfields)");

insert this code:

// Afterburner
$curtime = time();
$date_today = getdate($curtime);
$time_today=mktime(0,0,0,$date_today[mon],$date_today[mday],$date_today[year]);
$res1 = $DB_site->query("UPDATE afterburner_stat SET newregs = newregs+1 WHERE time = '$time_today'");
// Afterburner

9. ********** create a template *********

create a new template with this name: stat
insert the code from this file (you can find this file in the template folder of this hack):
stat.txt

10. ********** create a template *********

create a new template with this name: stats_head
insert the code from this file (you can find this file in the template folder of this hack):
stats_head.txt

11. ********** create a template *********

create a new template with this name: stats_table_threads
insert the code from this file (you can find this file in the template folder of this hack):
stats_table_threads.txt

12. ********** create a template *********

create a new template with this name: stats_table_threads1
insert the code from this file (you can find this file in the template folder of this hack):
stats_table_threads1.txt

13. ********** create a template *********

create a new template with this name: stat_daybit
insert the code from this file (you can find this file in the template folder of this hack):
stat_daybit.txt

14. ********** create a template *********

create a new template with this name: stats_head1
insert the code from this file (you can find this file in the template folder of this hack):
stats_head1.txt

15. ********** create a template *********

create a new template with this name: stats_head2
insert the code from this file (you can find this file in the template folder of this hack):
stats_head2.txt

16. ********** online.php *****************

below:

case 'index.php':
$userinfo[activity] = 'index';
break;

insert this code:

// Afterburner
case 'newstatistik.php':
$userinfo[activity] = 'newstatistik';
break;
// Afterburner

above:

case 'online':
$userinfo[where]

insert this code:

// Afterburner
case 'newstatistik':
$userinfo[where] = "<a href='newstatistik.php?s=$session[sessionhash]'>Statistic</a>";
break;
// Afterburner



That's all
Have fun
Bye
Afterburner

Afterburner
07-23-2002, 07:48 AM
nobody want to help me ?

Xenon
07-23-2002, 08:55 AM
i think my english is just as good as yours, so i don't see something wrong, but i'm not native english speaker

Chris M
07-23-2002, 10:50 AM
-- Posting-Statistic
* Posts activ
* Threads activ

should have an "e" on the end of "active"...

Other than that minor change, everything is good - I can understand it without you changing anything:)

And If I can, everyone else can:)

Great work!

Satan

Afterburner
07-23-2002, 12:42 PM
here is the english version 1.2.0e
https://vborg.vbsupport.ru/showthread.php?s=&threadid=41421

Afterburner
07-23-2002, 12:47 PM
her is the new german version 1.2.0
https://vborg.vbsupport.ru/showthread.php?s=&threadid=41422

Please don't reply to the thread, use the new threads

Xenon
07-23-2002, 02:44 PM
you can close the thread after betatesting is over by yourself ;)

Afterburner
07-23-2002, 02:58 PM
thx, will do that