Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases

Closed Thread
 
Thread Tools
NewStatistikHack 1.1.0 [German] Details »»
NewStatistikHack 1.1.0 [German]
Version: 1.00, by Afterburner Afterburner is offline
Developer Last Online: Oct 2003 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-19-2002 Last Update: Never Installs: 7
Is in Beta Stage  
No support by the author.

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/for...0&pagenumber=1

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 07-22-2002, 09:32 AM
Afterburner's Avatar
Afterburner Afterburner is offline
 
Join Date: Nov 2001
Location: 53?36'08"N 13?18'22"E
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok guys I need your help for the english version, please check these words:

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

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

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
  #23  
Old 07-23-2002, 07:48 AM
Afterburner's Avatar
Afterburner Afterburner is offline
 
Join Date: Nov 2001
Location: 53?36'08"N 13?18'22"E
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nobody want to help me ?
  #24  
Old 07-23-2002, 08:55 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i think my english is just as good as yours, so i don't see something wrong, but i'm not native english speaker
  #25  
Old 07-23-2002, 10:50 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

-- 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
  #26  
Old 07-23-2002, 12:42 PM
Afterburner's Avatar
Afterburner Afterburner is offline
 
Join Date: Nov 2001
Location: 53?36'08"N 13?18'22"E
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here is the english version 1.2.0e
https://vborg.vbsupport.ru/showthrea...threadid=41421
  #27  
Old 07-23-2002, 12:47 PM
Afterburner's Avatar
Afterburner Afterburner is offline
 
Join Date: Nov 2001
Location: 53?36'08"N 13?18'22"E
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

her is the new german version 1.2.0
https://vborg.vbsupport.ru/showthrea...threadid=41422

Please don't reply to the thread, use the new threads
  #28  
Old 07-23-2002, 02:44 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you can close the thread after betatesting is over by yourself
  #29  
Old 07-23-2002, 02:58 PM
Afterburner's Avatar
Afterburner Afterburner is offline
 
Join Date: Nov 2001
Location: 53?36'08"N 13?18'22"E
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx, will do that
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:23 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08496 seconds
  • Memory Usage 2,291KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete