vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   psiStats 2006 (The New vBStats for vBulletin 3.5.x - 3.8.x) (https://vborg.vbsupport.ru/showthread.php?t=104213)

S@NL - BlackBik 01-15-2006 08:31 PM

Quote:

Originally Posted by Psionic Vision
You don't need to uncomment those. Just either download latest copy of vb3.5.3 or fix that bug with the db being closed manually.

Yes, that is what everyone keeps telling me.
But i upgraded to the latest version of vB 3.5.3 and I don't have the line that created the bug and I still get messages about not being authorised to lock/unlock tables. That's why I commented out those lines.
The update seemes to work perfect without those lines. It's the only bug I've found and I'm not sure it's a bug on your side ;)

Thanks again for sticking with us and developing this hack.

georg1000 01-15-2006 08:33 PM

Datenbankfehler in vBulletin 3.5.3:

Invalid SQL:
UNLOCK TABLES;

MySQL-Fehler :
Fehler-Nr. :
Datum : Sunday, January 15th 2006 @ 09:25:24 PM
Skript : http://www.xxxxxxxxxxx//cron.php?&rand=331446
Referrer : http://www.xxxxxxxxxxxxx/showthread.php?t=39
IP-Adresse : 80.108.53.143
Benutzername : Unregistriert
Klassenname : vb_database

Please help me

S@NL - BlackBik 01-15-2006 08:40 PM

The sollution is in this thread.....

redtailboa 01-15-2006 08:41 PM

I am wanting psistats to also track url's for my VBportal pages. (http://www.vbportal.com), is there a easy way to do this? I was thinking of adding this to the P_themeheader template:
Code:

<script type="text/javascript">
document.cookie = "psistats_screenwidth = " + self.screen.width;
document.cookie = "psistats_screenheight = " + self.screen.height;
document.cookie = "psistats_screendepth = " + self.screen.colorDepth;
</script>

But I am not sure it will work. My board is in /forums and the portal is in /.

firstrebel 01-16-2006 03:48 PM

Well, after a number of issues last week, Psionic said he would fix this hack over the weekend, and he did. Working well.

Thanks for your time.

Bob

MooMan65 01-16-2006 08:21 PM

Great work Psionic! This update solves all of the problems I had. :)

As something extra, I've also never personally liked how the Bots and Unknowns are mixed in amongst the legitimate browsers and operating systems, so I've done a quick modification to my download putting them at the bottom. I'd thought I'd share it if anyone else wants to do it.

NOTE: This works with both numerical sorting and alphabetical sorting, depending on the option you've chosen.

Step 1:
Make the following file edits:

Open: psistats.php

Find:

PHP Code:

eval('$browserbit .= "' fetch_template('psistats_browserbit') . '";'); 

REPLACE with:

PHP Code:

if (substr($browser['browser'], 03) == 'Bot' || $browser['browser'] == 'Unknown')
{
    eval(
'$unbrowserbit .= "' fetch_template('psistats_browserbit') . '";');
} else {
    eval(
'$browserbit .= "' fetch_template('psistats_browserbit') . '";');


Find:

PHP Code:

eval('$osbit .= "' fetch_template('psistats_osbit') . '";'); 

REPLACE with:

PHP Code:

if ($os['os'] == 'Unknown')
{
    eval(
'$unosbit .= "' fetch_template('psistats_osbit') . '";');
} else {
    eval(
'$osbit .= "' fetch_template('psistats_osbit') . '";');


Step 2:
Make the following template edits:

Template: PSISTATS_OS

Find:

Code:

$browserbit
UNDERNEATH add:

Code:

$unbrowserbit
Find:

Code:

$osbit
UNDERNEATH add:

Code:

$unosbit
That's it! I'm quite new at coding so I apologise if this is not the most effecient way to do this. If you have a better way, please post it here so it benefits all of us. :)

akanevsky 01-16-2006 09:00 PM

That's actually a nice and clean way to do this, although I'm sure it could be done without creating extra variables :) In the next version I'll separate the bots from regular agents.

GamerJunk.net 01-16-2006 09:03 PM

What were the file edits and template edits of the old version? I deleted the stuff from class_core but this still does not update...even after changing the headerinclude

GamerJunk.net 01-16-2006 09:09 PM

Nevermind it all of a sudden started working.....

georg1000 01-17-2006 06:13 AM

Quote:

Originally Posted by S@NL - BlackBik
The sollution is in this thread.....

If it isn't too much work, could you please give me the link or the number of the posting where I can find the solution? You know, the thread is already quite long....
The problem came up after the last update, it worked fine before.

thanks,
Georg


All times are GMT. The time now is 06:04 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.01610 seconds
  • Memory Usage 1,754KB
  • 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
  • (5)bbcode_code_printable
  • (4)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
  • (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