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)

havefun 10-13-2005 09:30 PM

/me cklicked install

nice nice THX

Extreme John 10-14-2005 07:12 PM

first of all nice hack paul m, you're the best! :D

ive installed it and it was awesome :) i was just wodering if anybody tried making this mod display at vb cmps page? ive seen somebody did it on the forumhome, so i think its quite possible

Keyser S?ze 10-15-2005 02:07 AM

is it possible t set this to like, top 50?

Paul M 10-15-2005 04:08 AM

If you edit the code, yes. I think 50 is a bit extreme.

JagFan 10-16-2005 04:30 PM

Installed - Thanks!

chabbs 10-17-2005 02:36 PM

Hi,

I'm curious to know where the results of the top posters are displayed?

Paul M 10-17-2005 03:36 PM

On your screen when you go to the top posters page ......

chabbs 10-17-2005 03:42 PM

Quote:

Originally Posted by Paul M
On your screen when you go to the top posters page ......

The link to the top poster page is added to the navbar?

Paul M 10-17-2005 04:08 PM

Yes.

chabbs 10-17-2005 07:09 PM

Thanks for the replies. I installed it, works great!

Telegon80 10-20-2005 01:18 AM

bah i installed it per the instructions and i get a blank page........ :mad:

Paul M 10-20-2005 02:03 AM

Then you didn't do it right :)

The template name is case sensitive, I would guess you haven't called it "Top_Posters".

Telegon80 10-21-2005 12:57 AM

okey i took everything off completely and then tried it again and it works. sweet as hell. thanks!

romow 11-02-2005 01:25 AM

Hi, thanks for the mod.
btw, can this hack be extended to include top-10 posters in terms of "post counts of the current month"?

that would be awesome..

Snake 11-02-2005 06:46 AM

Thanks, installed! :)

Paul M 11-06-2005 10:38 PM

A new version [3.01] of this has now been released. Please read the main post for details.

theArchitect 11-06-2005 10:55 PM

A couple of silly questions, but...

How do I delete the old top posters template?

I have specified that I want 20 posters in my list (through the Admin CP), but only 10 are being displayed.

Paul M 11-06-2005 11:00 PM

Quote:

Originally Posted by theArchitect
A couple of silly questions, but...

How do I delete the old top posters template?

I have specified that I want 20 posters in my list (through the Admin CP), but only 10 are being displayed.

You don't actually need to delete the old template, as it's also used by the new version.

I've just set mine to 20 and it's fine, are you sure the setting has been changed ?

Edit: Nevermind I see what you mean, i'll fix that now. :)

theArchitect 11-06-2005 11:04 PM

Quote:

Originally Posted by Paul M
You don't actually need to delete the old template, as it's also used by the new version.

I've just set mine to 20 and it's fine, are you sure the setting has been changed ?

Edit: Nevermind I see what you mean, i'll fix that now. :)

Thanks. Though, for general reference, how do I delete a template anyway?

I know how to delete a whole style, but can't seem to find an option to remove a specific template.

Paul M 11-06-2005 11:12 PM

Okay, fixed that little oversight (uploaded).

I don't know how you would delete a single template from the master set, there doesn't seem to be a way to do it.

theArchitect 11-06-2005 11:16 PM

Quote:

Originally Posted by Paul M
Okay, fixed that little oversight (uploaded).

I don't know how you would delete a single template from the master set, there doesn't seem to be a way to do it.

I guess that the boys and girls at Jelsoft figured that people (non-coders) might get into trouble if they started deleting templates, thought one can mess up a board just as easily by playing with the PHP files.

But given the number of people that mod boards they should add it.

And thanks for the updated file.

Uploaded and working.

theArchitect 11-06-2005 11:21 PM

I have just done a little digging.

You can't delete a core template, only revert it to its original state.

However, if you use the revert function on a custom template then it gets deleted. Unless the template is added by a product then it just gets reverted to the original template layout defined in the product.

Paul M 11-06-2005 11:27 PM

Actually, uninstalling the product will remove any templates associated with it. :)

theArchitect 11-06-2005 11:30 PM

Quote:

Originally Posted by Paul M
Actually, uninstalling the product will remove any templates associated with it. :)

Yep, I was thinking for templates added manually, rather than those which come with a product.

Paul M 11-06-2005 11:37 PM

Quote:

Originally Posted by theArchitect
Yep, I was thinking for templates added manually, rather than those which come with a product.

Well you could fudge it by creating a dummy product, assigning the template to it, and then uninstall the product ....

Anyway, this probably isn't the best place to discuss this ;)

SnowBot 11-07-2005 08:53 AM

Thanks for the update atey

Snake 11-07-2005 03:14 PM

Yeah thanks for the update bro.

Snake 11-07-2005 03:15 PM

Uh by the way Paul, have you ever thought of making this hack, please?

https://vborg.vbsupport.ru/showthread.php?t=99517

I am really looking forward to it. Thanks in advance!

Paul M 11-07-2005 04:31 PM

Quote:

Originally Posted by Aftermath
Uh by the way Paul, have you ever thought of making this hack, please?

https://vborg.vbsupport.ru/showthread.php?t=99517

I am really looking forward to it. Thanks in advance!

Why would I want to make another top posters hack ?

Sorry, but I'm happy with this one, I don't have time to re-invent the wheel. :)

Snake 11-07-2005 07:45 PM

Gah that's sad... :(

lazytown 11-07-2005 08:12 PM

This is a great mod! Why are you complaining?

-vissa

lazytown 11-07-2005 08:13 PM

I was thinking I would write a little cronjob that would run this every hour and save it as html. That way it won't hammer the server every time a user requests it. Do you think that would be a good way to reduce the load this puts on a server?

-vissa

lazytown 11-07-2005 08:28 PM

One thing that would be cool is if it had another table that showed top reputations per period of time (is that even possible?)... For example, top user reputation overall, top reputation points earned in last 30 days, etc... Perhaps even a ratio between posts and reputation earned over that period of time. Is that a wacko idea? :) I think that would make this the ultimate top user mod.

-vissa

lazytown 11-07-2005 08:44 PM

Last question from me (promise). How would I remove certain forums from the postcount? I'm assuming I could change the SQL querry - but I might need a little help.

Thanks
-vissa

mojahudba 11-07-2005 08:57 PM

i instal but dunno where its gone ? ? anyway love all your hacks

Paul M 11-07-2005 09:42 PM

Quote:

Originally Posted by Aftermath
Gah that's sad... :(

That's life I'm afraid. vB is a hobby, not a career.

I just about have time to do, and support, the stuff I do for free, and a few small paid jobs every now and then.

Paul M 11-07-2005 09:47 PM

Quote:

Originally Posted by vissa
This is a great mod! Why are you complaining?

Thank you.


Quote:

Originally Posted by vissa
I was thinking I would write a little cronjob that would run this every hour and save it as html. That way it won't hammer the server every time a user requests it. Do you think that would be a good way to reduce the load this puts on a server?

I think that sounds like overkill. Unless you have a huge forum (> 1000 posts a day) and people are viewing this all the time, then the load is not going to worry you.

Quote:

Originally Posted by vissa
One thing that would be cool is if it had another table that showed top reputations per period of time (is that even possible?)... For example, top user reputation overall, top reputation points earned in last 30 days, etc... Perhaps even a ratio between posts and reputation earned over that period of time. Is that a wacko idea? :) I think that would make this the ultimate top user mod.

That would be a whole different hack.

Quote:

Originally Posted by vissa
Last question from me (promise). How would I remove certain forums from the postcount? I'm assuming I could change the SQL querry - but I might need a little help.

Yes, you would need to add some code to the SQL WHERE lines.

Paul M 11-07-2005 09:47 PM

Quote:

Originally Posted by mojahudba
i instal but dunno where its gone ? ? anyway love all your hacks

Erm, where has what gone ?

lazytown 11-08-2005 03:52 AM

Quote:

Originally Posted by Paul M
I think that sounds like overkill. Unless you have a huge forum (> 1000 posts a day) and people are viewing this all the time, then the load is not going to worry you.

Well I guess we have a huge forum since we get over 1500 posts per day (sometimes 2000 or more). I guess it does depend how often it is clicked though. Mine takes about 2.5 secs when I run the top 10 posters, according to ministats.

Quote:

Originally Posted by Paul M
Yes, you would need to add some code to the SQL WHERE lines.

Any specifics?

Thanks
-vissa

Paul M 11-08-2005 04:07 AM

Quote:

Originally Posted by vissa
Well I guess we have a huge forum since we get over 1500 posts per day (sometimes 2000 or more). I guess it does depend how often it is clicked though. Mine takes about 2.5 secs when I run the top 10 posters, according to ministats.

Yeah, that's quite slow, but my guess it that's only a small number os times pre hour, it's not a page people keep viewing minute after minute.

Quote:

Originally Posted by vissa
Any specifics?

No at the moment, but thinking about it, it will add extra joins to the queries, as well as the extra 'where' logic. Not recommended - esp on a forum your size - it would drive that 2.5 seconds up significantly.


All times are GMT. The time now is 04:20 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.01673 seconds
  • Memory Usage 1,818KB
  • 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
  • (17)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
  • (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