![]() |
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 |
I appear to have a problem? It's split today's stats in three! :(
http://www.racesimcentral.com/images/stats.gif |
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..
|
Thanks Afterburner! I must of been stoned earlier....
|
@ hypedave
please recheck the code in the private.php above: PHP Code:
PHP Code:
@ 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 |
thats no problem of the hack, you have to enable the post count in each forum
|
Quote:
Odil |
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 |
One thing i also added is:
in USER.PHP find: PHP Code:
PHP Code:
But i think it can be usefull for all other Boardadmins too ;) |
I am also having a problem like wheatley has with it showing the same day more then once. http://www.thatfinalfantasysite.com/...wstatistik.php
Dark Shogun |
I am still having this problem. Can someone help me with this?
Dark Shogun |
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
|
Thanks. Is that a permanent fix?
Dark Shogun |
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 |
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!!! :) |
nice job nice hack i'm using it at http://PolskieForum.com
|
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: PHP Code:
|
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.
|
(bump)
|
Is there anyway to have the statistics appear on the forums mainpage and maybe even possibly my home page?
|
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 Code:
Any help? |
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 ;) |
VERY nice! installing this baby right away :)
|
Quote:
|
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:" ? |
|
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?
|
the code in the global.php make this entries
If you make a update dont forget to insert the code again |
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. :) |
Quote:
|
Quote:
|
Quote:
|
Thanks for this very cool stats :D.
|
Quote:
well what is the link to your hack? cuz I realy want to install that main thing on my forumhome . . ? The Legend of SPeedy |
Quote:
|
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.
|
All times are GMT. The time now is 04:19 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|