-- 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
-- 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:
Quote:
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