PDA

View Full Version : NewStatistikHack 1.1.0 [German]


Afterburner
20 Jul 2002, 19:30
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
20 Jul 2002, 19:36
damn man, the demo has porn, lol Nice hack..

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

*eagerly awaits english version*

Itworx4me
20 Jul 2002, 19:50
Looks good bro. Can't wait for the English version.

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

:laugh: :laugh: :bunny:

nice work afterbruner!

Velocd
20 Jul 2002, 21:14
.....

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

Afterburner
20 Jul 2002, 21:18
@ 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
21 Jul 2002, 00:16
pleas make to english

Floris
21 Jul 2002, 05:40
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
21 Jul 2002, 06:40
damn this hack is nice, has everything u could imagine . . . i think at least, but yea, english version!!

DemiNeo0101
21 Jul 2002, 14:42
omg, Nice hack.
/me waits for the kick A$$ english version.

Afterburner
21 Jul 2002, 14:46
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
21 Jul 2002, 15:54
/me awaits the release of the English Version of this great hack by a great hacker

Brainmaster
21 Jul 2002, 15:58
Great Hack ... I luv it ... it looks better than the vBStats Hack ;)

Afterburner
21 Jul 2002, 16:04
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
21 Jul 2002, 17:24
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
21 Jul 2002, 17:26
@ 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
21 Jul 2002, 18:14
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
21 Jul 2002, 18:17
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
21 Jul 2002, 20:10
Hi,

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

Afterburner
22 Jul 2002, 11:32
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
23 Jul 2002, 09:48
nobody want to help me ?

Xenon
23 Jul 2002, 10:55
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
23 Jul 2002, 12:50
-- 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
23 Jul 2002, 14:42
here is the english version 1.2.0e
http://www.vbulletin.org/forum/showthread.php?s=&threadid=41421

Afterburner
23 Jul 2002, 14:47
her is the new german version 1.2.0
http://www.vbulletin.org/forum/showthread.php?s=&threadid=41422

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

Xenon
23 Jul 2002, 16:44
you can close the thread after betatesting is over by yourself ;)

Afterburner
23 Jul 2002, 16:58
thx, will do that