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)
-   -   vbStats (https://vborg.vbsupport.ru/showthread.php?t=30751)

LuBi 11-13-2001 08:56 PM

Well I got rid of one problem, thanks... but still have this.

Warning: Division by zero in /www/htdocs/forums/vbstats.php on line 159

Warning: Division by zero in /www/htdocs/forums/vbstats.php on line 165

Warning: Division by zero in /www/htdocs/forums/vbstats.php on line 162

Warning: Division by zero in /www/htdocs/forums/vbstats.php on line 186

Warning: Division by zero in /www/htdocs/forums/vbstats.php on line 148

Warning: Division by zero in /www/htdocs/forums/vbstats.php on line 139

Warning: Division by zero in /www/htdocs/forums/vbstats.php on line 145

Warning: Division by zero in /www/htdocs/forums/vbstats.php on line 142

Warning: Division by zero in /www/htdocs/forums/vbstats.php on line 136

Warning: Division by zero in /www/htdocs/forums/vbstats.php on line 151

Warning: Division by zero in /www/htdocs/forums/vbstats.php on line 154

Any help would be great..

Bane 11-13-2001 10:13 PM

LuBi make sure that you add

include("vbs_counter.php");

to the php include template. That error springs from having no entries in the database.

DarkReaper I have been slacking a little due to some personal issues that are being dealt with atm. This is still on my to do list, it just had to be moved back a bit to make way for some paying projects as the fundage was running awful low. As soon as Im caught up there will be a new release, I havent given up on vbStats.

LuBi 11-13-2001 10:18 PM

Quote:

Originally posted by Bane
LuBi make sure that you add

include("vbs_counter.php");

to the php include template. That error springs from having no entries in the database.

DarkReaper I have been slacking a little due to some personal issues that are being dealt with atm. This is still on my to do list, it just had to be moved back a bit to make way for some paying projects as the fundage was running awful low. As soon as Im caught up there will be a new release, I havent given up on vbStats.

Great as usual! thanks, I forgot the "include" from the line... works great now

Steve Machol 11-15-2001 01:00 AM

Something strange happened. All my vbstat templates are gone. I haven't made any changes yet when I checked them today they were gone from all my style sets?

What could have caused this? And more importantly, how do I get them back? I'm hesitant to tun the installation again because I don't want duplicate tables in my database.

Bane 11-15-2001 01:57 AM

Not sure what would set them missing (unless you reuploaded the vb default style) but to get them back run the install again and select [UPGRADE]

Steve Machol 11-15-2001 02:07 AM

No - no changes to the styles. The only thing I changed was a bug-fix test of template.php. However reinstalling the original template.php did not bring them back.

Steve Machol 11-15-2001 02:09 AM

Thanks - the 'upgrade' worked! :)

JTMON 11-15-2001 03:07 AM

Great Hack!!!

Just installed using only the code in the zipfile using 2.2.0. The only time I ran into slight problems was with the code to replace for admin/index.php. I just threw it inbetween the Forum Home and Forum Options and all seems to work great.

One question. Where/how would I edit the footer to include the stats on the main index?

Thanks for a great hack!!

FWC 11-15-2001 03:36 AM

Quote:

Originally posted by JTMON
One question. Where/how would I edit the footer to include the stats on the main index?
You could just put something like:

<a href="vbstats.php?s=$session[sessionhash]"><smallfont>Statistics</smallfont></a>

anywhere you want in your footer template. You can add any enhancements like making it bold.

jselwyn 11-15-2001 09:34 AM

As I said before the hack is great - just some questions on it:
1) Excuse my ignorance but what does Activity Level represent?
2) On forum stats I have over 300 views this week and going up all the time but on views in last 24 hours it shows 0 even though total views continues to increase - is this something different?
3) Is it possible to insert some code to find out how many different people viewed the site over a set period of time (even better who viewed the site)?
cheers


All times are GMT. The time now is 03:12 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.03110 seconds
  • Memory Usage 1,742KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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