Welcome, Guest. Please Login or Register.
July 07, 2025, 12:12:21 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  How Can I Add More Top Posters? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: How Can I Add More Top Posters?  (Read 479 times)
cornnuts
Jr. Member
**
Posts: 50


I'm a llama!

How Can I Add More Top Posters?
« on: May 21, 2003, 07:05:33 AM »
Reply with quote

this refers to ssi.php - how can i make it so that my top 10 or top 15 members show up instead of just the top poster?
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:How Can I Add More Top Posters?
« Reply #1 on: May 21, 2003, 08:17:18 AM »
Reply with quote

i think the settings of the # of top posters is on top of SSI.php
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Douglas
aka The Bear
Support Team
YaBB God
*****
Posts: 1050


Bears rule! Llamas rule too!

WWW
Re:How Can I Add More Top Posters?
« Reply #2 on: May 21, 2003, 12:39:18 PM »
Reply with quote

Line 290 reads
Quote$request = mysql_query("SELECT memberName,realName FROM {$db_prefix}members ORDER BY posts DESC LIMIT 1") or database_error(__FILE__, __LINE__);

See where it says DESC LIMIT 1?  Change that to what your needs are.

Don't know why you're trying to change that though, since it's even easier to just do it through Admin > Forum Preferences and Settings > "Number of Top Posters for Members List", which is already set to 10-15.
Logged

Need help? Please SEARCH first.  No need for a bad attitude, we like helping positive minded people.
ComeHit.us Short URL  redirection svcs with YSE powered forums, COMING SOON!
Want to say thanks?  Check out http://comehit.us/?u=3
cornnuts
Jr. Member
**
Posts: 50


I'm a llama!

Re:How Can I Add More Top Posters?
« Reply #3 on: May 22, 2003, 06:56:59 AM »
Reply with quote

QuoteSee where it says DESC LIMIT 1?  Change that to what your needs are.

i thought that would work, but since i upgraded to 1.5.2 it doesn't work anymore. maybe my board is too heavily modded *shrugs*
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  How Can I Add More Top Posters? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.329 seconds with 21 queries.