vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   NewStatistikHack 1.2.1e [English] (https://vborg.vbsupport.ru/showthread.php?t=41421)

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?

snyx 08-07-2002 08:47 PM

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:
PHP Code:

  // enhanced
  
if ($prevmessageid) { 

insert this code:

PHP 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

Odil 08-29-2002 08:33 AM

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

Odil 08-29-2002 10:40 AM

Quote:

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

Odil 09-24-2002 06:46 PM

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:

PHP Code:

$DB_site->query("INSERT INTO userfield $userfieldsnames VALUES ($userid$userfields)"); 

below add this Code:

PHP 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/...wstatistik.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

Exo 10-03-2002 08:04 PM

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:


PHP Code:

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

<?php
error_reporting
(7);

$templatesused='stat,stats_head,stats_head1,stats_head2,stats_table_threads,stats_table_threads1,stat_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

Quote:

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

Quote:

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

Quote:

Originally posted by Tony DiMera


*bump*

not with the "orginal" hack

Afterburner 10-30-2002 03:19 PM

Quote:

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

Quote:

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

Quote:

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.


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
  • Page Generation 0.01720 seconds
  • Memory Usage 1,827KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete