Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
psiStats 2006 (The New vBStats for vBulletin 3.5.x - 3.8.x) Details »
psiStats 2006 (The New vBStats for vBulletin 3.5.x - 3.8.x)
Mod Version: 1.6.2, by akanevsky (Coder) akanevsky is offline
Developer Last Online: Feb 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.x Rating: (6 votes - 4.67 average) Installs: 301
Released: 02 Jan 2006 Last Update: 28 Feb 2010 Downloads: 263
Not Supported DB Changes Uses Plugins Auto-Template Additional Files Translations  

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 2009
||
|| Author : Anton Kanevsky
|| Works on : vBulletin 3.5.x - 3.8.x
|| Released : Feb 28, 2010
||
|| Time required to install: 1 minute
|| 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.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

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Major Additions psiStats 2006 (The New vBStats for vBulletin 3.5.x - 3.8.x) akanevsky vBulletin 3.6 Add-ons 435 30 Jun 2009 20:04

Comments
  #2  
Old 02 Jan 2006, 01:11
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Real name: Anton Kanevsky
FAQ
READ BEFORE YOU ASK QUESTIONS!!!
IF YOU ASK A QUESTION THAT'S ALREADY BEEN ANSWERED IN THIS POST, THAT'S BEEN ANSWERED MULTIPLE TIMES IN GENERAL, OR IF YOU ASK SAME QUESTION MORE THAN ONCE, YOU WLL BE ADDED TO IGNORE LIST!!!

Q: I am using vB 3.5.3 and am receiving an error about "UNLOCK TABLES".
A: Read: http://www.vbulletin.com/forum/bugs3...iew&bugid=2056

Q: How do I install the product XML?
A: http://www.vbulletin.com/docs/html/plugin_system

Q: How do I upgrade?
A: Find the last one of the "Upgrade: X.Y.Z" posts which contain banana and large font in them. Those posts contain upgrade instructions from the "X.Y.Z-1" version. Which means that you need to find each of those posts that came out since your last upgrade.

Q: How do I hide a certain part that I don't need?
A: You edit any of the psistats_yaddayadda templates to your needs.

Q: Stats do not get updated.
A: Stats are updated once every 15 minutes (not instantly).

Q: Can I limit viewing of the stats to certain usergroups?
A: Yes, using hack options which are located under vBulletin Options -> psiStats 2006

Q: I get a LOCK TABLES error...
A: Make sure you have set proper permissions for the MySQL user. To find out how to set MySQL permissions, contact your hosting provider.

Q: It's not tracking full referrer URLs, only domains.
A: That's how it is designed. It will not be changed.

Q: A country flag is missing.
A: I know. If you have the flag, please send it to me, otherwise there is nothing I can do.

Q: I have upgraded to 1.3.0 (or higher), and now I receive the following error: TABLE psistats_country does not exist.
A: Make sure that you have cancelled the changes done to class_core.php prior to version 1.3.0 of this hack.

Q: I have ____ hack and yours isn't working properly with it.
A: I do not provide support for 3rd party hacks.

Q: This and that isn't working properly...
A: Shh! First, make sure that you have the latest version installed, and doble check that you have done all the steps correctly. If you are 100% sure in both, post your problem.
__________________
I can no longer support any of my hacks. Please do not contact me for that. Feel free to create and post new versions of my hacks, as long as you give me credit for the original work.

Last edited by akanevsky; 03 Oct 2006 at 22:03.
Reply With Quote
  #3  
Old 04 Jan 2006, 20:41
Yorixz Yorixz is offline
 
Join Date: Jun 2005
Originally Posted by Psionic Vision
@Yorixz
>> On the toplist page it's totally ignoring the max amount I set to list for the Most viewed/Most replied collumn, it is actually following it for the Top forums though.
What? It uses the same number that you set in admincp for top threads/forums...
The file you attached didn't for me, the one that other user attached on page 7 or so did.
>>The link on the country page of Iceland links to a page about Isreal.
The link of Croatia links to Coral Sea Islands.
The link of Andorra doesn't exist.
Theres a continent without a phrase
There is a country without a phrase (this image: )

Please provide the problematic country codes.
Isreal: http://www.cia.gov/cia/publications/.../print/il.html (Missing)
Iceland: http://www.cia.gov/cia/publications/.../print/is.html (wrong one)
Andorra: http://www.cia.gov/cia/publications/.../print/ad.html (Missing)
Bosnia: http://www.cia.gov/cia/publications/.../print/ba.html (wrong one)
Bahrain: http://www.cia.gov/cia/publications/.../print/ba.html (wrong one apparently, never heard of any of these two)
Chile: http://www.cia.gov/cia/publications/.../print/cl.html (missing)
Puerto Rico: http://www.cia.gov/cia/publications/.../print/pr.html (missing)
Slovakia: http://www.cia.gov/cia/publications/.../print/sk.html (missing)

That's about the list I got so far, didn't check them all though. Maybe it's an idea to link to Wikipedia instead because are there so many things missing in that 'factbook'.
Reply With Quote
  #4  
Old 04 Jan 2006, 20:52
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Real name: Anton Kanevsky
They are not "missing", they simply have invalid codes in the country database for some reason. I fixed those.
__________________
I can no longer support any of my hacks. Please do not contact me for that. Feel free to create and post new versions of my hacks, as long as you give me credit for the original work.

Last edited by akanevsky; 04 Jan 2006 at 21:21.
Reply With Quote
  #5  
Old 04 Jan 2006, 21:41
firstrebel's Avatar
firstrebel firstrebel is offline
 
Join Date: Dec 2005
Real name: Robert Isaac
Is some of this thread missing?

Bob
Reply With Quote
  #6  
Old 04 Jan 2006, 22:15
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Real name: Anton Kanevsky
I asked the moderator to clean up the thread, so it's ok. I have extracted a list of countries which are incorrectly mapped. So it'll be some time until I remap them.

From now on, please do not post pointless posts in this thread, as it is harder for me to follow up with the problems. Please only reply with either bug reports (and do so only once per bug), or testimonials. Thanks.
__________________
I can no longer support any of my hacks. Please do not contact me for that. Feel free to create and post new versions of my hacks, as long as you give me credit for the original work.

Last edited by akanevsky; 04 Jan 2006 at 23:21.
Reply With Quote
  #7  
Old 04 Jan 2006, 23:55
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Real name: Anton Kanevsky
Here is a list of abbreviations that do not match, and potentially need to be remapped:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Kind of long, isn't it?

Option #1: A couple of volunteers could help me do the actual remap, which would be easy using Search&Replace program.
Pros: None. Cons: All script country databases known to me use the same abbr's as the current ones. All online country databases use the same abbr as cia.gov, or they use something completely different; It would be hard to update the database.

Option #2: Find a website that has acceptable information about countries and that uses matching abbreviations.
Pros: No works involved. Cons: CIA has the fullest list of countries, and perhaps the most valid ones.

Option #3: Simply insert the CIA data into the database.
Pros: No work required, is relatively simple in comparison with #1. Cons: A bit more storage space (negligible).


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
I can no longer support any of my hacks. Please do not contact me for that. Feel free to create and post new versions of my hacks, as long as you give me credit for the original work.

Last edited by akanevsky; 05 Jan 2006 at 00:20.
Reply With Quote
  #8  
Old 05 Jan 2006, 00:38
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Real name: Anton Kanevsky
Alright, I choose option 3 then.
__________________
I can no longer support any of my hacks. Please do not contact me for that. Feel free to create and post new versions of my hacks, as long as you give me credit for the original work.
Reply With Quote
  #9  
Old 05 Jan 2006, 01:19
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Okay, on the top stats page, I get 0's for the threadcount and replycount total variables.
__________________
Reply With Quote
  #10  
Old 05 Jan 2006, 02:01
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Real name: Anton Kanevsky
Are you speaking about Top Forums?
__________________
I can no longer support any of my hacks. Please do not contact me for that. Feel free to create and post new versions of my hacks, as long as you give me credit for the original work.
Reply With Quote
  #11  
Old 05 Jan 2006, 02:50
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Yes.
__________________
Reply With Quote
  #12  
Old 05 Jan 2006, 04:54
Kihon Kata's Avatar
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
What do you mean.... 'so it's ok'? 'Clean up the thread'? You mean like delete like 95% of it.

WTF, my issues were deleted AND unanswered? This seems a little strange. And no, I don't think you code 24/7
__________________
3MultiMedia.com - Simple, Effective CMS WebDesign
Reply With Quote
  #13  
Old 05 Jan 2006, 10:14
Yorixz Yorixz is offline
 
Join Date: Jun 2005
Originally Posted by Psionic Vision
Alright, I choose option 3 then.
Like I already suggested; why not simply use Wikipedia? If you link to http://en.wikipedia.org/wiki/$countryname then the link is correct in 99% of the cases, you probably just need to convert spaces to underscores and then you're done - no need to worry about all the abbrevations.
Reply With Quote
  #14  
Old 05 Jan 2006, 10:29
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Real name: Anton Kanevsky
Yes.
That'll be looked into.

WTF, my issues were deleted AND unanswered?
I thought I asked to post only to the point, and only once per issue. I thought I also said that I read everything. If the latter be true, you should be sure that your post was read too. If I am not replying, it only means that I know what causes the issue and how to fix it, and thus do not feel the need to discuss anything. Please also remember that this is a free hack and I am therefore not obliged neither to you nor to anyone else, to even support the hack.

If you'd like to receive any further support, you gotta calm yourself down and express yourself more diplomatically. Otherwise, feel free to uninstall my hack, because next time you are going into my ignore list.

Like I already suggested; why not simply use Wikipedia?
Wikipedia contains too much extra data, and it has 99% of the countries rather than 100%. In addition, wikipedia is an open encyclopedy, the contents of which can be modified by anyone. Therefore, wikipedia is not a reliable source - unlike cia.gov, which has - or is supposed to have - 100% correct information. I am going to simply add cia abbreviations into counrty database, in addition to "native" abbreviations.
__________________
I can no longer support any of my hacks. Please do not contact me for that. Feel free to create and post new versions of my hacks, as long as you give me credit for the original work.

Last edited by akanevsky; 05 Jan 2006 at 10:32.
Reply With Quote
  #15  
Old 05 Jan 2006, 13:38
Kihon Kata's Avatar
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Originally Posted by Psionic Vision
That'll be looked into.If you'd like to receive any further support, you gotta calm yourself down and express yourself more diplomatically. Otherwise, feel free to uninstall my hack, because next time you are going into my ignore list.
Don't worry, I am uninstalling this hack since I never received support ANYHOW. I personally do not need a teenager telling me to calm down or threats of adding me to ignore list. Advice, concentrate and focus your engergy on fixing your releases rather than worrying about getting a moderator to delete unanswered posts OR telling people to calm down with threats of ignoring. I don't know who you think you are with statements like that. I can see your immaturity shining here. Uninstalls
__________________
3MultiMedia.com - Simple, Effective CMS WebDesign
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:43.

Layout Options | Width: Wide Color: