vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Top 10 Posters Display (https://vborg.vbsupport.ru/showthread.php?t=82254)

ericgtr 05-31-2005 03:55 AM

Cool mod Paul, Installed! (tomorrow that is :) )

Paul M 05-31-2005 07:11 AM

A small typo in the instructions has been fixed.

Ala21 05-31-2005 12:30 PM

Hi Paul, this is what I was waiting for! :)

How do I display the top posters in the navbar just to the Forum Admins? I assume this can be done through conditions.. any advice on what to edit and how? Thank you!

hollyboy 05-31-2005 01:54 PM

nice hack and very easy to install :)
Got 2 questions:

1) can u remove the url from the template?
2) in the list are shown also the banned users, how to avoid this please?


Thanks :)

Paul M 05-31-2005 03:17 PM

Quote:

Originally Posted by Ala21
Hi Paul, this is what I was waiting for! :)

How do I display the top posters in the navbar just to the Forum Admins? I assume this can be done through conditions.. any advice on what to edit and how? Thank you!

Put an if condtional around the link code ;

Code:

<if condition="$bbuserinfo['usergroupid'] == 6">
Navbar Link Code
</if>


Paul M 05-31-2005 03:22 PM

Quote:

Originally Posted by hollyboy
1) can u remove the url from the template

Sorry, please explain what you mean as I don't quite understand.

Quote:

Originally Posted by hollyboy
2) in the list are shown also the banned users, how to avoid this please?

You cannot do this without making the sql queries more complicated. Since banned users cannot post they will soon fall out of the first three columns anyway. Set their post count to 0 via user admin to remove them from the overall list.

Ala21 05-31-2005 04:05 PM

Thank you Paul, everything works great!

installed ;)

Paul M 05-31-2005 06:48 PM

Quote:

Originally Posted by Ala21
Thank you Paul, everything works great!

Glad to hear it. :)

hollyboy 05-31-2005 08:03 PM

I noticed the page loads a bit slower compared to other forum pages.
It means lot of queries are running? It means lot of bandwith is used?

Gemma 05-31-2005 08:13 PM

Quote:

Originally Posted by Paul M
Doh ! - I added it to the wrong array - fixed - just replace the php with the new one. :smoke:

Thank You Paul :)


All times are GMT. The time now is 06:51 AM.

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.01106 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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