vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Top 'X' Stats (https://vborg.vbsupport.ru/showthread.php?t=93065)

Club3G 11-18-2005 02:20 PM

Any chance of getting code to show reputation? Latest users is kinda blah.

teedizz 11-24-2005 03:19 AM

hello, i just installed this & it works great but one problem is that it shows up in the parent style but not in the child styles...how can i get this to show in the child styles?

poolking 11-24-2005 06:04 AM

Quote:

Originally Posted by teedizz
hello, i just installed this & it works great but one problem is that it shows up in the parent style but not in the child styles...how can i get this to show in the child styles?

Have you edited the FORUMHOME template in all of the styles?

mainframe 11-25-2005 12:54 PM

Hi Infinityweb,

Did you ever thought about the serverload?
a query suchs as your would defenitly slow down your page with your plugin installed. Als the forumcache table your using to get forum permissions is too big to access all the time.
Actually I think if someone would install your plugin it will use more than the whole vbulletin itself :ermm:

I think you should find a workarround for the forum permissions and try to get them in a different way, because now it's loading the whole forumcache. but only the last 5 posts are needed.

Regards,
MainFrame

InfiniteWebby 11-25-2005 11:40 PM

Quote:

Originally Posted by mainframe
Hi Infinityweb,

Did you ever thought about the serverload?
a query suchs as your would defenitly slow down your page with your plugin installed. Als the forumcache table your using to get forum permissions is too big to access all the time.
Actually I think if someone would install your plugin it will use more than the whole vbulletin itself :ermm:

I think you should find a workarround for the forum permissions and try to get them in a different way, because now it's loading the whole forumcache. but only the last 5 posts are needed.

Regards,
MainFrame

I would welcome any suggestions you might have but experience has shown me that people who install this hack do not want their users to see what they shouldn't and therefore the newest posts must be grabbed on a per user basis.

As for server load I haven't really looked into it with and without this hack and don't really plan to as load isn't solely based on the one page load however the query you talk about takes a fraction of time to load, even if it is on my relatively small board.

Time Before: 0.37994 seconds
Time After: 0.38122 seconds
Time Taken: 0.00128 seconds

So at the moment load isn't a concern to me. If you find your forum slows up when this hack is installed then you are welcome to uninstall it.

shama 11-26-2005 02:37 PM

Thanks it works with me......

caliman 11-26-2005 02:37 PM

Quote:

Originally Posted by InfiniteWebby
I would welcome any suggestions you might have but experience has shown me that people who install this hack do not want their users to see what they shouldn't and therefore the newest posts must be grabbed on a per user basis.

Perhaps a couple options via admin CP:

Queries:
1)Per User
2)Last 5 with private board screening
3)Raw last 5

Display:
() Latest Posts
() Newest Members
() Highest Posters
() Highest Rep
() Most Active Members

- This would be radio buttons with multi-select options

Like you said, your board is small. Just a guess, but I'd think the difference would magnify with big boards. I love your mod, but these pulls have bothered me a little. I'd love to see some of the above available for speed freaks like me.

mainframe 11-27-2005 03:00 AM

Hi Infinityweb,

thanks for your fast reply.
I have turned on debug mode and found the problem.
I have arround 90.000 registerred users on my forum(www.funfiles.ws) and arround 1500 online practicly every day arround 19:00. Because your plugin is sorting them on posts it's taking 0.34 seconds to get the top users from the database.
I've added an index in the mysql table users for posts and now it's only taking 0.0008 seconds so thats defenitly a change..

If anyone uses your plugin and have many registerred users and lots of them online I would suggest the same. add an index for posts in the user table by executing the below query in your admincp

Code:

ALTER TABLE `user` ADD INDEX ( `posts` )
Kindest Regards,
MainFrame

tormodg 11-27-2005 11:51 AM

This is a really nice hack...but I would *love* to see a "Top thread starters" stats in it! :)

Qwest 11-27-2005 02:05 PM

It doesn't work for me...

I installed it and get no errors but it's not showing up on the forumhome.

Is there a settign I need to adjust to get it to display?

I notice the code for forumhome says:
Code:

<if condition="$show['topXstats']">
        $topXstats
        </if>

So where do I set that condition to true??


All times are GMT. The time now is 08:14 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.01326 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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