vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Statistic version 3.0.0 (directors Cut *g*) (https://vborg.vbsupport.ru/showthread.php?t=74603)

Jenta 02-10-2005 12:07 PM

Why doesn't this work?
PHP Code:

if ($statistic_on_off == "1") {
    if (!(
$permissions['forumpermissions']) OR !($permissions['genericpermissions']) OR $bbuserinfo['usergroupid'] == 9)
{
    
print_no_permission();        
    }            


i added OR $bbuserinfo['usergroupid'] == 9 but they can still see it

Battle_Ring 02-12-2005 01:14 AM

i installed this set my domain in the options it said saved sucessfully but than it goes back to the page and nothing is i nthere for the domain

Delphiprogrammi 02-12-2005 05:05 AM

the install script is in german ?????? sorry but i don't understand that language and i'm getting database crashes i downloaded https://vborg.vbsupport.ru/attachmen...chmentid=23192 it says vbstats_english but the install runs in german ??


edit

never mind that installed & up and running fine

[high]* Delphiprogrammi clicking install[/high]

Delphiprogrammi 02-12-2005 12:13 PM

hi,

this hack works fine however if would prefer if the system info like for example the webserver and the php(MySQL) version i'm using is only visible to me (Admin) because that information is kind off sensitieve besides that great hack

interfx 02-12-2005 02:42 PM

Works great...

Make sure you put the line

include("./statistic_counter.php");

at the very bottom of the phpinclude_start template...

Outside of the /*...

I made that mistake, and just figured it out...

S@NL - BlackBik 02-14-2005 10:44 PM

Sorry guys, but we found a "bug" in the vB Stats.

We recieved complaints that people couldn't see who was browsing a thread. All they saw was themselves, but not the other people who were in the thread. The "Who's online" page showed that serveral more people were browsing the thread, but they didn't show in the thread itself.

Our programmer has spent two evenings troubleshooting this problem and we found the cause.
It's the image that is generated by the statistic_java.js and that is in the header of every page. This image executes a script to see what browser, os, resolution etc he is using. The problem is this:

1. The user is opening the page and is put in the session table of the vB database.
2. The image is being execute, the vB Stats are updated, but the user is removed from the session table because at this time he is not viewing a forumpage but a generic page caused by the execution of the javascript.

Result: the sessions table is not up to date and the user is not being shown browsing the thread.

A possible sollution for this problem is not to touch the session in the statistic_java_counter.php. You can probably make sure of that by not using global.php, but only mysql includes and config includes.

We solved our problem by removing the java image from our header, but the result is that some statistics are not being updated. We hope you can find a better solution by making some changes to the program.

Greetz,
S@NL - BlackBiker

neocorteqz 02-16-2005 03:48 AM

Is there an uninstall if i choose to remove this?

lifesourcerec 02-16-2005 06:29 AM

very nice... :) Installed and it works like a charm.

Onkel_Tom 02-16-2005 07:17 AM

Quote:

Originally Posted by neocorteqz
Is there an uninstall if i choose to remove this?

Yes!
You can run the installer twice to uninstall the complete hack.

S@NL - BlackBik 02-16-2005 02:43 PM

Since we've translated the vB statistic phrases to Dutch, I might as well share those with you.
See the attached file.

Have fun with it :)


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