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)

EasyTarget 08-01-2005 11:10 AM

thanks animewebby. I moved the stats to the top of the forum by including it under the navbar in the forumhome and I thought it'd look nice to have the other stats box run underneath it as well. I'll be messing around with the code you provided to see if I can figure something out, thanks again.

akanevsky 08-01-2005 12:13 PM

Quote:

Yah I was thinking that but that would mean that I would have to change the query to grab alot more results, changing the while loop to only run until there are 5 results SHOWN instead of while there are still results from the quert and check inside the loop.

And call me paedantic but I don't like using while loops like that, I'd prefer to somehow just grab the full query.
You just do it by incrementing $i or any other variable after actually showing the thread. On the other hand, I don't see why do you need to see threads that you cannot actually read (since they're in private forums).

dbembibre 08-01-2005 03:52 PM

Installed, work ok, thabks alot

InfiniteWebby 08-01-2005 10:04 PM

Quote:

Originally Posted by Dark Visor
You just do it by incrementing $i or any other variable after actually showing the thread. On the other hand, I don't see why do you need to see threads that you cannot actually read (since they're in private forums).

Yes but you still need to grab a query that will be substantially bigger than if you were to just grab the first 5.

And they are not in private forums. The can view others thread works so that you can still make your own new threads and view them, you just cant view others. Say you setup a feedback forum or something similar where only the admins could see all the threads and therefore reply to them however you can only see the threads you make, therefore preventing unwanted replies from other people. So it is imperitive to be able to see new replies in your thread on the top 5 stats without seeing other threads from the forum.

But like I said earlier. I think I have got a fix for this so you might see an update soon.

InfiniteWebby 08-02-2005 12:28 AM

Updated for username formatting based on usergroup settings.

Also updated the screenshots to see how such formatting works as well as how deleted threads work.

XtremeOffroad 08-02-2005 02:25 AM

Installed and worked great, Thanks.

Damien2005 08-02-2005 10:17 AM

Hi AnimeWebby,

Can you add the usergroup colors in to this great hack from you?
I love the top5 and would see it with more colors ;) so i hope you can added soon for us, you will make a lot people very happy

Best Regards
Damien..

Neal-UK 08-02-2005 10:21 AM

Quote:

Originally Posted by Damien2005
Hi AnimeWebby,

Can you add the usergroup colors in to this great hack from you?
I love the top5 and would see it with more colors ;) so i hope you can added soon for us, you will make a lot people very happy

Best Regards
Damien..

It already does, download the latest version ;-)

See > www.burnleyweb.com/forum

Damien2005 08-02-2005 10:26 AM

Oeps jup sorry I see it

Great hack thanks mate you rock vbulletin

yupfish 08-04-2005 09:26 PM

Could you provide us with a code to make a simple table with a border? Thank you.


All times are GMT. The time now is 08:19 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.01329 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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