vb.org Archive

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

theArchitect 09-27-2005 05:47 AM

Any chance of this being re-made as a plug-in so I can drop it onto my home page in the whats going on area?

Love the mod, just don't like that it is on a page all by itself.

Paul M 09-27-2005 07:21 AM

I wouldn't recommend having it on the homepage of a large board - the queries can be quite intensive if you have a large number of posts per month.

I don't intend to make it as a plugin, but you could do what you want pretty easily I think - just copy lines 18 to 80 of the code from the file to a plugin using the forumhome_start hook - and copy the table template code (i.e. the stuff between the <table> and </table> tags ) from the top_posters template into the forumhome template, above or below the "What' going on" table, depending on your preference. You might want to make it the Top 5 as well - for space reasons.

theArchitect 09-27-2005 07:32 AM

Quote:

Originally Posted by Paul M
I wouldn't recommend having it on the homepage of a large board - the queries can be quite intensive if you have a large number of posts per month.

I don't intend to make it as a plugin, but you could do what you want pretty easily I think - just copy lines 18 to 80 of the code from the file to a plugin using the forumhome_start hook - and copy the table template code (i.e. the stuff between the <table> and </table> tags ) from the top_posters template into the forumhome template, above or below the "What' going on" table, depending on your preference. You might want to make it the Top 5 as well - for space reasons.

Interesting. I don't have a massive board, but hope to in the future, so I will follow your advise and keep it as a seperate page.

Trevor Hannant 09-27-2005 07:27 PM

Quote:

Originally Posted by Trevster
Has anyone been able to write code to show the top average posters (ie. posters with highest 'posts per day')?

Realise this may be a 'messy' one to try but before I do, want to check if anyone else has been able to........

Paul, any thoughts on this or how to have this seperately somewhere?

Paul M 09-27-2005 09:14 PM

Quote:

Originally Posted by Trevster
Paul, any thoughts on this or how to have this seperately somewhere?

Not at the moment, but I'll keep it in mind.

Aeolian 09-28-2005 11:54 PM

this ia a great addon.. :)

is it compatible with vb 3.5 gold..

thanx~

Paul M 09-29-2005 12:32 AM

It'll work with any 3.5 version.

Vizionz 09-29-2005 12:52 AM

installed worked fine for me on gold

csidlernet 09-29-2005 02:02 AM

sweet. very nice i like!

chanzero 09-29-2005 05:15 AM

Quote:

Originally Posted by csidlernet
sweet. very nice i like!

installed it -- cool :)

can anyone tell me how i could make this link appear in the Quick Links instead though?


All times are GMT. The time now is 12:41 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.01252 seconds
  • Memory Usage 1,733KB
  • 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
  • (4)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