Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[Improvement] vBStats -> Top Posters list PHP-code improvement (much less queries) Details »
[Improvement] vBStats -> Top Posters list PHP-code improvement (much less queries)
Mod Version: 1.00, by KuraFire (Member) KuraFire is offline
Developer Last Online: Jan 2007 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 7
Released: 13 Feb 2003 Last Update: Never Downloads: 2
Not Supported  

HACK: [Improvement] vBStats -> Top Posters list PHP-code improvement (much less queries)
BY: KuraFire [www.kurafire.com]
DESCRIPTION: Instead of a max. total of 30 queries to list the users in your vBStats -> Top Posters
section, this code uses 3 queries.
DIFFICULTY: Very Easy
INSTALL-TIME: 1 minute I'd say
STEPS: 3


EXTENDED DESCRIPTION:
This hack improves the Top Posters code section of vBStats. It lists roughly the same thing, the only difference
is that this takes the user's postcount instead of doing a COUNT(*) query on the (big) `post` table in the database. However, the second and third columns still do those queries that way because it's impossible to do them otherwise. What this means is that if you use forums where posts don't count for the postcount, a new member who spams enough in one of such forums could be listed in the second/third columns as having "200 posts" while he/she doesn't yet appear in the left column, since this user's Postcount field will still be low (because (s)he posted only in a forum where it doesn't count for the postcount field).
This isn't a big problem, though. Who'd be happy to have such a member on the board anyway?


Install instructions are in the attachment

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
small improvement AskaniSon[RS] vBulletin 3.0 Styles 4 12 Mar 2005 20:14
[Improvement] vBStats -> Member Referrer list PHP-code improvement (much less queries KuraFire vBulletin 2.x Full Releases 23 15 Feb 2003 10:31
Announcement Improvement rake vBulletin 2.x Full Releases 15 03 Dec 2002 11:59

Comments
  #2  
Old 13 Feb 2003, 11:40
Bane's Avatar
Bane Bane is offline
 
Join Date: Oct 2001
As much as I like that your improving it I think starting a new thread for each modification of the hack is a bit odd. You could have started it in the vbstats thread actually and had me link to it. ahh well.
__________________
Bane
talkloud Network - Forums never smelled this good.
el coolo hacko - vbStats


vBORG Chat - Hang with the price of poop flinging *monkey sound* (irc.devcore.co.uk port 6667 - channel: #vBorg)
Reply With Quote
  #3  
Old 13 Feb 2003, 11:42
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Yep, Bane is right. Nevertheless a great improvement Kura. Good job.
Reply With Quote
  #4  
Old 13 Feb 2003, 13:46
Floris Floris is offline
 
Join Date: Jan 2002
Yet, this way it is easier to find it back, and almost nobody else on this web site posts improvements and add-ons in the original thread anyway

I also am going to install your other vB stats improvements to save mucho queries.

Works great. Easy installation too and page loads fast. Thank you.

vB stats rulez!! Maybe Bane makes a final version for 2.2.10 and uses your additions to a) tweak current version and b) improve the other code he made to have c) a cool new version for 2.2.10

g0 kura
g0 bane
__________________
My community; http://wetalknation.net

Last edited by xiphoid; 13 Feb 2003 at 13:50.
Reply With Quote
  #5  
Old 13 Feb 2003, 17:21
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Real name: Dean Clatworthy
Does this include the modification for the referrals too?
__________________
Dean Clatworthy - Web Developer/Designer
Reply With Quote
  #6  
Old 14 Feb 2003, 12:00
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Nov 2001
Real name: Faruk
No, the referrals bit modification is a different thread. See my signature if you want it
Edit: Grrr, d*mmit, if my sig's too long, at least tell me and not just remove it, f*ckity...

*goes edit sig*


And Xiph: he already has these two covered in the new vBStats ^_^
__________________
EverythingvB.com is closed; it will merge into the KuraFire Network, version 6. KF*N 6 will have information about XHTML, CSS, PHP and vBulletin, and especially all those combined.
Reply With Quote
  #7  
Old 14 Feb 2003, 12:07
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Nov 2001
Real name: Faruk
okay, you'll have to check my profile instead for the hack url... :/
__________________
EverythingvB.com is closed; it will merge into the KuraFire Network, version 6. KF*N 6 will have information about XHTML, CSS, PHP and vBulletin, and especially all those combined.
Reply With Quote
  #8  
Old 14 Feb 2003, 17:49
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Real name: Dean Clatworthy
Why not combine the two and ask Bane to put it into his vbstats thread ?
__________________
Dean Clatworthy - Web Developer/Designer
Reply With Quote
  #9  
Old 15 Feb 2003, 09:47
Xer Xer is offline
 
Join Date: May 2002
Originally posted by Mist
Why not combine the two and ask Bane to put it into his vbstats thread ?

totally agree.. :bunny:
Reply With Quote
  #10  
Old 15 Feb 2003, 10:32
Bane's Avatar
Bane Bane is offline
 
Join Date: Oct 2001
This has been fixed in the newest version of vbstats.

Also note that if you installed this "improvement" as is your links to member.php will now be broken as they will point to "/thecouch/member.php"
__________________
Bane
talkloud Network - Forums never smelled this good.
el coolo hacko - vbStats


vBORG Chat - Hang with the price of poop flinging *monkey sound* (irc.devcore.co.uk port 6667 - channel: #vBorg)
Reply With Quote
  #11  
Old 15 Feb 2003, 14:53
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Nov 2001
Real name: Faruk
ACK!!!!

I fixed the attached instructions of the first post. Sorry, I forgot to take that out!

ahwell, fixed now.
__________________
EverythingvB.com is closed; it will merge into the KuraFire Network, version 6. KF*N 6 will have information about XHTML, CSS, PHP and vBulletin, and especially all those combined.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 20:01.

Layout Options | Width: Wide Color: