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)

SWFans.net 11-02-2001 02:16 PM

I have included these variables on the Forum Index, but they display null.

$threadstoday
$poststoday
$todayviews

EDIT: With a little relocation of intialization sections to global.php, I was able to get two out of the three variables working. $todayviews is giving me a little trouble though, but is no sweat.

orca 11-02-2001 02:49 PM

Quote:

Originally posted by |DarkManX|
what are the correct changes that need to be made in admin/index.php


all my links are dead except for the exclude URL......the vbstats options don't work, and the view stats link doesn't work either...


thanks

Find
PHP Code:

makenavselect("Import & Maintenance"); 

After that add:
PHP Code:

// ***
makenavoption("vBStats Config","vbstats_set.php?action=","<br>");
makenavoption("Exclude vbStats URL","vbstats_set.php?action=add");
makenavselect("vbStats");
// *** 

I didn't find out how I get the link to vbstats.php to work. Any ideas are welcome.

Baratator 11-03-2001 10:29 AM

going to try installing it, but the installation seems to be VERY EASY.... but as i am a real newbie, everything could happens lol

thx GREAT work (i realy love the language file as i have a french board... nice idea save a lot of time :) )

centris 11-03-2001 05:08 PM

Thanks Bane, a great hack, installed it today on 2.2.0 with a little messing with the changed code and it runs great. Also included a link for my members to appreciate your work, again thanks.



visit my forum @
http://www.caddis.co.uk/forum/index.php

jucs 11-03-2001 09:14 PM

ANyone have the statistics graphic button in normal VB purple and what template do you add it to?

Thanks.

centris 11-03-2001 09:49 PM

Quote:

Originally posted by jucs
ANyone have the statistics graphic button in normal VB purple and what template do you add it to?

Thanks.

I did it this way:

Go to your Admin CP, styles, Modify, and look for the Header Template; I placed mine here like this, just under toplinks.

<!-- toplinks -->
<a href="http://www.yoursite.com/forum/vbstats.php"><img src="vbimages/stats.gif" alt="View the forum statistics here" border="0"></a>

Place the stats.gif in your images folder and ensure the above path to vbstats.php is correct.

The above path should be imagesfolder NOT vbimages/stats and don't forget the { just look at the others on the template you will get the idea.

Hope this helps, by the way here is a purple statistics button ENJOY

centris 11-03-2001 11:34 PM

My countries total is updating every time I hit refresh. I excluded by domain i.e. caddis.co.uk and looking at my database using phpMyAdmin the data HAS been inserted ok. Using 2.2.0 any suggestions, I may have put something in the wrong place looking at the new code in the index.php file?

Bane 11-03-2001 11:47 PM

Centris: At the moment the only option is for total hits (not unique) so it is counting every page view. I hope to get unique counts in on the next version.

centris 11-04-2001 12:01 AM

Thanks for the quick reply Bane, thats ok, thought it was summit I did wrong, awsome hack - thanks.

SharkY-GA 11-04-2001 06:37 AM

<a href="http://forums.gamingalliance.org/vbstats.php" target="_blank">http://forums.gamingalliance.org/vbstats.php</a> ...
Any idea why I am getting those errors?


All times are GMT. The time now is 04:19 PM.

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.05380 seconds
  • Memory Usage 1,750KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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