vb.org Archive

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

akanevsky 12-28-2006 11:10 PM

Oh, that item is not tracked.

Bison 12-29-2006 12:16 AM

Quote:

Originally Posted by DementedMindz (Post 1145729)
here is a little gif for OmniWeb's browser just upload it to /includes/psistats/database_agent and it will pick it up auto.

Attachment 58166

Is it that simple to add a browser icon and the software will detect it? If not, then how can I get this to detect other browsers (ex: SeaMonkey, Maxthon, Netcaptor, etc...)

akanevsky 12-29-2006 12:37 AM

Quote:

Originally Posted by Bison (Post 1146668)
Is it that simple to add a browser icon and the software will detect it? If not, then how can I get this to detect other browsers (ex: SeaMonkey, Maxthon, Netcaptor, etc...)

Yes, it is that easy to add icons for items that are recognized. I don't think Maxthon is in the list of detected browsers, but if seamonkey is, then go ahead and add it. Make sure that the filename of the gif file is the same as the abbreviation for that browser in the database.

Bison 12-29-2006 12:56 AM

Which table in the database are these browsers listed?

I only see the psistats_data and psistats_cache tables...

akanevsky 12-29-2006 12:20 PM

Quote:

Originally Posted by Bison (Post 1146687)
Which table in the database are these browsers listed?

I only see the psistats_data and psistats_cache tables...

They are not in the database. They are in includes/psistats/.

Bison 12-30-2006 02:42 AM

Thanks, I figured out how to add additional browsers to the list as well. Now i've added SeaMoney, NetCaptor, and Maxthon. I've also changed the icon associated with IE7 browser to differ with the current IE6 browser as well. ;)

akanevsky 12-30-2006 10:45 PM

Quote:

Originally Posted by Bison (Post 1147327)
Thanks, I figured out how to add additional browsers to the list as well. Now i've added SeaMoney, NetCaptor, and Maxthon. I've also changed the icon associated with IE7 browser to differ with the current IE6 browser as well. ;)

It would be nice if you submit your icons to this thread. :)

Bison 12-31-2006 04:52 AM

Here you go!

Firefox, Maxthon, SeaMonkey, and NetCaptor

Kasey 01-01-2007 08:41 PM

Installed!

storpappa 01-03-2007 04:03 PM

Installed!

Any plans to update these additional browsers and the IE7 icons on a future update?

akanevsky 01-03-2007 11:09 PM

Quote:

Originally Posted by storpappa (Post 1149978)
Installed!

Any plans to update these additional browsers and the IE7 icons on a future update?

Of course. Anything contributed is added.

Bison 01-04-2007 12:04 AM

Quote:

Originally Posted by Psionic Vision (Post 1150242)
Of course. Anything contributed is added.

So why hasn't the last update been changed?

akanevsky 01-04-2007 12:36 AM

Quote:

Originally Posted by Bison (Post 1150261)
So why hasn't the last update been changed?

Correction: it is added at the new release, whenever the new release comes.

Brandon Sheley 01-04-2007 02:58 AM

looks pretty nice
I'll check it out

Quantnet 01-04-2007 06:53 AM

Not sure if it's a bug or me but my Styles usage always show 100% for the forum default style and 0 the rest even after i change default style to a different style.

akanevsky 01-04-2007 08:35 PM

Quote:

Originally Posted by Quantnet.org (Post 1150434)
Not sure if it's a bug or me but my Styles usage always show 100% for the forum default style and 0 the rest even after i change default style to a different style.

Make sure you change in options, not in quick chooser.

YeşiLMeN 01-05-2007 06:05 PM

Thanks :) perfect statistics

Turkish Language pack
T?rkLer i?in T?rk?e DiL Dosyası Ektedir.

stinger2 01-05-2007 07:09 PM

another remarkable hack fro psionic....thx bro...looks great

lukemax 01-05-2007 07:36 PM

SOS, I am trying to install this hack, all the steps are done except the file uploads.
I have the forum installed in /forum/ and the instructions say to upload 1 file, so I uploages psistats.php into that directory and I dont see any changes.
eeerrr Help.
Thanks.

akanevsky 01-05-2007 08:48 PM

Quote:

Originally Posted by lukemax (Post 1151513)
SOS, I am trying to install this hack, all the steps are done except the file uploads.
I have the forum installed in /forum/ and the instructions say to upload 1 file, so I uploages psistats.php into that directory and I dont see any changes.
eeerrr Help.
Thanks.

Have you done template customizations?
What exactly do you expect to see?

lukemax 01-05-2007 08:52 PM

(I was looking at the screenshot and they didn't jive (nothing new below the vBulletin options, byut it is an option, in the list box, so I just was confused)
k, think I got it to work, i uploaded the file in includes/xml and includes/cron as well as the folder, includes/psistats as well as the file in the admincp/ lastly the psistats.phpp into my forums/.
OK, but when I take a look at the site statistics and click on the bottom three links( Countries & Regions | Browsers & Operating Systems | Referring Sites), no data is shown (Just the Title bars)?

Is that ok?

akanevsky 01-05-2007 09:19 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=1087525&postcount=2" target="_blank">https://vborg.vbsupport.ru/showp...25&postcount=2</a>

interfx 01-06-2007 10:32 AM

This might ahve been asked already, but if I integrate the headinclude part of the code to a non-vbulletin page on my site, will it also keep track track of stats on non-vbulletin type pages?

Thanks

akanevsky 01-06-2007 01:36 PM

No.

iardon 01-07-2007 11:13 PM

Psionic Vision,

Great mod, installed, but it would be nice if the images didn't need to be under /includes/. That way I could continue to .htaccess that folder which is recommended by VB.

Thanks.

akanevsky 01-08-2007 12:26 AM

Quote:

That way I could continue to .htaccess that folder which is recommended by VB.
You can .htaccess that folder but then not .htaccess the psistats folder...

iardon 01-08-2007 01:06 AM

Thanks, but I can't figure out how to do that via cpanel. Can you tell me what to write in my .htaccess file so that everything but your folder will be protected?

EDIT... was able to figure it out.

Thanks.

Kasey 01-10-2007 03:33 PM

:confused: not sure what the problem is...maybe I'm reading it wrong...

for instance...if I look at the countries and regions stats....if I am reading that correctly...
it is saying we have 1996 members in north america....which I know is false as we don;t have that many members period. Or am I reading this all wrong?

akanevsky 01-10-2007 05:43 PM

Quote:

Originally Posted by Kasey (Post 1155557)
:confused: not sure what the problem is...maybe I'm reading it wrong...

for instance...if I look at the countries and regions stats....if I am reading that correctly...
it is saying we have 1996 members in north america....which I know is false as we don;t have that many members period. Or am I reading this all wrong?

Read it as "hits, 15 minute interval".

Kasey 01-10-2007 08:05 PM

THANKS!


Now I get it.....NOW it makes sense!


(I'm Blonde, so I have an excuse)

DARKSTARVB 01-12-2007 03:36 AM

Very good hack - Awesome

Ty

DarkStar

Forza 01-16-2007 02:25 PM

Quote:

Originally Posted by Psionic Vision (Post 1114853)
If you have a very large site, then the front page might take a while to load. I'll fix that in the next release though.

I have about 17000 members and about 100-150 people online at the same time. I have this installed on my localhost now and I would really like to put this on my live board. will this have a noticable effect on the speed of my site? And what if i just give access to my admins, would that take away some server load and speed issues?

either way, the mod looks great!

akanevsky 01-16-2007 06:30 PM

Quote:

Originally Posted by Forza (Post 1160595)
I have about 17000 members and about 100-150 people online at the same time. I have this installed on my localhost now and I would really like to put this on my live board. will this have a noticable effect on the speed of my site? And what if i just give access to my admins, would that take away some server load and speed issues?

either way, the mod looks great!

A new version has already been released - shouldn't slow down your site at all.

evilfairygirl 01-19-2007 07:40 PM

OK, I havent a clue whats wrong here...I have followed the directions to the letter....I think =\

Code:

MySQL Error  : Table 'dbuser_vbullshit.vdpsistats_cache' doesn't exist Error Number : 1146
Date        : Friday, January 19th 2007 @ 03:11:03 PM
Script      : http://www.domain.com/forum/attachment.php?attachmentid=1624&stc=1&thumb=1&d=1169174700
Referrer    : http://www.domain.com/forum/showthread.php?t=338
IP Address  : xx.3.19.xxx
Username    : userone
Classname    : vb_database

:eek:

any ideas...? I know i haven't

Thanks in advance...

akanevsky 01-19-2007 08:03 PM

Have you installed the product? If yes, the error message should not appear.

evilfairygirl 01-19-2007 09:31 PM

You're a genius!

It was installed I did leave out a file though....

installed!!

GNDI 01-21-2007 07:41 AM

Look at this line:

Table 'dbuser_vbullshit.vdpsistats_cache' doesn't exist

It says it all You are missing this table in your database try to uninstall the script and re-install it

axyr 01-22-2007 01:45 AM

Hi, first of all, kudos on the new version!

I have a question though. What was the reason for changing the coding that calculated the moderators and administrators to this:

PHP Code:

$adminugs = array();
    
$smodugs = array();
    
    foreach (
$vbulletin->usergroupcache as $usergroupid => $usergroup)
    {
        if (
$usergroup['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel'])
        {
            
$adminugs[] = $usergroupid;
        }
        else if (
$usergroup['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['ismoderator'])
        {
            
$smodugs[] = $usergroupid;
        }
    }
    
    if (
sizeof($adminugs))
    {
        
$adminugs_cond = array();
        foreach (
$adminugs as $ugid)
        {
            
$adminugs_cond[] = "FIND_IN_SET($ugid, membergroupids)";
        }
        
        
$getadmins $db->query_first("
            SELECT COUNT(userid) as X
            FROM " 
TABLE_PREFIX "user
            WHERE usergroupid IN (" 
implode(','$adminugs) . ")
            " 
. (sizeof($adminugs_cond) ? "OR " implode(' OR '$adminugs_cond) : "") . "
        "
);
        
        
$c['administrators'] = $getadmins['X'];
    }
    
    if (
sizeof($smodugs))
    {
        
$smodugs_cond = array();
        foreach (
$smodugs as $ugid)
        {
            
$smodugs_cond[] = "FIND_IN_SET($ugid, membergroupids)";
        }
        
        
$getsmods $db->query_first("
            SELECT COUNT(userid) as X
            FROM " 
TABLE_PREFIX "user
            WHERE usergroupid IN (" 
implode(','$smodugs) . ")
            " 
. (sizeof($smodugs_cond) ? "OR " implode(' OR '$smodugs_cond) : "") . "
        "
);
        
        
$c['smoderators'] = $getsmods['X'];
    }
    
    
$getmods $db->query_read("
        SELECT DISTINCT userid
        FROM " 
TABLE_PREFIX "moderator
        WHERE forumid <> -1
    "
);
    
    
$c['moderators'] = $db->num_rows($getmods);
    
    
$c['staff'] = $c['administrators'] + $c['smoderators'] + $c['moderators'];


In the last version I was able to change what defined an administrator, and what defined a moderator. I was able to change it to define it by usergroups. I need to be able to do that because I have multiple groups that use the admin cpanel, but aren't actual administrators.

I also have two different moderator groups that I was able to define and show on the last version. Now it shows everyone that has access to the mod cp as moderator, and some of them are only blog mods, which I don't want showing up.

Under this new piece of coding, will I be able to define my custom groups, and define them by usergroup instead of by who has access to mod and admin cpanels?

Thank you! :)

akanevsky 01-22-2007 05:46 PM

Quote:

Originally Posted by axyr (Post 1164720)
Hi, first of all, kudos on the new version!

I have a question though. What was the reason for changing the coding that calculated the moderators and administrators to this:

PHP Code:

$adminugs = array();
    
$smodugs = array();
    
    foreach (
$vbulletin->usergroupcache as $usergroupid => $usergroup)
    {
        if (
$usergroup['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel'])
        {
            
$adminugs[] = $usergroupid;
        }
        else if (
$usergroup['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['ismoderator'])
        {
            
$smodugs[] = $usergroupid;
        }
    }
    
    if (
sizeof($adminugs))
    {
        
$adminugs_cond = array();
        foreach (
$adminugs as $ugid)
        {
            
$adminugs_cond[] = "FIND_IN_SET($ugid, membergroupids)";
        }
        
        
$getadmins $db->query_first("
            SELECT COUNT(userid) as X
            FROM " 
TABLE_PREFIX "user
            WHERE usergroupid IN (" 
implode(','$adminugs) . ")
            " 
. (sizeof($adminugs_cond) ? "OR " implode(' OR '$adminugs_cond) : "") . "
        "
);
        
        
$c['administrators'] = $getadmins['X'];
    }
    
    if (
sizeof($smodugs))
    {
        
$smodugs_cond = array();
        foreach (
$smodugs as $ugid)
        {
            
$smodugs_cond[] = "FIND_IN_SET($ugid, membergroupids)";
        }
        
        
$getsmods $db->query_first("
            SELECT COUNT(userid) as X
            FROM " 
TABLE_PREFIX "user
            WHERE usergroupid IN (" 
implode(','$smodugs) . ")
            " 
. (sizeof($smodugs_cond) ? "OR " implode(' OR '$smodugs_cond) : "") . "
        "
);
        
        
$c['smoderators'] = $getsmods['X'];
    }
    
    
$getmods $db->query_read("
        SELECT DISTINCT userid
        FROM " 
TABLE_PREFIX "moderator
        WHERE forumid <> -1
    "
);
    
    
$c['moderators'] = $db->num_rows($getmods);
    
    
$c['staff'] = $c['administrators'] + $c['smoderators'] + $c['moderators'];


In the last version I was able to change what defined an administrator, and what defined a moderator. I was able to change it to define it by usergroups. I need to be able to do that because I have multiple groups that use the admin cpanel, but aren't actual administrators.

I also have two different moderator groups that I was able to define and show on the last version. Now it shows everyone that has access to the mod cp as moderator, and some of them are only blog mods, which I don't want showing up.

Under this new piece of coding, will I be able to define my custom groups, and define them by usergroup instead of by who has access to mod and admin cpanels?

Thank you! :)

The reason is - speed of execution.

rjmjr69 01-27-2007 06:23 AM

I cant seem to view this anywhere on my forum. I know I installed it to the word. But nothing appears anywhere that i can see other than in the admincp under options. I can only change a few but nothing appears on the forum no statics at all. What am I missing.


All times are GMT. The time now is 07:44 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.01655 seconds
  • Memory Usage 1,897KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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