Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Cyb - Advanced Forum Statistics Details »»
Cyb - Advanced Forum Statistics
Version: 6.6.2, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Statistics Modifications - Version: 3.8.x Rating:
Released: 01-09-2009 Last Update: 04-11-2010 Installs: 2365
Uses Plugins Auto-Templates
 
No support by the author.

Info:
AJAX Forum Statistics:
-Latest Posts
-Latest Forum News
-Most Viewed Threads
-Hottest Threads
-Most Popular Forums
-Latest Classified Ads
-Latest Blog Entries
-Latest Group Posts
-Newest Members
-Top Posters
-Top Thread Starters
-Top Referrers
-Top Reputations
-Top Thanked
-Top Infractions
-Profile Visits
-Latest Social Groups
-Latest Donations

You can turn on/off individual stats, count data from last x days for some of them if you wish, trim titles/usernames to save page space, make several other functionality/make-up customizations... See screenshots.


You can have Main Stats box shown on several pages...
It's shown by default on forumhome (to disable it set "Main Top Stats box on ForumHome" to "Disable")
To activate another location:
a) put location-name in "Stats on Custom Pages" field in hack settings
Explanation: When you open some vBulletin php file you'll see this at the top - "define('THIS_SCRIPT', 'XXX');"
XXX is location-name we need. It's usually the same as php filename (without extension, of course)
Note: When setting several locations then separate location-names by commas
b) add "$cybtopstats" to the template called on page where you wish to have stats shown


Notes:
-To set options go to: vBulletin Options > Cyb - Advanced Forum Statistics
-"Top Thanked" requires Abe1's "Post Thanks" hack to work
-"Latest Donations" requires "Cyb - PayPal Donate" hack to work
-To move Top Stats box somewhere else on forumhome: 1.-Set placement setting to "None" 2.-Add "index" to "Stats on Custom Pages" setting 3.-Add "$cybtopstats" wherever you wish in FORUMHOME template.
-If Top Stats box is too big because of long usernames or thread/forum titles be noted that you can trim them in ACP options.
-When forum/thread titles or usernames are trimmed, mouse-over will show you full version.


Before you ask:
This was created for vBulletin forum and will integrate into it perfectly if both, forum and addon are set properly. If you are using custom styles you may need to add product variable manually to your templates. Product will work with no problems on vBa CMPS if it's installed to the forum root folder. If you have installed vBa CMPS to some other folder you may experience several problems, including bad links, stats not loading,... etc... especially if you are using several domains. Put your cmps_index.php to forum root folder to avoid these problems.


Installation:
1. Required:
Import XML file (as product) through AdminCP: Plugin System > Manage Products > [Add/Import Product]

2. Optional - if you use custom styles and stats are not shown:
Open FORUMHOME template and add "$cybtopstats" where you wish Stats box to appear

3. Optional - if you use custom styles and link to re-enable stats is not shown:
Open desired template and add "$cybts_enablelink" where you wish "Enable Top Statistics" link to appear


Versions:
v1.0 - Jun 12. 2006.
-First release
v1.5 - Jun 12. 2006.
-Added - option to enable/disable whole hack
-Added - option to Enable/Disable "Newest Members"
-Added - option to switch "Newest Members" column background color (alt1/alt2)
-Added - option to Enable/Disable "Top Posters"
-Added - option to switch "Top Posters" column background color (alt1/alt2)
-Added - option to Enable/Disable "Top Reputations"
-Added - option to switch "Top Reputations" column background color (alt1/alt2)
-Added - option to Enable/Disable "Latest Posts"
-Added - option to switch "Latest Posts" column background color (alt1/alt2)
v1.6 - Jun 12. 2006.
-Small bug fixed (thanks evss)
v1.7 - Jun 13. 2006.
-Added - "Newest members" option to show/hide member ID
-Added - "Newest members" option to show/hide member post count
-Added - "Top Reputations" option to show/hide member post count
-Added - "Latest Posts" option to show/hide post date/time
-Added - "Latest Posts" option to show/hide post replies #
-Added - "Latest Posts" option to show/hide post views #
v1.8 - Jun 13. 2006.
-Added - Top Thanked Stats - for those who use "Post Thank You Hack" by Abe1
-Added - "Latest Posts" option to show/hide last poster
-Improved tables
v2.0 - Jun 14. 2006.
-Added - View more results on separate page (requires one file upload)
-Option to allow/dissallow members to view more results on CybTopStats.php
-Option to set default number of results shown on CybTopStats.php
-Option to set max number of results user can choose to show on CybTopStats.php
v2.5 - Jun 15. 2006.
-Added - "Latest Forum News"
-Added - "Most Viewed Threads"
-Added - Ability to show/hide any detail in stats
-Hack name changed to "Advanced Forumhome Statistics"
v2.6 - Jul 03. 2006.
-Added "Forum" to "Latest Posts", as requested. This shows forum name where post is created. Can be enabled/disabled.
-Added an option to trim forum titles.
-Fixed bug where thread date/time was shown. Now date/time of the latest post is shown.
-Few improvements in codes.
v2.7 - Jul 04. 2006.
-Fixed bug where private forums are not automatically excluded. This works fine now.
v2.8 - Jul 08. 2006.
-Security bug fixed where some codes can be executed on site if entered as thread title. Upgrade Recommended!
v2.9 - Jul 09. 2006.
-Fixed issue with special characters used in some languages (Turkish, Bosnian, etc)
v3.0 - Aug 04. 2006.
-Release of this hack for vB v3.6
v3.1 - Aug 21. 2006.
-New: no more file uploads (separate page still exist, don't worry)
-New: full username/title on mouseover when you trim forum/thread titles or usernames
-New: in "Latest Posts" - thread title is linked to start of thread now and little arrow is linked to first unread post in thread
-Fixed/changed some phrases
-Other fixes
-To upgrade: Import XML as product, allow overwrite, then delete CybTopStats.php from your server
v3.2 - Aug 22. 2006.
-Bug fixed in "Latest Posts" (when you click on little arrow you get "post doesn't exist" error)
v3.3 - Aug 23. 2006.
-Bug fixed in "Latest Posts" (blank "User" field when guest posted)
-Bug fixed in "Latest Posts" (if default browser font is not Arial then go-to-first-unread-post-arrow is shown as little blank square box)
-If your forum's index.php file was renamed for any reason, now you can enter new filename in ACP hack options to have working separate page
v3.4 - Aug 30. 2006.
-Bug fixed in "Latest Posts" (Moderated threads not hidden)
-Added "Product Version Checking"
v3.5 - Aug 30. 2006.
-Small security bug fixed
v3.6 - Sep 09. 2006.
-Added: "Top Thread Starters" (NOTE: Requires MySQL version 4.0.4 or higher)
-Added: You can choose in Settings where Stats box will be shown on forumhome (4 options + disable)
-Added: You can have Stats shown anywhere on your forum/external page (must include global.php). Just put "$cybtopstats" where you wish to have stats shown.
-No more need to set filename for "index.php" if it was changed. Now misc.php is used, which nobody has need to rename.
-Tables improved (some space saved)
-Small bug fixed (no full thread title on mouseover in "Latest Forum News" when thread titles are trimmed)
-Thanks to Paul M for help with db query for "Top Thread Starters"
v3.7 - v3.9 (Sep 16. 2006.)
-Trying to fix very weird bug
v4.0 - Sep 18. 2006.
-To completely solve several problems experienced with versions 3.7 - 3.9 I'v changed some things here:
1. You can have stats shown on maximum 2 pages (who needs more?)
2. Stats are shown by default on forumhome (to disable it set "Top Stats Box Position" to "None").
3. To activate second location:
a) type location-name in "Additional Location" field
Explanation: When you open some vBulletin php file you'll see this at the top - "define('THIS_SCRIPT', 'XXX');".
XXX is location-name we need. It's usually the same as php filename (without extension, of course).
b) add "$cybtopstats" to the template called on page where you wish to have stats shown.
v4.1 - Sep 25. 2006.
-Added "Top Referrers"
-Added option to exclude usergroups from viewing top stats
-Few code improvements (zeros excluded from stats, few table parameters adjusted)
v4.2 - Oct 29. 2006.
-Whole code is now valid XHTML 1.0 Transitional
-Added option to exclude usergroups from showing up in top stats
-Fixed bug (deleted threads still listed in stats)
v4.3 - Nov 29. 2006.
-Added option to set time/date formats (defaults: day-month, hours:minutes) - this can save some space
-Removed some 'width' attributes to improve columns alignment
-Table width changed to stylevar outertablewidth to fix problems with some styles
v4.4 - Nov 29. 2006.
-Main table width is 100% again because $stylevar[ourtertablewidth] breakes some styles for some reason
-Updated templates version/dateline info
v4.5 - Nov 30. 2006.
-Fixed bug (queries executed in background for users who are not allowed to see stats)
v4.6 - Feb 26. 2007.
-New general option: Choose to show stats from the beginning, for current month, or from custom date
-New in "Latest Posts": Choose where titles and arrows are linked to
-New in "Top Reputations": Added number of members who gaved positive reputation points to user
-Several small code improvements for better compatibility with different styles and SEO
-Setings page little re-organized...
v4.7 - Feb 27. 2007.
-Removed options from 4.6 which requires complex queries and makes forums run slow ("show stats for a custom time period" and "show number of members who gaved positive reputation points to user"). Sorry, I know this was useful but it's more important to keep this product fast/stable.
-New in "Latest Forum News": Now you can set several forums to show latest threads/news from
-Fixed bug (stats can not be used in forumdisplay)
-Fixed bug (user see no-permissions-to-view threads in "Latest Forum News")
-ACP settings page re-organized and shortened for better view
v4.8 - Mar 09. 2007.
-New: "Hottest Threads" - list popular threads sorted by reply count
-Fixed bug (more results page blank or get "URL file-access is disabled" error)
-Fixed bug (new replies signalization in "Most Viewed Threads" and "Latest Forum News" not working)
-Number of results on separate page is now chosen by user via drop-down menu (in hack settings you can set available values)
-Main Top Stats box now can be shown on unlimited number of locations (list locations you want, separate with commas)
-Added sessionurl to links where missed
v4.9 - Mar 23. 2007.
-Fixed bug where cell spacing/padding for individual stats tables are not defined - this saves a lot of space and looks much better imo
-Colspan for the main table now calculated automatically, depending on number of enabled stats (this fixes problem with tiny blank column in Opera)
-Fixed bug where some special characters are not shown properly in stats when titles/usernames are trimmed
-Trimming is now done in standard vBulletin style - trims a string to the specified length while keeping whole words
-New: Option to remove bold style from usernames in stats
-Hack compatible with vBadvanced CMPS (location: adv_index, variable to globalize: cybtopstats)
-Improved compatibility with right-to-left direction styles
-BIG general code clean-up
v5.0 - Apr 10. 2007.
-To save page space Stats are now arranged into two rows and up to four columns (adjustable in Options)
-For every column you can choose which statistic to show in, except "Latest Posts" which always uses one full column
-New: "Most Popular Forums"
-New: User can completely disable Top Stats (and enable it later easily if wanted)
-If stats disabled then "Enable Top Statistics" appears in "Quick Links"
-New: Drop-down menu in Stats table header with options to view more stats and disable them
-New: Exclude usergroups from viewing more results [guests(1) and banned(8) blocked by default]
-Fixed bug where queries are executed on index even you disable Stats on Forumhome
-Settings page much easier to understand and set now
-Several other fixes and improvements, including queries, indexes for thanked posts and user threads, better js codes, better tables etc...
v5.1 - Apr 16. 2007.
-Fixed bug where "Latest News" are not sorted by date but ID
-Fixed javascript error in IE
-Fixed bug where "Top Thread Starters" counts are not updated
-Layout changeable (single or two rows)
-Two more columns added
-Any column can be disabled
-Added ability to show post counts in "Newest Members"
-"Stats Management" easier to understand and use
-"Turn on/off Stats" user function improved, including forum message with notes on how to re-enable
-Added variable for "Turn on/off Stats" link to use on custom places ($cybts_enablelink)
-New: "Top Infractions"
-Codes valid XHTML 1.0 Transitional
v5.2 - Apr 29. 2007.
-Fixed bug where thread counts in "Top Thread Starters" are not updated
-Fixed bug with strange underlines on some forums
-Fixed bug where you can not put stats on custom place on forumhome
-Updated instructions on how to put Stats on custom place on forumhome
-Improved exclusion of no-permissions-to-view and private forums from stats
-Added option to move "Latest Posts" to the left in Stats box
v5.3 - May 03. 2007.
-Added option to exclude styles from new/old colorizing
v5.4 - May 06. 2007.
-New: "Latest Classified Ads"
-Fixed bug where thread redirects are shown in "Latest Posts"
-Improved tables and background color switching
v5.5 - Sep 06. 2007.
-Group membership checking improved (works now for supplementary usergroups)
-Optimized (including: one less query, some unneeded lines removed,...)
-Several minor bugs fixed
v5.6 - Oct 08. 2007.
-Fixed bug where users are not displayed using tags from their "display usergroup"
-New: Timecut (count data from last x days only)
-Individual stats can be excluded from Timecut
-Removed New/Old-Color settings, used "time" CSS settings to mark old data
-New: "Top Reputations" now shows Reputations+Reputation Level
-New: "Top Infractions" now shows Infractions+Infraction Points
-"Top Thread Starters" does not require MySQL version 4.0.4 or higher to work anymore
-Several minor bug fixes and improvements in code...
v5.7 - Oct 22. 2007.
-New option: "Show actual reputations instead of reputations given by members"
-Minor bug fixes
v5.8 - May 02. 2008.
-CSRF protection added
-Compatible with vBulletin 3.7 Gold (may not work with Beta/RC releases)
-New: "Latest Blog Entries"
-Minor bugs fixed, some code optimization done
v5.8.1 - May 24. 2008.
-Fixed bug where wrong usernames are shown in "Latest Blog Entries"
-Fixed bug where deleted users appears in "Top Thread Starters"
-Option to completely disable trimming for thread/blog titles
-Minor bug fixes...
v6.0 - Jan 10. 2009.
-New: AJAX-based
-New: Two blocks with default forum/user stats shown on page load, more available via menus
-New: Options to set default stats
-New: Options to load stats in random mode on page refresh
-Auto-refresh stats
-Post counts linked to search user's posts
-Almost completely rewritten, several options removed/added, code optimized, minor bugs fixed, officially supported on vB 3.8.x
v6.1 - Jan 12. 2009.
-Fixed: Bug where Turn-On link is not shown properly on some boards
-Fixed: Random mode not working properly
-New: Added 3rd cell
-New: Option to change cellpadding
-Looks more like 5.x
-New: 'Reload' in Latest Posts
-New Option: User can refresh Latest Posts manually once in x seconds
v6.2 - Jan 12. 2009.
-Fixed CSS validation issues
-Latest Posts: Added link to first unread post in thread
-Latest Posts: Option to disable source forum
-New: Bad admin error (shows when setup is wrong)
-Fixed some bugs in templates
v6.3 - Jan 15. 2009.
-Layout selector (single/two rows)
-On/off post time in Latest Posts
-Minor bugs fixed
v6.4 - Jan 24. 2009.
-New: "Profile Visits" stats
-New: "Latest Social Groups"
-New: "Latest Donations" ('Cyb - PayPal Donate' required)
-View/Reply counts added back to 'Latest Posts' (can be on/off)
-New: Comment counts added to "Latest Blog Entries"
-New: Option to add Stats automatically to vBA CMPS
-Known bugs fixed
v6.5 - Feb 03. 2009.
-New: Latest Group Posts
-New: Options to change title/arrow linking in 'Latest Posts'
-Fixed known bugs
v6.6 - May 10. 2009.
-New: Forum and user stats are available in both blocks now
-New: Second block can be disabled
-New: Applied permissions from 'Cyb - Advanced Permissions Based on Post Count'
-New: Added Thread Prefixes with option to on/off
-Fixed bug: 'Loading' forever
-Fixed bug: Bad linking to user who created Social Group
-Fixed bug: Latest Donations not sorted properly in some cases
-'Enable Stats' QL link auto-insertion compatibility improved
-Minor bugs fixed
v6.6.1 - May 14. 2009.
-Fixed bug: Auto-refresh does not work when second block is disabled
-Fixed bug: Random mode sometimes shows the same stats in both blocks
v6.6.2 - Apr 12. 2010.
-Fixed security bug (user able to set number of results manually)


Click INSTALL if you like this plug-in.


LIVE DEMO: http://www.bihforum.com

Download Now

File Type: zip Cyb - Advanced Forum Statistics 6.6.2.zip (24.5 KB, 6288 views)

Screenshots

File Type: png 01.png (80.7 KB, 0 views)
File Type: png 02.png (80.4 KB, 0 views)
File Type: png 03.png (41.5 KB, 0 views)
File Type: png single_row.png (88.0 KB, 0 views)
File Type: jpg acp.jpg (71.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
Alihandro, arashebaabaa, atmaca, ram94401

Comments
  #2  
Old 01-10-2009, 12:59 PM
EuroBeat2's Avatar
EuroBeat2 EuroBeat2 is offline
 
Join Date: Feb 2008
Location: New Jersey, US
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does version 6.0 support ver 3.7.x VB?
Reply With Quote
  #3  
Old 01-10-2009, 12:59 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, it works with 3.7.x/3.8.x.
Reply With Quote
  #4  
Old 01-10-2009, 01:14 PM
canpare's Avatar
canpare canpare is offline
 
Join Date: Apr 2006
Location: T?rkiye
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #5  
Old 01-10-2009, 01:27 PM
choccyclaire choccyclaire is offline
 
Join Date: Jan 2008
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you!
Reply With Quote
  #6  
Old 01-10-2009, 01:37 PM
DeMonViTo DeMonViTo is offline
 
Join Date: Jun 2005
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx for addon
Reply With Quote
  #7  
Old 01-10-2009, 01:39 PM
shadowevil shadowevil is offline
 
Join Date: Apr 2006
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice MOD ... *installed*
Reply With Quote
  #8  
Old 01-10-2009, 01:43 PM
Rene Kriest Rene Kriest is offline
 
Join Date: Jun 2008
Location: Germany ./. Reality
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OMG! This rules! Finally this need tool is ported to AJAX.

Great things get even better. Thank you very much CYB. You are one of vb's best contributors in my eyes. I already installed some of your addons without reading more than your install instructions because of the high standards of your addons and thought that installing would make sense because you coded it and was never disappointed.
Reply With Quote
  #9  
Old 01-10-2009, 01:43 PM
Noonster Noonster is offline
 
Join Date: Jun 2005
Location: East Yorkshire, UK
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad to see this updated for 3.8. Great hack!
Reply With Quote
  #10  
Old 01-10-2009, 01:46 PM
madmax1228's Avatar
madmax1228 madmax1228 is offline
 
Join Date: Apr 2008
Location: AZ
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you. This is by far one of our favorite mods.
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 04:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04921 seconds
  • Memory Usage 2,354KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (4)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (6)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete