Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Cyb - Advanced Forum Statistics Details »
Cyb - Advanced Forum Statistics
Mod Version: 5.7, by Valter (Coder) Valter is offline
Developer Last Online: May 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (251 votes - 4.79 average) Installs: 3186
Released: 04 Aug 2006 Last Update: 22 Oct 2007 Downloads: 16489
Not Supported DB Changes Uses Plugins Template Edits  

PLEASE CHECK OUT THIS THREAD FOR FEATURE SUPPORT:
http://www.vbulletin.org/forum/showthread.php?t=177778



=====


Info:
Forum Statistics for:
-Latest Forum News
-Newest Members
-Top Posters
-Top Thread Starters
-Top Referrers
-Most Viewed Threads
-Hottest Threads
-Top Reputations
-Top Thanked
-Most Popular Forums
-Top Infractions
-Latest Classified Ads
-Latest Posts


This product is very flexible. You are able to choose which stats to show, disable some details to save page space, optionally show data from last X days only, 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" works only with Abe1's "Post Thank You" hack. Don't enable if you have not this hack installed.
-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.


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


Click INSTALL if you like this plug-in.


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

Download Now

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

Screenshots

Click image for larger version

Name:	st1.jpg
Views:	6883
Size:	25.5 KB
ID:	63210   Click image for larger version

Name:	st2.jpg
Views:	7414
Size:	42.0 KB
ID:	63211   Click image for larger version

Name:	stats_more.jpg
Views:	7817
Size:	46.9 KB
ID:	63212   Click image for larger version

Name:	disabled_note.jpg
Views:	3621
Size:	51.7 KB
ID:	63213  

Click image for larger version

Name:	ql_enable.jpg
Views:	4967
Size:	46.1 KB
ID:	63214   Click image for larger version

Name:	options1.jpg
Views:	2483
Size:	130.3 KB
ID:	70777   Click image for larger version

Name:	options2.jpg
Views:	1678
Size:	136.7 KB
ID:	70778  

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
Statistics Modifications Cyb - Advanced Forum Statistics Valter vBulletin 3.7 Add-ons 651 02 Sep 2013 13:25
Cyb - Advanced Forum Statistics Valter vBulletin 3.5 Add-ons 116 16 May 2010 03:57

  #1441  
Old 24 Feb 2008, 21:12
Marka Ragnos Marka Ragnos is offline
 
Join Date: May 2007
Amazing!

Installed => www.corvette-forum.net
__________________
www.colonial-forces.be
Reply With Quote
  #1442  
Old 26 Feb 2008, 01:37
mystic10 mystic10 is offline
 
Join Date: Sep 2007
hi first of all thanks for the mod...someone please help

my problem i exculded someo of the forums so members can see top posters and top thread starters for the month...however one problem problem is...when i see the latest post not all of the post show....i am wondering is this what its suppose to do....i thought seeing latest post and exculding forum for stats would be and is separate

request: can you give an option so we can enter the dates like from jan 1st to feb 1st or whatever to accurately see the top poster and top thread starter
Reply With Quote
  #1443  
Old 26 Feb 2008, 18:52
emmateague emmateague is offline
 
Join Date: Feb 2008
I also require help!
I am completely novice to all this and so have a very limited understanding of how to fix things myself. I added the forum statistics and they all show correctly at the bottom of forum home, when i click to view one of the last posts/hot threads it reloads the forum home page and hides all threads leaving me with just my shoutbox and the stats. I noticed the url that appears up the top after this shows something like /?t=1133 would i be correct in thinking this needs to be changed so it goes to /showthread.php?p=1133#post1133. Only semi-logical assumption i could make. Would greatly appreciate it if someone could point me in the right direction!
Reply With Quote
  #1444  
Old 27 Feb 2008, 12:24
akulion's Avatar
akulion akulion is offline
 
Join Date: Nov 2005
Real name: Aku
awsome! motm well deserved
Reply With Quote
  #1445  
Old 27 Feb 2008, 20:38
kewlpack kewlpack is offline
 
Join Date: Jan 2007
Wonderful mod. Love it - 5 stars!

One minor issue though... I noticed that the "new" indicator doesn't change when a person visits the thread having the new post(s). On returning to the main index, the thread still shows as having "new" posts. It only goes away if the User selects "Mark All Forums Read" from the Quick Links menu.

Is there a way to get that fixed? Please advise.
Reply With Quote
  #1446  
Old 28 Feb 2008, 07:01
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Question

Originally Posted by Subah View Post
Install it and work nice , but there is a problem with the latest forum news !!
its always emty ?
So what is the problem do you thick ?
my forum is 3.6.7 !
I Have the same Problem and I Confirm 100% that is a Code Problem, because I've Tested this Mod with 3.6.7 PL1 and with 3.6.8. PL2, and that Same Error Happened!!

I Told Cybernetec about this Error a Long Time Ago, and Many People Has Too, and it Started Happening since one of the Updates (Exactly Version 5.4, because Version 5.3 don't Have that Bug), so would be Nice for Cybernetec to Check Again the Coding on this Mod because it Has a Bug!!

I Hope You Can Fix it, for Now I'll be Using the Old Version that Works Fine and Shows the "Latest Forum News", until You Fix that Bug that Starting Happening After the Update of Version 5.4!!

I think that Cybernetec should Upload the Version 5.3 that don't Have that Bug, so that the Users that Reported that Bug can Use the Mod that don't Have that Problem!!

My Best Regards!!

Reply With Quote
  #1447  
Old 29 Feb 2008, 17:14
McMendo McMendo is offline
 
Join Date: Aug 2006
Another vote here towards the integration of a Latest Articles from the blogs.

Ideally, with an option to include which blogs / bloggers should be included while the rest remain excluded.
Reply With Quote
  #1448  
Old 01 Mar 2008, 03:02
jilly jilly is offline
 
Join Date: Jul 2002
Real name: jilly
How can I make it so guests cannot view the top 5 stats on forumhome? I think I would put the code

<if condition="$show['member']">

</if>

somewhere in a template, just not sure which one or where
__________________
(alphabetically) My Hacker Heros - Thank You Coders!! Your hard work and creativity is appreciated!
Abe1 - Andreas - Calorie - CMX_CMGSCCC - Cyb - Darkwaltz4 - Mosh - MrZeropage - Oblivion Knight - Paul M. - Phalynx - PixelFX - Psionic Vision - randominity - Sabret00the - tamarian - tehste - Tygertyger - Zachariah - Zero Tolerance
Reply With Quote
  #1449  
Old 01 Mar 2008, 16:57
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Lightbulb

Originally Posted by inciarco View Post
I Have the same Problem and I Confirm 100% that is a Code Problem, because I've Tested this Mod with 3.6.7 PL1 and with 3.6.8. PL2, and that Same Error Happened!!

I Told Cybernetec about this Error a Long Time Ago, and Many People Has Too, and it Started Happening since one of the Updates (Exactly Version 5.4, because Version 5.3 don't Have that Bug), so would be Nice for Cybernetec to Check Again the Coding on this Mod because it Has a Bug!!

I Hope You Can Fix it, for Now I'll be Using the Old Version that Works Fine and Shows the "Latest Forum News", until You Fix that Bug that Starting Happening After the Update of Version 5.4!!

I think that Cybernetec should Upload the Version 5.3 that don't Have that Bug, so that the Users that Reported that Bug can Use the Mod that don't Have that Problem!!

My Best Regards!!

I Finally Found the Solution for this Problem, and I'm Happy is Not a Bug:

In the "Cyb - Advanced Forum Statistics" Options, there is an Option under the "Stats Details" Section, named "Latest News forums (List IDs, separate with commas)"; in that Text Field you Should Set the IDs of he Forums You Want to Show in the "Latest Forum News" List in the Statistics!!

Again I'm Happy that this was Not a Bug, and Lots of Thanks to Cybernetec for Sharing this Great Mod!!

My Best Regards!!

Reply With Quote
  #1450  
Old 01 Mar 2008, 17:42
meissenation meissenation is offline
 
Join Date: Apr 2005
Does anyone know how to make the News sort by the NEWEST post date instead of the original post date? We're using the Latest Posts and Latest News to separate two different types of threads. The Latest News sorts based on the original post instead of bumping threads to the top when there's a new post.
Reply With Quote
  #1451  
Old 02 Mar 2008, 22:55
BelMaseto BelMaseto is offline
 
Join Date: Jul 2006
Wow !!! Awesome.

Thanks, men.

Installed.
Reply With Quote
  #1452  
Old 03 Mar 2008, 07:14
legionofangels's Avatar
legionofangels legionofangels is offline
 
Join Date: Mar 2007
Originally Posted by inciarco View Post
I Finally Found the Solution for this Problem, and I'm Happy is Not a Bug:

In the "Cyb - Advanced Forum Statistics" Options, there is an Option under the "Stats Details" Section, named "Latest News forums (List IDs, separate with commas)"; in that Text Field you Should Set the IDs of he Forums You Want to Show in the "Latest Forum News" List in the Statistics!!

Again I'm Happy that this was Not a Bug, and Lots of Thanks to Cybernetec for Sharing this Great Mod!!

My Best Regards!!

Yep, it was there the whole time. Not a bug, you just need to select which forum to have the posts display. Obviously, we chose our News forum, never had a problem with it.

On the issue of discovery I have found the fix to my problem. Our board uses a custom font setting and it created a dead space on the bottom of the Latest Post section. There should have been a <br> in the coding of the add on for a separation between the category information and the actual results in the Latest Posts but there wasn't one. With no help from the actual author I found a solution to my problem, even though I cannot implement it at this time without my pc with photoshop actually working.

BUT if any of you use a custom font and you run into spacing problems consider changing the

post_old
post_new

gifs in your icons/statusicons folder of your ftp. I noticed that the bigger image I use the more the spacing is balanced out.

I'm going to fix this tomorrow hopefully or whenever I can make the image that I want. So to view my error you may do so for the next 24 hours or so, but I'm sure I attached it earlier in this thread.

http://www.legionofangels.net/forum

And you can see how changing those gifs affected my spacing in this image:

http://img.photobucket.com/albums/v3...on_666/fix.gif

--------------------------

Our forum is heavily customized so if yours is anything like mine and you have a similar problem, try this out. Also for some reason the post old and post new in the threads are in my Styles folders on my ftp, so I actually have to make this change in several locations. Be sure to check your files if you have a similar set up.
__________________


Christian discussion, support, & fellowship
Reply With Quote
  #1453  
Old 05 Mar 2008, 10:48
meissenation meissenation is offline
 
Join Date: Apr 2005
Originally Posted by meissenation View Post
Does anyone know how to make the News sort by the NEWEST post date instead of the original post date? We're using the Latest Posts and Latest News to separate two different types of threads. The Latest News sorts based on the original post instead of bumping threads to the top when there's a new post.
Anyone? It should be something fairly simple, I just don't know PHP well enough to do this. I figure some where in the code it just needs to grab the newest post date instead of original post date.
Reply With Quote
  #1454  
Old 05 Mar 2008, 21:41
Valter Valter is offline
 
Join Date: Aug 2005
Are you sure you want threads from last year to be listed at the top of "Latest News" when someone replies to them?
Reply With Quote
  #1455  
Old 05 Mar 2008, 23:39
meissenation meissenation is offline
 
Join Date: Apr 2005
Yes, that's pretty much exactly what I need. We're actually using the Latest News as a secondary "Latest Posts." We have our website filtered into two categories and have set the Latest Posts to exclude a handful of forums, which the Latest News then uses -- although I've edited the phrase to be "Latest Technical Posts" So while we're trying to use Latest News as a secondary "Latest Posts" it's still organized by thread creation date, we need it by latest post date.

I did find how Latest Posts was using $get_new_posts so I went into the template for Latest News and changed $get_news_posts to be $get_new_posts but then it came up blank for everything so I had to change it back.
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 10:14.

Layout Options | Width: Wide Color: