vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - psiStats 2010 (The New vBStats for vBulletin 4.0.x) (https://vborg.vbsupport.ru/showthread.php?t=250773)

akanevsky 09-17-2010 10:00 PM

psiStats 2010 (The New vBStats for vBulletin 4.0.x)
 
1 Attachment(s)
I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*===================================*\
|| psiStats 2010
||
|| Author : Anton Kanevsky
|| Works on : vBulletin 4.0.x
|| Released : Sep 19, 2010
||
|| Time required to install: 3 minutes
|| Difficulty: easy
\*===================================*/

DESCRIPTION

A sophisticated statistics module for your vBulletin board.

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.


STATISTICS

File Uploads: 1
Products to Install: 1


FEATURES

Statistics Tracking:
  • General Board Statistics
  • Style Usage Statistics
  • Top Threads & Forums Statistics
  • Display Colors + Resolutions (Requires JavaScript) Statistics
  • Countries + Regions Statistics
  • Browsers + Operating Systems Statistics
  • Referring Sites Statistics
  • Referrer Statistics
  • Age & Gender Demographics

Features:
  • No code or template modifications required.
  • Modules can be enabled or disabled, as needed.
  • Statistics are updated every fifteen minutes via cron.
  • Mother site, e.g. the site where your forum is hosted, will never be listed as a referrer.
  • Only one extra query per forum page.
  • Statistics can be sorted either numerically or alphabetically.
  • Automatic Integration with Referrer Statistics (if installed)[/i]
  • Configurable number of last items for top threads / forums.
  • Allows to specify whether to show data from from forums with post counts disabled.
  • Configurable number of last items in referring site statistics.
  • Configurable gender field and responses (optional).
  • Configurable list of usergroups that can access statistics (optional).
  • Referring site statistics censure (by word) and individual site blockage.
  • Detects most popular browsers and operating systems.
  • Requires cookies for screen color depth and resolution tracking.

VERSION HISTORY

1.7.1 - stable
[F] Fixed a few minor template bugs.

1.7.0 - stable
[+] Ported the statistics engine to vBulletin 4.0.x.

1.6.2 - stable
[+] Added recognition for Windows 7-based user agents.

1.6.1 - stable
[+] The navbar link is now shown only to those who can access the statistics.

1.6.0 - stable
[+] Added two new modules:
  • Referrer Statistics
  • Age & Gender Demographics
[+] Added Google Chrome recognition (this includes a matching icon).
[+] Added Setting to control whether top threads & forums data is gathered from forums where posts are not counted towards user post counts.
[+] Updated ip to country databases to the most recent ones.
[F] Corrected a few phrasing bugs and phrased things that were not phrased in 1.5.2.

1.5.2 - stable
[+] Added a few more translations (thanks to those who submitted these).
[+] Fixed a few bugs that were mentioned for 1.5.1.

1.5.1 - stable
[+] Added option to globally enable / disable any stats modules.
[+] Fixed bug with some staff being counted twice.
[+] All numbers are now nicely formatted.

1.5.0 - stable
[+] No more template edits, just upload the files and the product and you're ready to go.
[+] vBulletin 3.5.x - 3.8.x compatible.

1.4.4 - stable
[+] Referrering Sites now have a JS and an XML feed capability.
[+] Added a better firefox icon into the icon database.
[F] Fixed a couple of minor bugs.

1.4.3 - stable
[+] The hack now respects vBulletin's "Show Active Users" setting.
[+] The hack is now valid XHTML (all templates must be reverted).

1.4.2 - stable
[+] Corrected a bug, which caused incorrect number of moderators to be displayed.
[+] gb.gif renamed to uk.gif.

1.4.1 - stable
[+] The front page has been revised, and it now loads four times as fast regardless of the size of your database.
[+] The ip database has been updated to the revision of October 18, 2006.
[+] The flag database has been updated to the revision of October 18, 2006.
[+] Referrer statistics hack, if installed, is now detected automatically. No configuration required.
[+] Added an option to specify a custom board creation date, if not reflected correctly by the joindate of a user with lowest userid.

1.4.0 - stable
[+] The system is now cross-compatible with both vBulletin 3.5 and 3.6.
[+] The ip database has been updated to the revision of August 30, 2006.
[+] A variety of code optimizations and template corrections have been done.
[+] To keep statistics legible, the engine now only tracks the major and the minor browser versions. X.Y.Z.E is now stripped to become X.Y.

1.3.2 - stable
[+] Since more browsers support cookies than ajax, screendepth/screenresolution tracking is now done via cookies.
[+] One less query per page - e.g. now it's only one query per page.
[+] Statistics are now updated every 15 minutes rather than every hour.
[F] Fixed faulty count in cron and in region stats screen.
[F] Fixed bug which prevented the cron from being created in some cases.
[F] Fixed minor bugs which caused errors of the E_NOTICE level.

1.3.1 - stable
[F] Fixed AJAX coding error, which used synchronous ajax instead of asynchronous, evidently causing higher load.
[F] Fixed WOL error that was caused by AJAX stats update and that made it look like everyone is browsing the stats.
[F] Fixed a query in update cron.

1.3.0 - stable
[+] Yay, no more file edits! :)
[+] No more multiple queries. The hack now takes up a maximum of two (2) queries per page in contemporary browsers, and one (1) query in non-javascript browsers.
[+] New vBulletin Option: Statistics can be configured either numerically or alphabetically.
[+] Since Opera is updated way too often, the engine, from now on, will only identify the primary version marker (7,8,9 as opposed to 7.01, 7.02, 7.21, 8.01 etc).
[+] Templates and phrases are now in their own separate group.
[F] Eliminated a bug which prevented bot identification from working properly.

1.2.8 - beta
[+] Removed 5 queries during the stats recording.
[+] Countries mapped to valid cia abbreviations and the countrybit template has been updated.
[+] Added missing Fiji flag (Thanks to firstrebel!)
[F] Eliminated a bug which prevented the thread and post limit from having any effect.
[F] Eliminated a bug which prevented the browser identification from working properly in some cases.

1.2.7
[F] Corrected online users count.
[F] Corrected staff count.
[F] Eliminated the style stats bug, which originated from users who had invalid styles saved in their profiles.
[F] Eliminated the posts per day bug.
[F] Renamed "gb.gif" to "uk.gif"
[F] Renamed "Oceania" region to "Australia and Oceania".
[F] Only threads and forums to which the user has permissions are displayed in top threads and forums.

1.2.6
[F] Minor template fix.

1.2.5
[+] Rewritten Browser and OS detection (previosly somebody else's module was used).
[F] For staff stats, only primary usergroups are now counted.

1.2.1
[+] New "Usergroups Allowed To View Stats" admincp option.
[+] Navigation split in two rows, for greater view
[+] Crawlers now have a browser picture associated with them.
[F] Eliminated Tracking of Empty Referrers.
[F] Updated country database with a number of missing countries, including UK.
[F] Minor fix to style statistics screen, applying to styles that are not used.

1.2.0
First Official Release.

1.1.0
Development release; Excess queries, phrases, and code has been removed.

1.0.0
Development release; All phrases that were hard-coded were moved into the phrase system.

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

akanevsky 09-18-2010 07:47 PM

First Post Reserved for Q&A.

mgcom 09-18-2010 07:57 PM

Excellent

Does it have viewing permissions ?

Edit just read it does, nice work

mgcom 09-18-2010 08:17 PM

XML Error: Invalid character at Line 962

akanevsky 09-18-2010 08:19 PM

Quote:

Originally Posted by mgcom (Post 2100179)
XML Error: Invalid character at Line 962

When and how did you get that error?

hatiramolsun 09-18-2010 08:32 PM

database_agent

database_flag

database_os

no images ?

link: http://www.aykocity.com/psistats.php?do=os

akanevsky 09-18-2010 08:43 PM

Quote:

Originally Posted by hatiramolsun (Post 2100186)
database_agent

database_flag

database_os

no images ?

link: http://www.aykocity.com/psistats.php?do=os

Did you upload the images?

It seems to me that you have not.

http://www.aykocity.com/includes/psi...etexplorer.gif
http://www.aykocity.com/forums/inclu...etexplorer.gif
http://www.aykocity.com/includes/psi...oglechrome.gif
http://www.aykocity.com/forums/inclu...oglechrome.gif

These URL's do not work, which implies that you have not uploaded the images to your site. Please upload them and it will work.

hatiramolsun 09-18-2010 08:48 PM

I've uploaded all the files


click link: http://www.aykocity.com/psistats.php?do=os

What is the problem?

hatiramolsun 09-18-2010 08:59 PM

in my site root directory
Not in the forum folder

akanevsky 09-18-2010 09:17 PM

Quote:

Originally Posted by hatiramolsun (Post 2100197)
in my site root directory
Not in the forum folder

I tried to access the images both from the forums folder and from the root folder. Neither one works - I can't open the images in my browser. This means they are either not uploaded or blocked by some script from being displayed (such as anti-leech script).

hatiramolsun 09-18-2010 09:19 PM

Well yet another way of showing pictures ????

How can I solve this problem ?

sorry my English is not good

akanevsky 09-18-2010 09:51 PM

Quote:

Originally Posted by hatiramolsun (Post 2100202)
Well yet another way of showing pictures ????

How can I solve this problem ?

sorry my English is not good

Could you please upload all the images?

Thanks.

Dennis Kaczor 09-18-2010 10:19 PM

I missed this from the old 3.X days when I switched to vb 4.X.
Installed and is working great, glad to see this ported over to version 4.

hatiramolsun 09-18-2010 10:47 PM

Quote:

Originally Posted by Psionic Vision (Post 2100210)
Could you please upload all the images?


yes all images upload

sulasno 09-19-2010 01:31 AM

tagged and thanks

mgcom 09-19-2010 06:51 AM

Quote:

Originally Posted by Psionic Vision (Post 2100180)
When and how did you get that error?

when i was importing the product from admin cp

ellinofatsa 09-19-2010 07:25 AM

1)i have upload the folder name upload in my ftp.
2)insert the xml named product-psistats.
3) bad not working i cant not schow the statics! ! what i doing wrong???

4,07

akanevsky 09-19-2010 11:52 AM

Quote:

Originally Posted by mgcom (Post 2100358)
when i was importing the product from admin cp

I exported the product XML using vBulletin's product export tool. There shouldn't be any broken code in it since it was generated automatically. Maybe there's something wrong with your installation. When I import the product to my installation, it works fine.

If you care to send me your admincp details via pm, maybe I can take a look at it and troubleshoot it.

Quote:

Originally Posted by ellinofatsa (Post 2100363)
1)i have upload the folder name upload in my ftp.
2)insert the xml named product-psistats.
3) bad not working i cant not schow the statics! ! what i doing wrong???

4,07

You should have uploaded the CONTENTS of the folder to your VBULLETIN ROOT. Is this what you have done?

Skyrider 09-19-2010 12:36 PM

I'm getting a blank screen except on the default skin of vB4.. doesn't seem to work on the custom style I'm using.

Paul M 09-19-2010 12:42 PM

Quote:

Originally Posted by mgcom (Post 2100358)
when i was importing the product from admin cp

Download it again. Sometimes files get slightly corrupted as they are downloaded or unzipped.

Leica.Robbiani 09-19-2010 01:05 PM

Hi Psionic,

thank you for upgrading this one to vB4, works perfectly. Since I have upgraded my board to vB4 I was missing this mod.

Best regards

L.R.

Scan Cape Cod 09-19-2010 01:10 PM

Very nicely done, and appreciated. First time install for me; works dandy. Marked as installed, excellent, and nominated. Thanks.

ellinofatsa 09-19-2010 02:22 PM

Quote:

Originally Posted by Psionic Vision (Post 2100455)
I exported the product XML using vBulletin's product export tool. There shouldn't be any broken code in it since it was generated automatically. Maybe there's something wrong with your installation. When I import the product to my installation, it works fine.

If you care to send me your admincp details via pm, maybe I can take a look at it and troubleshoot it.



You should have uploaded the CONTENTS of the folder to your VBULLETIN ROOT. Is this what you have done?

yes that i have do!:)

TheLastSuperman 09-19-2010 02:22 PM

I like ya but follow the rules please ;).

https://vborg.vbsupport.ru/showthrea...hreadid=203767
*Last Update: 28 Feb 2010

https://vborg.vbsupport.ru/showthread.php?t=250773

https://vborg.vbsupport.ru/announcement.php?f=245&a=45

Edit: This is one of the few I appreciate the update on so Installed :D.

ellinofatsa 09-19-2010 02:34 PM

can i have a litle help please for that mod?
i have upload all the files bud i cant see statics?
i upload all the files from upload folder all the settings ok bud i dont see anithing sory for that bud litle more help.

thank you

basilrath 09-19-2010 03:34 PM

5 mins - like a charm

Nice work

akanevsky 09-19-2010 03:36 PM

Quote:

Originally Posted by TheLastSuperman (Post 2100509)
I like ya but follow the rules please ;).

https://vborg.vbsupport.ru/showthrea...hreadid=203767
*Last Update: 28 Feb 2010

https://vborg.vbsupport.ru/showthread.php?t=250773

https://vborg.vbsupport.ru/announcement.php?f=245&a=45

Edit: This is one of the few I appreciate the update on so Installed :D.

Thank you for this information.

mgcom 09-19-2010 05:38 PM

Quote:

Originally Posted by ellinofatsa (Post 2100513)
can i have a litle help please for that mod?
i have upload all the files bud i cant see statics?
i upload all the files from upload folder all the settings ok bud i dont see anithing sory for that bud litle more help.

thank you

check the user permissions, none are set on install you need to do it yourself, then its under quick links

akanevsky 09-19-2010 10:44 PM

Updated to version 1.7.1. Fixed a few template bugs. To upgrade, just re-import product XML with the overwrite option set to "yes".

sulasno 09-22-2010 12:43 AM

Installed and working in 4.0.7

note : including instructions on how to access the options would be helpful;

Site Statistics is located in the navtab Quick Links;

thanks mgcom

sulasno 09-22-2010 01:26 AM

Bug

Style Usage: Not showing correct style

Countries & Regions : Classifications of Regions

Operating Systems: Possible to include Windows 7 ?

akanevsky 09-22-2010 11:59 AM

Quote:

Style Usage: Not showing correct style
It shows the styles chosen in User CP, not via the quick style chooser.

Quote:

Operating Systems: Possible to include Windows 7 ?
Windows 7 is included.

sulasno 09-22-2010 01:32 PM

I use 4.0.7 style generator to create a style known as "vB Style Generator"
(This is the default style used; will conduct further testing)
Your mod shows style as Yellow :-)

edit

ps I got 2 users using 2 different style;

me bad; I just noticed Windows 7

PJSkiboy 09-22-2010 06:17 PM

Great mod. Had this installed on my 3.8.4 board, glad to see this now available for 4.0.x.

Much thanks!

Bob_R 09-22-2010 07:41 PM

I can't unzip the download.

Can I/we get a re-up?

Thanks!!

Bob_R 09-22-2010 08:03 PM

Actually I did manage to unzip it.

Can someone provide a demo (in English). :)

PJSkiboy 09-22-2010 08:05 PM

Quote:

Originally Posted by Bob_R (Post 2101942)
I can't unzip the download.

Can I/we get a re-up?

Thanks!!

I just downloaded the .zip file not 3 hours ago and it unpacked just fine.

Have you tried downloading it again?

haidm 09-24-2010 05:00 AM

1 Attachment(s)
Why the newest member in this mod and the newest member in forum index is different?

sulasno 09-26-2010 11:55 PM

Quote:

Originally Posted by Psionic Vision (Post 2101801)
It shows the styles chosen in User CP, not via the quick style chooser.

Style usage is showing correct statistics

SABRSox 09-27-2010 09:20 PM

Format error in the zip file.


All times are GMT. The time now is 06:32 AM.

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.01517 seconds
  • Memory Usage 1,852KB
  • 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
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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