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)
-   -   Statistics Modifications - VSa - Advanced Forum Statistics (AJAX) (https://vborg.vbsupport.ru/showthread.php?t=235841)

Valter 02-13-2010 10:00 PM

VSa - Advanced Forum Statistics (AJAX)
 
1 Attachment(s)
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 "None")
To activate another location:
a) add THIS_SCRIPT name to "Stats on pages" field in product options
b) add template name to "Stats in templates" field in product options
c) add "{vb:raw vsatopstats}" to the template you added Stats to


Notes:
-To set options go to: vBulletin Options > VSa - Advanced Forum Statistics
-"Top Thanked" requires Abe1's "Post Thanks" or Scandal's "Thumbs Up?" products to work
-"Latest Donations" requires "VSa - 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 pages" setting 3.-Add "FORUMHOME" to "Stats in templates" setting 4.-Add "{vb:raw vsatopstats}" wherever you wish in FORUMHOME template.
-If Top Stats box is messed up 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:
-Import XML file (as product) through AdminCP: Plugin System > Manage Products > [Add/Import Product]

Versions:
v1.0 - Jun 12. 2006.
-First release
v6.6.1 - May 14. 2009.
-Latest vB 3.x version
v7.0 - Feb 14. 2010.
-First vB4 release
-Fixed some previous version bugs, optimized code
v7.0.1 - Feb 16. 2010.
-Fixed: Newpost/lastpost linking in 'Latest Posts'
-Fixed: Errors with PHP 5.3
-Fixed: AFS table messed up in footer
-Fixed: Several style errors, including XHTML incompatibilities
-New: Auto-insert on forumhome location - Below Forums
v7.0.2 - Feb 22. 2010.
-Fixed: Several style issues for unregistered users
-Fixed: 'Latest Donations' issues
-Fixed: Import error on some configs
-Fixed: Minor bugs
v7.0.3 - Apr 12. 2010.
-Fixed security bug (user able to set number of results manually)
v7.0.4 - Jan 14. 2012.
-Fixed: Status icons must be GIFs
-Fixed: Status icon overlay problems in Chrome and Safari
-Fixed: Drop-down menu items invisible until highlighted
-Fixed: Last unread post links not compatible with vBSEO
-Fixed: Search Member's posts shows results as threads
-Added: Rich thread prefix support
-Improved: CSS compatibility
-Minor bugs fixed
v7.0.5 - Jan 15. 2012.
-Links in Latest Posts are now fully SEO compatible
-New option: Automatically disable auto-refresh if server load is higher than X
v7.0.6 - Jan 17. 2012.
-Fixed: Prefixes linked in some thread stats
v7.0.7 - Jan 22. 2012.
-New: Show Stats in selected forum only
-Fixed: Some style issues
-Improved: Product menu style
-Improved: Menu disappears on click
-Changed background color variable: 'editor_background' used for better compatibility with custom styles
v7.0.8 - May 27. 2012.
-Fixed: QL Enable Stats link in vB 4.2
v7.0.9 - Jul 07. 2012.
-Fixed: Hide on misc.php requests not related to Stats
v7.1 - Avg 02. 2012.
-New: Top Thanked now works with "Thumbs Up?" system by Scandal
-Note: Above still works with "Post Thanks" system by Abe

princeedward 02-14-2010 02:28 PM

Great....First One....Million Thanks Valter... ;)

Marked Installed - Nominated - 5 Rated Star

:p:up:

fogjuice 02-14-2010 02:37 PM

OMG this can't be! Finally! :D

music legend 02-14-2010 02:39 PM

thanks looks awesome. nice work

fogjuice 02-14-2010 02:44 PM

I hate to be a pain in the ass, but is there any way you can clean up the display a bit?

Use this mod for an example https://vborg.vbsupport.ru/showthrea...232811&page=19. Although it doesn't work with 4.0.1, the creator was able to create a very clean and easy to use interface that surpassed any other statistics mod for 4.x.

Once you clean up the display a bit, this mod will be better. ATM the text is clumped together and it is not organized very well. Nonetheless, great job and I can't wait to see it improved. You are a great modder we appreciate all your contribution to the community.

fogjuice 02-14-2010 02:50 PM

Also, "{vb:raw vsatopstats}" doesn't work if you turn on "no-auto insertion". I want to custom place this in my FORUMHOME but when no-aution insertion is turned on, the mod doesn't display. However, if I turn on "below navbar" and also place {vb:raw vsatopstats} in custom position, it display's the mod x 2.

iguano 02-14-2010 02:53 PM

1 Attachment(s)
installed but i have a little problem :p

denman75 02-14-2010 02:56 PM

tnx but its giving me problems with the templates
the default and custom templates looks like the mod is somerhwere behind it ,since i see some words from the mod behind it

see screenshot
http://img96.imageshack.us/img96/467...3176520177.jpg

edit its same as iguano has now :(

drummaster 02-14-2010 03:07 PM

Thanks for this been diying for this

Marked Installed

fogjuice 02-14-2010 03:15 PM

Quote:

Originally Posted by iguano (Post 1982178)
installed but i have a little problem :p

Quote:

Originally Posted by denman75 (Post 1982181)
tnx but its giving me problems with the templates
the default and custom templates looks like the mod is somerhwere behind it ,since i see some words from the mod behind it

see screenshot
http://img96.imageshack.us/img96/467...3176520177.jpg

edit its same as iguano has now :(

I had the same problem at first, you have to go into the options and set "Main Top Stats box on ForumHome" and click save. Then it will work.

goyo 02-14-2010 03:16 PM

GREAT WORK

Now the last thing I'm waiting for:
"Latest Donations" requires "VSa - PayPal Donate" hack to work"

There's no VSa - PayPal Donate hack out yet....right ? :)

venom2124 02-14-2010 03:24 PM

Thanks been waiting for this one. The world is right again.

iguano 02-14-2010 03:26 PM

Quote:

Originally Posted by fogjuice (Post 1982195)
I had the same problem at first, you have to go into the options and set "Main Top Stats box on ForumHome" and click save. Then it will work.

if i set in "below navbar it's ok, "Above footer" no.

Giray 02-14-2010 03:32 PM

Perfection.

princeedward 02-14-2010 03:35 PM

Guys...To Place it Easy Manually...anywhere to your FORUMHOME you have to set it like this...


Go > ACP > vB Options > VSa - Advanced Forum Statistics



Main Top Stats box on ForumHome - No Auto Insertion

Show Stats on pages (OPTIONAL) - Index
Note: Read Info.txt for explanation on this function

Show Stats in templates (comma separated template names) - FORUMHOME

======================================
Manually Insert This Code Anywhere You Like: ( Find The Blue/ Insert The Red )
======================================

====================
Below Header / Logo
====================

{vb:raw header}

{vb:raw vsatopstats}

=====================
Below Navbar Chatbox
=====================

{vb:raw navbar}

{vb:raw vsatopstats}


=======================================
Below: Mark Forums Read | View Site Leaders
=======================================


{vb:rawphrase view_forum_leaders}
</vb:if>
</a></vb:if>
</div>


<!-- VSa - Advanced Forum Statistics (AJAX) -->
{vb:raw vsatopstats}
<!--VSa - Advanced Forum Statistics (AJAX) -->







============================
Below What's Going On or Footer
============================

<!-- end what's going on box -->

{vb:raw vsatopstats}



or anywhere you like....


NOTE: To Avoid To Wide: Reduce or Adjust This:

Trim Thread/Blog Titles (0 - forum default, 1 - no trimming)
Trim Forum/Group Titles (0 to disable)
Trim Usernames (0 to disable)
Space between cells (in pixels)


LIVE DEMO HERE


goodluck and best regards to all ...

once again let's thanks Valter for this or all of his wonderful mods....and always be patience for any problem you will encounter...or let's not be a pain in his ass by complaining something imidiately....instead if you have too much money and enough....buy him a beer...so he can work faster and perfectly about updating all his mod hack...


:p:up:

Abhik 02-14-2010 03:43 PM

Thanks..

doemasters 02-14-2010 04:00 PM

tried and unable to get it working

thanks anyway

Brew 02-14-2010 04:07 PM

Is there a way to include this on vBCMS homepage?

egyptsons 02-14-2010 04:18 PM

Thanks :)))

Brew 02-14-2010 04:20 PM

1 Attachment(s)
When I put this at the bottom of the forums I get the following:

denman75 02-14-2010 04:23 PM

Quote:

Originally Posted by iguano (Post 1982207)
if i set in "below navbar it's ok, "Above footer" no.

same here ,its not working on above footer :(
tnx anyway

synseal 02-14-2010 05:16 PM

Just bug to add when you get chance to look at this Valter, when auto adding it under navbar the bottom surround doesn't show, see picture.

https://vborg.vbsupport.ru/external/2010/02/46.png

Thanks for this, great mod!.

3raq4all 02-14-2010 05:18 PM

thank you very much
really great
i'v been waiting for this addon for a long time

mainframe 02-14-2010 05:21 PM

Getting mysql errors during install, seems it has to do with the query that looks for the post thank you hack..

Quote:

Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/xxx/public_html/includes/adminfunctions_plugin.php(450) : eval()'d code on line 13

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/xxx/public_html/includes/adminfunctions_plugin.php(450) : eval()'d code on line 13
And after install PHP errors

Quote:

Deprecated: Function split() is deprecated in /home/xxx/public_html/global.php(28) : eval()'d code on line 13

Deprecated: Function split() is deprecated in /home/xxx/public_html/global.php(28) : eval()'d code on line 443
Since split() is deprecated since PHP 5.3 it's better to use explode().

Hornstar 02-14-2010 05:38 PM

Tagged for when I upgrade. Nice to see this updated. Thanks.

Tize. 02-14-2010 06:16 PM

Installed!! Nominated!!! 5 Stars!!!
Thanks mate.

rizelim 02-14-2010 06:17 PM

thanks !@Valter

COL NIL SATIS 02-14-2010 06:52 PM

brilliant..will install this when my pc is backrunning smoothly...have waited for this mod and loved it on 3.8.4 brilliant work Valter

skylab 02-14-2010 06:55 PM

amazing!!! thank you!

jayzy1 02-14-2010 07:16 PM

been waiting for this- great work and many thanks

TimberFloorAu 02-14-2010 07:24 PM

Great concept , thanks for re-launching for vb4 but alignment issue needs resolving. Thanks Edward for your guide.

Ste ( will wait for fix )

RedHacker 02-14-2010 08:13 PM

<!-- end what's going on box -->

{vb:raw vsatopstats}

Not work this.. I try..!!!

princeedward 02-14-2010 08:37 PM

Quote:

Originally Posted by RedHacker (Post 1982407)
<!-- end what's going on box -->

{vb:raw vsatopstats}

Not work this.. I try..!!!

did you really follow my instruction buddy...well you can visit my site and view it under what's going on box

:p

TimberFloorAu 02-14-2010 08:43 PM

1 Attachment(s)
Quote:

Originally Posted by princeedward (Post 1982423)
did you really follow my instruction buddy...well you can visit my site and view it under what's going on box

:p

Yours is not loading Edward.

princeedward 02-14-2010 08:46 PM

1 Attachment(s)
Quote:

Originally Posted by TimberFloorAu (Post 1982429)
Yours is not loading Edward.

really mate?...how come i'm not seeing any error here on my side...maybe it's guest permission not allowed to view...i must check it...pls. view my attachment and just posted new for a test...

;)

DeviantFlash 02-14-2010 08:58 PM

Could someone give me some direction of where to put the code if I want to put it immediately under the Mark Forums Read-View Site Leaders line on the forum home page?

Thanks in advance.

princeedward 02-14-2010 09:03 PM

1 Attachment(s)
Quote:

Originally Posted by DeviantFlash (Post 1982439)
Could someone give me some direction of where to put the code if I want to put it immediately under the Mark Forums Read-View Site Leaders line on the forum home page?

Thanks in advance.

here try this....find the red one insert the green


{vb:rawphrase view_forum_leaders}
</vb:if>
</a></vb:if>
</div>


<!-- VSa - Advanced Forum Statistics (AJAX) -->
{vb:raw vsatopstats}
<!--VSa - Advanced Forum Statistics (AJAX) -->


SETTINGS:


Main Top Stats box on ForumHome - No Auto Insertion

Show Stats on pages (OPTIONAL) - Index
Note: Read Info.txt for explanation on this function

Show Stats in templates (comma separated template names) - FORUMHOME



goodluck and best regards

:p

zbosskiller 02-14-2010 09:06 PM

Quote:

Originally Posted by princeedward (Post 1982431)
really mate?...how come i'm not seeing any error here on my side...maybe it's guest permission not allowed to view...i must check it...pls. view my attachment and just posted new for a test...

;)

Yeah your site shows the loading issue Edward. Only on the main forum page though, seems the two ajax mods are messing with eachother. If you go to any other page, i.e. your arcade, the shoutbox loads fine.

Try auto inserting your shoutbox using the drop down in options, and adding the stats mod via template mod, this worked for me.

Z

DeviantFlash 02-14-2010 09:15 PM

Quote:

Originally Posted by princeedward (Post 1982442)
here try this....find the red one insert the green


{vb:rawphrase view_forum_leaders}
</vb:if>
</a></vb:if>
</div>


<!-- VSa - Advanced Forum Statistics (AJAX) -->
{vb:raw vsatopstats}
<!--VSa - Advanced Forum Statistics (AJAX) -->


SETTINGS:


Main Top Stats box on ForumHome - No Auto Insertion

Show Stats on pages (OPTIONAL) - Index
Note: Read Info.txt for explanation on this function

Show Stats in templates (comma separated template names) - FORUMHOME



goodluck and best regards

:p

That doesnt work.

princeedward 02-14-2010 09:18 PM

Quote:

Originally Posted by zbosskiller (Post 1982444)
Yeah your site shows the loading issue Edward. Only on the main forum page though, seems the two ajax mods are messing with eachother. If you go to any other page, i.e. your arcade, the shoutbox loads fine.

Try auto inserting your shoutbox using the drop down in options, and adding the stats mod via template mod, this worked for me.

Z

like i said...as far as i can see it...they are fine...test it with FF and IE...hmmm...:rolleyes: thanks anyway for informing me...and for the tips... ;)


All times are GMT. The time now is 06:27 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.02350 seconds
  • Memory Usage 1,840KB
  • 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
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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