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)

monstergamer 03-10-2003 04:45 PM

is there any way you can make it not count you
also notice when you refresh it goes up to
other then that i love this hack

Bane 03-10-2003 04:50 PM

It counts total views monstergamer. The only way you could stop that would be checking ips or dropping a cookie to the users computer.

You could make it not count you with some additional hacking yes. like putting the vbs_counter include in the global.php and having a usergroup detect around it or something.

monstergamer 03-10-2003 05:03 PM

ok thanx
i well try that now

Zelda-King 03-14-2003 07:53 PM

I've installed this. Impressive hack. One gripe: banned users etc can view this.

I fixed this by inserting this code in vbstats.php (which wont work for a lot of you. This goes with a journal template I have from another hack, and most of you may not have a ban group for usergroup 10;
PHP Code:

//if user is banned then cannot view vB Stats.
        
if(($bbuserinfo[usergroupid] == "8") || ($bbuserinfo[usergroupid] == "10")){
                
//redirect
                
$goto="index.php?s=$session[sessionhash]";
                eval(
"standardredirect(\"".gettemplate("redirect_noaccessjournal")."\",\"$goto\");"); 

You could easily customise that to your own templates etc if you want to keep certain usertypes out.

Matrix28 03-15-2003 03:02 PM

Thanks guys.

monstergamer 03-16-2003 01:12 AM

Quote:

Yesterday at 04:53 PM Zelda-King said this in Post #1094
I've installed this. Impressive hack. One gripe: banned users etc can view this.

I fixed this by inserting this code in vbstats.php (which wont work for a lot of you. This goes with a journal template I have from another hack, and most of you may not have a ban group for usergroup 10;
PHP Code:

//if user is banned then cannot view vB Stats.
        
if(($bbuserinfo[usergroupid] == "8") || ($bbuserinfo[usergroupid] == "10")){
                
//redirect
                
$goto="index.php?s=$session[sessionhash]";
                eval(
"standardredirect(\"".gettemplate("redirect_noaccessjournal")."\",\"$goto\");"); 

You could easily customise that to your own templates etc if you want to keep certain usertypes out.

thanx for the addon
this is one of the best hacks

.:.NetStartz.:. 03-17-2003 02:44 AM

How can I block someone from viewing my stats page? Using his IP? But let him see the rest? It's really important...

Bane 03-17-2003 03:13 AM

Send me a pm with the info netstartz, I'll see what I can do to help you.

monstergamer 03-18-2003 01:55 AM

is there a way to make it tell the times the came to your site like
12:00 - 1:00 = 2 visits
1:00 - 2:00 = 5 visits
and so on
or well this be hard cause of the time difference

jbear6 03-18-2003 02:17 AM

Okay, dumb question time...
I was smart enough to read the second post in this thread, and found the answer to my question regarding compatibility with 2.2.6 (Currently working splendid on all 2.x versions to date). But, then I looked at the top of your first post and saw this: "For vBulletin version: 2.3.x". Will this fantastic hack work on 2.2.6?

Thanks,
Jbear6


All times are GMT. The time now is 01:26 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.02239 seconds
  • Memory Usage 1,748KB
  • 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
  • (1)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