View Full Version : NewStatistikHack 1.2.1e [English]
Afterburner
07-22-2002, 10:00 PM
This are the features of the statistic:
-- 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 active
* Threads active
* 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)
* Do you want to show words seached by Admins SMods and Mods ?
Demo:
http://www.gamblingforums.net/vbportal/forums/newstatistik.php
http://216.40.240.19/vbulletin/newstatistik.php (this demo is my board and only in German)
EchoHype.com
07-23-2002, 12:54 PM
Nice hack man
LOTS of stats, hehe!
Good job
Afterburner
07-23-2002, 01:19 PM
if it is possible please give me a link
I want to see the english version in action and maybe some others also ;)
EchoHype.com
07-23-2002, 01:35 PM
I wont be installing it till later today....so I will then
thenetbox
07-23-2002, 02:13 PM
i'll install this when I get home :) thanks
chr@nox
07-23-2002, 02:30 PM
it's very nice! thanx alot buddy :)
Chris M
07-23-2002, 02:32 PM
V. Good!:)
Satan
DemiNeo0101
07-23-2002, 03:06 PM
installing now, wish you luck. ill post my link here when im done.
DemiNeo0101
07-23-2002, 03:47 PM
Wow, it was alot of work but it was werth it. (about 45 mins of work)
http://www.undergroundcandy.net/forums/newstatistik.php
works GREAT!
And unlike after maths demo if any of you were conserned it is all in english.
DemiNeo0101
07-23-2002, 03:51 PM
one problem, on the bottom right box it says:
Letze 10 Suchwörter
whats that mean so i can fix it?
you also have a / next to date there to.
DemiNeo0101
07-23-2002, 03:56 PM
k I think it means Top 10 Searched Words
DemiNeo0101
07-23-2002, 04:04 PM
In newstatistik.php
Just search for:
Letze 10 Suchwörter
and replace it with:
Top 10 Searched Words
Search for: \date & \time
Replace with: Date & Time
That will fix the spelling errors.
Afterburner
07-23-2002, 05:22 PM
No it means "Last 10 Search Words"
I fixed this in the zip file
also Date & Time
sorry for that
simple replace the newstatistik.php
Vivi Ornitier
07-23-2002, 05:53 PM
How many queries does this make?
Afterburner
07-23-2002, 05:56 PM
a lot *g*
round about 85 with all features
DestyNova
07-23-2002, 06:28 PM
Great hack! :thumb up: I m going to install it right away
freeshares1
07-23-2002, 06:54 PM
queries 91
http://www.gamblingforums.net/vbportal/forums/newstatistik.php
Afterburner
07-23-2002, 06:58 PM
@ DemiNeo0101
@ freeshares1
may I use your links for the demo link in the first post ?
freeshares1
07-23-2002, 07:08 PM
Yep no problem, If i have problems with queries then i will let you know..
Afterburner
07-23-2002, 07:12 PM
Originally posted by freeshares1
Yep no problem, If i have problems with queries then i will let you know..
I insert your link in the first post
If you get problems I can try to help
e.g. you can disable some features
I will try to reduce the querys but there are a lot of stats so it will be a little bit difficult
freeshares1
07-23-2002, 07:58 PM
Thanks....
Dean C
07-24-2002, 10:03 AM
im luvin this hack.... :p
kenny@ecn
07-24-2002, 01:16 PM
Installed here (in English): http://www.exoticcarforums.com/newstatistik.php
You might have to register to see it, I'm not sure.- my admins have been playing with that option.
Question, is there a link on the main page to it, because the only way I can think of getting there is through writing the address directly.
kenny@ecn
07-24-2002, 01:30 PM
Oh don't worry :). Hackmaster Kenny just placed it into his "Currently active users":
Check out the attached.
Afterburner
07-24-2002, 01:43 PM
@ kenny@ecn
I can see the stats without register ;)
nice a car forum, I will register myself on your board
wooolF[RM]
07-24-2002, 05:21 PM
this hack wont work if your images are not in the folder called "images" but something else
Afterburner
07-24-2002, 05:42 PM
Originally posted by wooolF[RM]
this hack wont work if your images are not in the folder called "images" but something else
the images have to be in the folder called "images" thats right or what's your question ?
wooolF[RM]
07-24-2002, 05:59 PM
]yes, you understood me right...
for example : I have called images folder for "blabla" , then I go to Replacement and change image folder to http://www.somewhere.com/blabla ...
your hack don't look at it, it just use images folder
wooolF[RM]
07-24-2002, 06:00 PM
otherwise nice hack, but way too heavy... I wont recommend it for a site with high traffic and many users...
kenny@ecn
07-25-2002, 04:39 AM
I found an error :)
You spelled "Closed Threads" "Clodes Threads"
Afterburner
07-25-2002, 08:14 AM
OK du fix this simple replace "Clodes Threads" with "Closed Threads" in the newstatistik.php file
I fiexed this mistake also in the zip file in the first posting
wooolF[RM]
07-25-2002, 09:01 AM
Have u fixed this error with images folder?
I have fixed it, but just some other users may have problems...
Afterburner
07-25-2002, 09:18 AM
Originally posted by wooolF[RM]
Have u fixed this error with images folder?
I have fixed it, but just some other users may have problems...
This is not really an error, there must be an images folder and you have to upload the statistik folder to the images folder, where is the error ? Maybe say it with other words (remember I am from Germany ;))
wooolF[RM]
07-25-2002, 09:27 AM
uhm... it have to be explained in German then... I explained it in simple english with example... I'm sorry you didn't understood it...
Too bad for other users that may have the same problem
Afterburner
07-25-2002, 09:57 AM
Changed to version 1.2.1e
OK another fix for this problem (http://www.vbulletin.com/forum/showthread.php?s=&threadid=50654)
thx to FireFly (https://vborg.vbsupport.ru/member.php?s=&action=getinfo&userid=1) for the Information, read this (https://vborg.vbsupport.ru/showthread.php?postid=227359#post227359) for more information about the problem
to fix this upload relace the newstatistik.php
Now you can choose it in the newstatistik.php
// Do you want to show words seached by Admins SMods and Mods ?
// 0 = dont show
// 1 = show
$showsearchedby567="1";
I fixed this problem also in the zip file, sorry for this 2 fixes in a sort time :confused:
kenny@ecn
07-25-2002, 12:50 PM
Originally posted by Afterburner
OK du fix this simple replace "Clodes Threads" with "Closed Threads" in the newstatistik.php file
I fiexed this mistake also in the zip file in the first posting
Any possibility fixign the hack with out completely re-installing it? Is there just one document you can upload to fix the spelling?
musicfreak12399
07-25-2002, 03:02 PM
been waiting for the english version. GREAT HACK.. /me clicks install
musicfreak12399
07-25-2002, 03:40 PM
ok. i have a problem. not sure what i did.. http://rapauthority.dnsip.net:8082/newstatistik.php where top 10 posters and that are supposed to be its all messed up. could someone help?
wolfe
07-26-2002, 02:24 AM
well m8 i got a few quetion b4 i install it
first off is there any way of it showing the totle online today in the colours you have on the index and where it says
Most users ever online:
can you add this
Most users ever online in one day:
which uses your old hack
Afterburner
07-26-2002, 07:38 AM
Originally posted by kenny@ecn
Any possibility fixign the hack with out completely re-installing it? Is there just one document you can upload to fix the spelling?
Hi kenny
you don't need to re-installing, you have only to replace the newstatistik.php file, thats all. (don't forget to make the settings again in this file if you changes anithing of this settings)
If you dont want to use the new version you can replace "Clodes Threads" with "Closed Threads" in the newstatistik.php file
Afterburner
07-26-2002, 07:41 AM
Originally posted by musicfreak12399
ok. i have a problem. not sure what i did.. http://rapauthority.dnsip.net:8082/newstatistik.php where top 10 posters and that are supposed to be its all messed up. could someone help?
did you use a HTML check programm to check the template code ? don't use such kind of programm !!!!!!
try to replace the stat template with the template you will find in the stat.txt in the template folder of my hack
Afterburner
07-26-2002, 07:43 AM
Originally posted by wolfe
well m8 i got a few quetion b4 i install it
first off is there any way of it showing the totle online today in the colours you have on the index and where it says
Most users ever online:
can you add this
Most users ever online in one day:
which uses your old hack
sorry wolfe this is my first statistic hack, vbstats was made by someone other
slamdog
07-26-2002, 08:41 AM
Before i try this out...
will the top ten threads section ignore any made in a private forum?
I have a few invisible forums that I wouldn't want displayed as some of the thread titles may upset non members/guests.
Afterburner
07-26-2002, 09:24 AM
Originally posted by slamdog
Before i try this out...
will the top ten threads section ignore any made in a private forum?
I have a few invisible forums that I wouldn't want displayed as some of the thread titles may upset non members/guests.
you can hide some forums:
disable board of your choise for implementation in the Top10 (Posts/Views)
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.
slamdog
07-26-2002, 10:26 AM
Thank you for the speedy reply.
Will setup a test board later and try it all out. It certainly is very impressive. Top Marks Afterburner!
musicfreak12399
07-26-2002, 02:52 PM
Originally posted by Afterburner
did you use a HTML check programm to check the template code ? don't use such kind of programm !!!!!!
try to replace the stat template with the template you will find in the stat.txt in the template folder of my hack
here is the stat file i am using. It is the one straight out of the zip
<html>
<head>
<title>$bbtitle - Statistic</title>
$headinclude
</head>
<body>
$header
<table cellpadding=0 cellspacing=0 border=0 width="95%">
<tr>
<td><font size=2><b><a href="index.php?s=$session[sessionhash]" class="link">$bbtitle</a> ? Statistic</b></font></td>
</tr>
</table>
<br>
<table cellpadding=4 cellspacing=1 border=0 width="95%" bgcolor="#0A293E">
<tr bgcolor="#1D6AA0" id="tabletitle">
<td><smallfont color="#EEEEFF"><b>Date</b></font></td>
<td><smallfont color="#EEEEFF"><b>New Threads</b></font></td>
<td><smallfont color="#EEEEFF"><b>New Posts</b></font></td>
<td><smallfont color="#EEEEFF"><b>Private Messages</b></font></td>
<td><smallfont color="#EEEEFF"><b>Max. Online-User</b></font></td>
<td><smallfont color="#EEEEFF"><b>Active User</b></font></td>
<td><smallfont color="#EEEEFF"><b>New Users</b></font></td>
</tr>
$stat_daybit
<tr bgcolor="#1D6AA0" id="tabletitle">
<td colspan=7 align=right><smallfont color="#EEEEFF">(Pages: $pagejump )</font></td>
</tr>
</table>
<br>
<!-- Copyright of this Hack by Maarc 1230123@mail.ru and Afterburner webmaster@the-afterburner.de -->
<table width="95%">
<tr>
<td width="75%" valign="top">
<table width="100%">
<tr valign=top>
<td>
<table cellpadding=4 cellspacing=1 border=0 width="100%" bgcolor="#0A293E">
<tr bgcolor="#1D6AA0" id="tabletitle">
<td nowrap align="left"><smallfont color="#EEEEFF"><b>Server-Statistic</b></font></td>
</tr>
<tr bgcolor="#13486D" id="tablea">
<td><smallfont>$bbtitle server is a:</font></td>
</tr>
<tr bgcolor="#1C5780" id="tableb">
<td><smallfont>$serverinfo</font></td>
</tr>
<tr bgcolor="#1D6AA0" id="tabletitle">
<td nowrap align="left"><smallfont><b> </b></font></td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table width="100%">
<tr valign=top>
<td>
<table cellpadding=4 cellspacing=1 border=0 width="100%" bgcolor="#0A293E">
<tr bgcolor="#1D6AA0" id="tabletitle">
<td nowrap align="left"><smallfont color="#EEEEFF"><b>Today on board:</b></font></td>
</tr>
<tr bgcolor="#13486D" id="tableb">
<td><smallfont>$heuteonline</font></td>
</tr>
<tr bgcolor="#1D6AA0" id="tabletitle">
<td nowrap align="left"><smallfont> </font></td>
</tr>
</table>
</td>
</tr>
</table>
<br>
$otherstats
</td>
<td valign="top" width="25%">
<!-- Tabellen rechts -->
<table cellpadding=4 cellspacing=1 border=0 width="100%" bgcolor="#0A293E">
<tr bgcolor="#1D6AA0" id="tabletitle">
<td align="left" colspan=2 ><smallfont color="#EEEEFF"><b>Statistic</b></font></td>
</tr>
$aktiveuserbl
$aktiveuserprol
$nullposterl
$registersbl
$newestuserbl
$rekordbl
$rekorddatebl
$rekordtimebl
</table>
<br>
<table cellpadding=4 cellspacing=1 border=0 width="100%" bgcolor="#0A293E">
<tr bgcolor="#1D6AA0" id="tabletitle">
<td align="left" colspan=2 ><smallfont color="#EEEEFF"><b>Member-Statistic</b></font></td>
</tr>
$useronlinebl
$userbl
$guestsbl
$ghostbl
</table>
<br>
<table cellpadding=4 cellspacing=1 border=0 width="100%" bgcolor="#0A293E">
<tr bgcolor="#1D6AA0" id="tabletitle">
<td align="left" colspan=2 ><smallfont color="#EEEEFF"><b>Crew-Statistic</b></font></td>
</tr>
$modsgesamt
$smodgesamt
$adminsgesamt
</table>
<br>
<table cellpadding=4 cellspacing=1 border=0 width="100%" bgcolor="#0A293E">
<tr bgcolor="#1D6AA0" id="tabletitle">
<td align="left" colspan=2 ><smallfont color="#EEEEFF"><b>Board-Statistic</b></font></td>
</tr>
$kategoriebl
$forenbl
$groupsbl
$rankbl
$attachmentsbl
$pollsbl
$suchebl
</table>
<br>
<table cellpadding=4 cellspacing=1 border=0 width="100%" bgcolor="#0A293E">
<tr bgcolor="#1D6AA0" id="tabletitle">
<td align="left" colspan=2 ><smallfont color="#EEEEFF"><b>Posting-Statistic</b></font></td>
</tr>
$anzahlpostsbl
$anzahlthreadsbl
$allpostsbl
$allthreadsbl
$getopptbl
$closebl
$movedl
$postviewsl
$anzahlthreadsb0l
</table>
<br>
<table cellpadding=4 cellspacing=1 border=0 width="100%" bgcolor="#0A293E">
<tr bgcolor="#1D6AA0" id="tabletitle">
<td align="left" colspan=2 ><smallfont color="#EEEEFF"><b>Private Messages</b></font></td>
</tr>
$gesamtpml
$allpmsl
$gesamtpmungelesenl
$gesamtpmgelesenl
$gesamtpmgelesen2l
</table>
<br>
<table cellpadding=4 cellspacing=1 border=0 width="100%" bgcolor="#0A293E">
<tr bgcolor="#1D6AA0" id="tabletitle">
<td align="left" colspan=2 ><smallfont color="#EEEEFF"><b>Average-Statistic</b></font></td>
</tr>
$postsprouser
$threadsprouser
</table>
<br>
<table cellpadding=4 cellspacing=1 border=0 width="100%" bgcolor="#0A293E">
<tr bgcolor="#1D6AA0" id="tabletitle">
<td align="left" colspan=2 ><smallfont color="#EEEEFF"><b>Picture-Statistic</b></font></td>
</tr>
$smiliesgesamt
$avatarsgesamt
$avatarsgesamt1
$stylebl
</table>
<br>
<table cellpadding=4 cellspacing=1 border=0 width="100%" bgcolor="#0A293E">
<tr bgcolor="#1D6AA0" id="tabletitle">
<td align="left" colspan=2 ><smallfont color="#EEEEFF"><b>Database-Statistic</b></font></td>
</tr>
$mysqlverbl
$mysqlmembl
</table>
$top10referals
$suchwoerter1
</td>
</tr>
</table>
<!-- dont remove the Copyright -->
<center><font size="2">© 2002 hack written by <a href="mailto:webmaster@the-afterburner.de">Afterburner</a><br>based on an idea by <a href="mailto:1230123@mail.ru">Maarc</a><br>Version: $hackversion</font></center>
<table width="100%">
<tr>
<td align="center">$forumjump</td>
</tr>
</table>
$footer
</body>
</html>
Afterburner
07-26-2002, 03:06 PM
this code seems OK, please try to replace ALL templates with the code in the files, thats my only hint. a german webmaster had a similar problem and his problem was the usage of a html optimizer.
musicfreak12399
07-27-2002, 03:51 AM
i added all the code from the txt files.. i highlighted them, copied and pasted and it still looks like that? im not sure what more to do.. could it be something in a file i had to edit? a php file?
Massiel
07-27-2002, 04:38 AM
Can this hack also be installed if I already have the statistics hack by Bane?
Afterburner
07-27-2002, 06:13 AM
Originally posted by musicfreak12399
i added all the code from the txt files.. i highlighted them, copied and pasted and it still looks like that? im not sure what more to do.. could it be something in a file i had to edit? a php file?
I cant believe it that it doesnt work, nobody other has this problem
Try to download the hack again and replace all templates and the newstatistik.php file
My Question to you:
How do you insert the template Code ?
Do you check the template code with a programm first ? If yes dont do this.
@ Massiel
I dont know this hack but if this hack use the same termplate names it is NOT possible, if his hack use other template names you can use my hack
musicfreak12399
07-27-2002, 07:57 AM
Originally posted by Afterburner
I cant believe it that it doesnt work, nobody other has this problem
Try to download the hack again and replace all templates and the newstatistik.php file
My Question to you:
How do you insert the template Code ?
Do you check the template code with a programm first ? If yes dont do this.
I use notepad, open the text file, click EDIT and SELECT ALL then COPY, goto the Admin CP, make the template, and right mouse click and click paste. I never have a problem doing it like that. I will download the file and re-do the templates and file later tonite. I will let you know.
Massiel
07-27-2002, 09:17 AM
Could you take a look? I am new at this and I am lost but I love your hack!!! Here is the link to Bane's hack...
https://vborg.vbsupport.ru/showthread.php?s=&threadid=30751&highlight=stats+hack
Massiel
07-27-2002, 11:09 AM
I went ahead and installed it, all works great! Great hack, I love it!
musicfreak12399
07-28-2002, 02:53 PM
nothing afterburner.. i dont know what the hell is up.
X-Fan
07-28-2002, 03:30 PM
Would it be possible for someone to create a merger of this stats hack and Bane's vBStats hack, please?
It would be very handy for those of us that already have vBStats installed, but want to take advantage of the features this hack offers as well!
musicfreak12399
07-28-2002, 03:31 PM
im sure its possable.. You would have to ask Afterburner it would be ok, I think i could do it too. Afterburner, would u let me combine banes and ur hack to make one
eXtremeTim
07-28-2002, 03:55 PM
Another idea top 10 smilies used.
Afterburner
07-28-2002, 04:49 PM
@ musicfreak12399
I am sorry for your problem and that I am not able to help you
@ eXtremeTim
no good idea with this smilie count, cant say it in english but it isnt good for the database.
@ X-Fan
I dont like this idea at the moment, it will be to difficult to support it and to difficult to add new features in this combined hack
but I am still working on my hack to add more features.
eXtremeTim
07-28-2002, 05:21 PM
I was sure it wasn't but i know i saw some version on a vb that had done this and had done it some way so it wasn't heavy on the db.
Afterburner
07-28-2002, 05:34 PM
I think this boards made a new filed in the smilie table and counts the smilies while the posting will be insert in the database but than the stats are not correct because the counter counts from inserting the hack and not from begin, if you find such kind of board please ask the admin for your modification
alqafelah
07-28-2002, 07:54 PM
very nice :)
have any way to exclude some users from Top 10 Posters,Top 10 Posters of the last 30 Days,Top 10 Posters of the last 24 hours, Top 10 viewed Threads,and Top 10 replied Threads ?
because some users in my forum have a lot posts like : following football matchs ! so i dont want include in Statistics !
i hope your understand me and sory for my bad english !
thx again .
eXtremeTim
07-28-2002, 08:56 PM
I know it wouldn't be acurate.
grog6
07-28-2002, 10:00 PM
Thx a lot for it, a lot of information, i take it and will traduce it (in french ;) )
X-Fan
07-29-2002, 01:57 AM
Originally posted by Afterburner
@ X-Fan
I dont like this idea at the moment, it will be to difficult to support it and to difficult to add new features in this combined hack
but I am still working on my hack to add more features.
This isn't about adding still more features, AB. This is about those people that already have Bane's vBStats hack installed, and have had it installed for quite a while. I'm sure I can speak for the rest of them when I say I don't want two different stats programs, and I certainly don't want to go through the hassle of uninstalling vBStats.
Tim Wheatley
07-30-2002, 10:46 PM
Just have to say - this is absolutely fantastic. I have a busy board so check it out: http://forum.racesimcentral.com/stats.php
Silver6
07-31-2002, 02:57 PM
hey u got a problem here, everytime i check my stats it shows double of everyone, eachname shows up twice! is there a way to fix it ?
musicfreak12399
07-31-2002, 09:24 PM
Afterburner, I used Fireflys Template Backup system to import the templates. and everything works great now. dunno what was wrong. ne ways here is the link http://rapauthority.dnsip.net:8082/newstatistik.php
GREAT HACK, sorry bout the confusion. still dont know what was wrong
Tim Wheatley
07-31-2002, 10:39 PM
Is there a way to add 'most popular forum' to those stats?
Tim Wheatley
08-02-2002, 10:38 PM
Do I have a problem? It's saying 'no record' for the forum stuff at the top... :(
Afterburner
08-04-2002, 08:53 AM
@ musicfreak12399
I am happy that all is OK
@ Tim Wheatley
What shall this be 'most popular forum' ?
to no record:
please check for this tables in your mysql database:
afterburner_stat
afterburner_sessions_day
and for correct inserting the code in the global.php
Renegade
08-04-2002, 11:08 AM
In version 2.2.6 I cannot find
// figure out the chosen style settings
Is there an update to this hack?
Afterburner
08-04-2002, 11:11 AM
Originally posted by Renegade
In version 2.2.6 I cannot find
Is there an update to this hack?
it mu?t be there (remember, global.php in the vb folder NOT admin folder)
The Realist
08-04-2002, 11:21 AM
I run the install file from admin and I get this error:
Database error in vBulletin Control Panel 2.2.6:
Invalid SQL: CREATE TABLE afterburner_stat ( time int(20) NOT NULL default '0', memberson int(11) NOT NULL default '0', newthreads int(11) NOT NULL default '0', newposts int(11) NOT NULL default '0', maxuserontime int(20) NOT NULL default '0', maxuseron int(11) NOT NULL default '0', newpms int(11) NOT NULL default '0', newregs int(11) NOT NULL default '0')
mysql error: Table 'afterburner_stat' already exists
Any ideas?
Brian
Afterburner
08-04-2002, 11:28 AM
thats normal, you have already run the install before, so the tables are already created in the database
whats about the code in the glogal.php ?
Tim Wheatley
08-04-2002, 01:07 PM
Originally posted by Afterburner
@ Tim Wheatley
What shall this be 'most popular forum' ?
to no record:
please check for this tables in your mysql database:
afterburner_stat
afterburner_sessions_day
and for correct inserting the code in the global.php
Well I'd like to have the 'most popular forum' as the one with the most posts, that possible? :)
I checked the: afterburner_stat/sessions_day and they do exist but they're empty. I assume that means I missed something from the global.php hacking? I'll go over that now and check - thank you.
Tim Wheatley
08-04-2002, 01:41 PM
IT'S ALIVE! ;)
Thanks Afterburner. :banana:
I don't know how I managed to miss part of the editing!! :confused: I'm going to check the whole hack though to make sure - thanks for your help. It was so simple an error but I really thought I'd done it - must have forgot to upload?! :D
Afterburner
08-04-2002, 03:34 PM
ok, have fun with the hack
btw, many users in the today list
Tim Wheatley
08-04-2002, 06:08 PM
Yeah it's a massively busy forum. :) We've just started getting paid too by our hosts for the number of page views. HAHAHAHAHHAHAHAH! <--- evil laugh...
hypedave
08-05-2002, 09:01 PM
when a user goes to check their private messages they get the following error
Fatal error: Call to a member function on a non-object in C:\WebSites\cesirae\private.php on line 14
Line14 looks like this
$res1 = $DB_site->query("UPDATE afterburner_stat SET newpms = newpms+1 WHERE time = '$time_today'");
im sure its a simple fix can anybody help
Tim Wheatley
08-05-2002, 09:45 PM
I appear to have a problem? It's split today's stats in three! :(
http://www.racesimcentral.com/images/stats.gif
Tim Wheatley
08-05-2002, 10:59 PM
I think the picture shows what's happened, here's another one to prove it didn't dissapear into Tuesday.
What I'm going to do is have a look in the database and manually correct the stats. (I assume that the lower two just require deleting and are not 'real' stats which should be added to the top one).
Here's the shot:
http://www.racesimcentral.com/images/stats2.gif
Here was the table entries (by the time I got there - stats for Tuesday changed of course):
time memberson newthreads newposts maxuserontime maxuseron newpms newregs
1028412000 1048 46 433 1028484532 258 16 17
1028498400 1691 85 1031 1028573074 212 33 30
1028498400 153 24 203 1028573074 212 4 5
1028498400 153 24 203 1028573074 212 4 5
1028584800 392 6 95 1028585062 165 0 2
I just deleted these:
1028498400 153 24 203 1028573074 212 4 5
1028498400 153 24 203 1028573074 212 4 5
So the stats now show correctly.
Just wondering... could this be because I haven't got a full 7 days yet?
okay, the hack works great, and my members LOVE it (as do i) but when is it ever going to bust into multipages? I mean, check it out, its getting a little long dont ya think..
Renegade
08-07-2002, 10:42 PM
Thanks Afterburner! I must of been stoned earlier....
Afterburner
08-08-2002, 09:26 AM
@ hypedave
please recheck the code in the 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
@ Tim Wheatley
dont know the reson, maybe your provider changes the timesettings at this time, does it work correctly now ?
@ snyx
15 days will shown before splitting o multible
I love this hack but I have one problem, the last 4 days, my new users count has remained at 0 when we have usually 25-30 new members. How can I fix this?
It worked fine the first 3 days.
Odil
Afterburner
08-29-2002, 08:42 AM
thats no problem of the hack, you have to enable the post count in each forum
Originally posted by Afterburner
thats no problem of the hack, you have to enable the post count in each forum
I'm sorry I worded that wrong. I mean the new users per day count has stopped counting. We have about 25-30 new members daily and it shows 0 new members everyday, It stopped working after a few days.
Odil
Afterburner
08-29-2002, 07:49 PM
please check the code in the register.php if you upgraded to vB 2.2.7 or an other version
How many days does the top part list before it changes to a new page? So far I am at the end of the second week and it's all on one page.
Odil
RayMatrix
09-25-2002, 11:04 AM
One thing i also added is:
in USER.PHP find:
$DB_site->query("INSERT INTO userfield $userfieldsnames VALUES ($userid$userfields)");
below add 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
I know I'm a Newby but at my Board, the Admins are the only persons wich can add new Members, so the Statisticcounter had no effect.
But i think it can be usefull for all other Boardadmins too ;)
Dark Shogun
09-26-2002, 02:02 AM
I am also having a problem like wheatley has with it showing the same day more then once. http://www.thatfinalfantasysite.com/testvb/newstatistik.php
Dark Shogun
Dark Shogun
09-29-2002, 04:25 AM
I am still having this problem. Can someone help me with this?
Dark Shogun
Afterburner
09-29-2002, 06:06 AM
this happens by some users, just delete the first entry in afterburners_stats in your mysql database, I mean the entry with 18 max online users
Dark Shogun
09-29-2002, 04:43 PM
Thanks. Is that a permanent fix?
Dark Shogun
ryanhulce
10-01-2002, 06:49 AM
Question for you!
I loaded this on 2 of my sites!
Works great on the one with 1 Theme but the other site has mulitple themes and it seems to work only under one theme.
I added the templates to the Default Theme and then tried adding theme to the other themes but it only show a blank page.
If I have them added only to one theme it works great.
Any Ideas?
Ryan
Dark Shogun
10-03-2002, 04:36 AM
I did what you told me to do and it got rid of the second stat for that day but it still does the same thing with the reset of the days. Is there a permanent fix?
Dark Shogun
Hi,
i have some little problems hope you can help me please! :)
1.
In Crew-Statistics are:
0 Mod
0 super Mods
3 Admins
but i have many Mods an super Mods why is there a 0?
2.
Registered since start: 2145 <- is too much
3.
Polls: 106 <- that were all polls, but i delete many and now there about 12!
4. Max. Online-User: is the most time too high.
and Most users ever online was a mistake how can i reset it? :confused:
many thanks for help!!! :)
PiotrasG
10-03-2002, 10:27 PM
nice job nice hack i'm using it at http://PolskieForum.com
digitalJE5U5
10-04-2002, 04:32 AM
Anyone tell me how to fix this?
Everything else works fine, but I get top 10 posters in the last 10 days twice in a row.
Thanks alot,
/DJ :ermm:
FIXED
digitalJE5U5
10-07-2002, 08:25 PM
Can anyone tell me why my statistics page shows 0 for new members. I've had about 50 new members since I installed this hack, but it shows 0 for everyday.
digitalJE5U5
10-08-2002, 07:54 PM
(bump)
Tony DiMera
10-09-2002, 12:54 AM
Is there anyway to have the statistics appear on the forums mainpage and maybe even possibly my home page?
Hasimir
10-09-2002, 08:27 AM
I get this error message
Warning: Failed opening '/usr/local/httpd/htdocs/vbulletin227/newstatistik.php' for inclusion (include_path='.:/usr/share/php') in Unknown on line 0
Seam to me like the include_path is wrong ( '.:/usr/share....). That ":" shouldn't be there, should it? But the file looks allright....
<?php
error_reporting(7);
$templatesused='stat,stats_head,stats_head1,stats_ head2,stats_table_threads,stats_table_threads1,sta t_daybit';
require('./global.php');
my other php's like "index.php" do look the same... strange.....
Any help?
\ \ - Speedy - / /
10-19-2002, 02:01 PM
I heard from someone that this is an addon for this hack, well I just read this whole theard and couldnt find it, so can someone help me?
\\ - Speedy - //
EDIT: Might help with image ;)
Sc0rp
10-19-2002, 02:45 PM
VERY nice! installing this baby right away :)
Afterburner
10-20-2002, 04:49 PM
Originally posted by \ \ - Speedy - / /
I heard from someone that this is an addon for this hack, well I just read this whole theard and couldnt find it, so can someone help me?
\\ - Speedy - //
EDIT: Might help with image ;)
no, my hack is a seperate hack
Okiewan
10-23-2002, 07:54 PM
Great hack, works well! Thanks.
Question: How is Max-Online User created? I assume this includes guests? Or no?
The difference between that and "Most users ever online:" ?
alain4ever
10-26-2002, 09:41 AM
thank you>>>
nice hack..... i install it in arabic
http://www.alain4ever.com/vb/newstatistik.php
;)
CeleronXL
10-26-2002, 06:07 PM
Hmm.... My top section has been showing -no records- for a few days now. Both afterburner_* tables are empty. Why are they empty? Which script adds the info to it?
Afterburner
10-28-2002, 03:18 AM
the code in the global.php make this entries
If you make a update dont forget to insert the code again
CeleronXL
10-28-2002, 11:31 PM
Hmmm.... That's weird, I never even saw that modification and I went over the direction multiple times.... Thanks, but uh... Is it normal to show two records for the same day at first?
EDIT: Nevermind, I emptied the the tables and loaded it again and everything's going fine now. :)
Tony DiMera
10-29-2002, 07:38 PM
Originally posted by Tony DiMera
Is there anyway to have the statistics appear on the forums mainpage and maybe even possibly my home page?
*bump*
Afterburner
10-30-2002, 03:19 PM
Originally posted by Tony DiMera
*bump*
not with the "orginal" hack
Afterburner
10-30-2002, 03:19 PM
Originally posted by Tony DiMera
*bump*
not with the "orginal" hack
Dynamic One
11-01-2002, 07:02 PM
Thanks for this very cool stats :D.
\ \ - Speedy - / /
11-01-2002, 07:21 PM
Originally posted by Afterburner
no, my hack is a seperate hack
well what is the link to your hack? cuz I realy want to install that main thing on my forumhome . . ?
The Legend of SPeedy
Afterburner
11-01-2002, 07:53 PM
Originally posted by \ \ - Speedy - / /
well what is the link to your hack? cuz I realy want to install that main thing on my forumhome . . ?
The Legend of SPeedy
look in the first post of this thread
\ \ - Speedy - / /
11-01-2002, 08:01 PM
no no no no i got "this" hack installed, but if you go look back at my post with the image in it, i want THAT on my forumhome, it has's that litlte Mni Stat Menu thingy, I knew that this was your hack lol, but someone told me, THAT picture was an addon for this hack, but I cant find it.
esawdust
11-13-2002, 03:35 AM
Great Hack!
Everything installed easily and seems to be working properly although I have these warnings at the top of the main vbstats page
Warning: Division by zero in /home/deckcare/public_html/forums/vbstats.php on line 159
Warning: Division by zero in /home/deckcare/public_html/forums/vbstats.php on line 165
Warning: Division by zero in /home/deckcare/public_html/forums/vbstats.php on line 162
Warning: Division by zero in /home/deckcare/public_html/forums/vbstats.php on line 186
Warning: Division by zero in /home/deckcare/public_html/forums/vbstats.php on line 148
Warning: Division by zero in /home/deckcare/public_html/forums/vbstats.php on line 139
Warning: Division by zero in /home/deckcare/public_html/forums/vbstats.php on line 145
Warning: Division by zero in /home/deckcare/public_html/forums/vbstats.php on line 142
Warning: Division by zero in /home/deckcare/public_html/forums/vbstats.php on line 136
Warning: Division by zero in /home/deckcare/public_html/forums/vbstats.php on line 151
Warning: Division by zero in /home/deckcare/public_html/forums/vbstats.php on line 154
ForYou
11-16-2002, 03:13 PM
Warning: Supplied argument is not a valid MySQL result resource in /home/virtual/dardasha/home/httpd/html/montada/admin/db_mysql.php on line 154
Please help for this error ..
regards
http://www.dardasha.net/montada/newstatistik.php
Smitty
11-18-2002, 12:13 AM
Quick and Easy install. Thanks!
http://Elsmar.com/Forums/
The General
12-10-2002, 11:17 PM
I've been using this hack for about 3 months now, and I'm very happy with it.
But there are a few bugs though, at my board at least.
1. When I check the history - there's 8 pages now - I noticed that there isn't the same amount of entries on each page. Some have 17 entries, some only 3 and another one about 30. That seems to be a bit odd.
2. One some of the pages I get the same dates:
page 8: 25/8/02 - 27/8/02
page 7: 25/8/02 - 11/9/02
page 6: 25/8/02 - 26/9/02
page 5: 25/8/02 - 11/10/02
page 4: 28/8/02 - 26/10/02
page 3: 27/9/02 - 10/11/02
page 2: 27/10/02 - 25/11/02
page 1: 26/11/02 - 11/12/02
A bit odd, don't you think? =]
So, is this because I made some mistake or is it in the code?
...just wondering...
Bison
12-11-2002, 12:36 AM
You actually installed this?
Whoa man, this hack is a DB killer to say the least!
memdy
12-15-2002, 01:54 AM
What's the difference between 'Max. Online-Users' and 'Most users ever online'?
Is there a description anywhere of what all the stats really mean ?
Yeah, I just noticed the same thing on mine.
Odil
Originally posted by The General
I've been using this hack for about 3 months now, and I'm very happy with it.
But there are a few bugs though, at my board at least.
1. When I check the history - there's 8 pages now - I noticed that there isn't the same amount of entries on each page. Some have 17 entries, some only 3 and another one about 30. That seems to be a bit odd.
2. One some of the pages I get the same dates:
page 8: 25/8/02 - 27/8/02
page 7: 25/8/02 - 11/9/02
page 6: 25/8/02 - 26/9/02
page 5: 25/8/02 - 11/10/02
page 4: 28/8/02 - 26/10/02
page 3: 27/9/02 - 10/11/02
page 2: 27/10/02 - 25/11/02
page 1: 26/11/02 - 11/12/02
A bit odd, don't you think? =]
So, is this because I made some mistake or is it in the code?
...just wondering...
The General
12-23-2002, 10:30 PM
Phew...I was already doubting myself...luckily I'm not the only one with that problem. =]
SHoeSTeR
01-23-2003, 06:57 PM
<a href="http://forums.gosuleet.com/newstatistik.php" target="_blank">http://forums.gosuleet.com/newstatistik.php</a>
why is this messing up? ;/
anyone know how to get montly stats on page views ??/
thanks :)
kenny@ecn
02-26-2003, 12:49 AM
:(, it decided to stop working on me about a week ago, check out http://www.exoticcarforums.com/newstatistik.php, know what to do?
Kamui Shirou
02-26-2003, 12:20 PM
Hi folks. Hope you can help me by solving this problem.
If a user posts in a thread he gets 1 forward to his post counter. But if he posts in a second time no reaction. The Counter remains the number of posts it had reight before.
If you go to another thread, in which you've not posted before its the same thing. the post counter only counts 1 post for each thread.
It seems that this change
newreply.php
before
indexpost($postid,0);
add
// 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
doesn?t work anylonger with v2.30
Doubledoom
03-18-2003, 10:36 AM
Installed on my 2.3.0 and appears to be working ok so far.
Mathiau
04-03-2003, 07:28 AM
i think i have some weird fetish with stats! can never get enough!
PsyBlast
11-24-2003, 06:36 PM
i think i have some weird fetish with stats! can never get enough!
yeah me too, can never have too many stats.
BTW I love this hack, works perfect on 2.3.3
neocorteqz
01-05-2004, 08:51 AM
Think there will be an update for vB 3?
GlitterKill
01-27-2004, 01:53 PM
I hope he updates this for VB3. I used to love this hack on my VB2 board. Great source of info.
The General
04-12-2004, 11:58 AM
ditto
tritto =]
bump! I would love this hack for my vb3.. however I fear afterburner has dropped off the vb.org planet.. :ermm:
ze_roberto
12-31-2005, 12:16 PM
Hello, hello.
I'm porting this hack to vb 3.5.2, by modifying it in a few ways...
I consider it very inefficient (lots of queries), but I loved it at the time and therefore, in a nostalgic attempt, I'm porting it by adding a few features.
Reason for porting these stats (which are clearly inferior to PC Freak's great vbstatistics hack) is that PC does not want to tell us when he expects to release the 3.5 version of his stats since several months. Afterburner's stats might be "cuter", though :)
The thing is, I'm not good at packaging the whole stuff into the now state-of-the art vb 3.5 product / plugin format, so I would need help on this. Anyone interested?
cheers, ze
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.