Goto the eInvesting Home Page
Home    Investing Forums    Edit Your Profile    Manage Your Portfolio    View the Rankings    Learn about the Simulator

Welcome to eInvesting! You've found the coolest stock market game on the web. At eInvesting you compete for monthly cash prizes while you interact, make virtual dollars, purchase items, and trade in the realistic stock market simulator. We make investing FUN!

Join now and and start trading right away!
Log In to make this message disappear!

 
  ::  Register  ::  Log in  ::  Log in to check your private messages
Purchase e$ Purchase e$ Virtual Store Virtual Store FAQ  FAQ      Search Search  
 
 
www.eInvesting.com Forum Index » eInvesting Feedback

memberlist bug...


Post new topic Reply to topic
memberlist bug... « View previous topic :: View next topic »
Author Message
Dave Rathbun
PostPosted: Mon Apr 11, 2005 8:03 am Post subject: memberlist bug... Reply with quote

CFO
CFO

Joined: 10 Apr 2005

Posts: 3690
This Month: 0
Location: Texas
395494.47 e$

Net worth: 539,408.47
Portfolio Value: 0.00
Monthly Return:
0.00%
Trades this month: 0
Churn Rate: 0.00%

Items

There's a small problem in your memberlist.php, the "top ten posters" doesn't work correct. Smile If you leave the sort set to "Ascending" (the default) you get a screen full of zero post users. Wink If you set the sort to Descending it works. In a regular phpBB forum the top ten selection for the memberlist is supposed to automatically sort in descending order, so there's probably something incorrect about the install here. Let me know if you want help figuring it out.
Back to top
Benjamin
PostPosted: Mon Apr 11, 2005 6:33 pm Post subject: Reply with quote

Administrator
Administrator

Joined: 30 Jan 2005

Posts: 2739
This Month: 0
Location: Chicago
256430.50 e$

Net worth: 256,445.50
Portfolio Value: 0.00
Monthly Return:
0.00%
Trades this month: 0
Churn Rate: 0.00%

Items

Thanks for pointing that out!
Back to top
Dave Rathbun
PostPosted: Sun Apr 24, 2005 9:59 am Post subject: Reply with quote

CFO
CFO

Joined: 10 Apr 2005

Posts: 3690
This Month: 0
Location: Texas
395494.47 e$

Net worth: 539,408.47
Portfolio Value: 0.00
Monthly Return:
0.00%
Trades this month: 0
Churn Rate: 0.00%

Items

eInvesting Admin wrote:
Thanks for pointing that out!

Got a fix, if you want it. This was really bugging me, as it turns out that most phpBB boards have this issue, even phpbb.com. Check out the "top ten" posters at phpbb.com and you get a bunch of folks with zero posts... now that makes sense, doesn't it? Laughing

Anyway, I did some digging, and it turns out it was "broken" during the 2.0.3 -> 2.0.4 update cycle, which was years ago. Shocked Here's the fix:
open memberlist.php
find
Code:
        case 'topten':
                $order_by = "user_posts $sort_order LIMIT 10";

Replace with
Code:
        case 'topten':
                $order_by = "user_posts DESC LIMIT 10";

That puts the sort to DESC all the time when the "topten" option is selected. Which is what you want, I think. Cool
Back to top
Benjamin
PostPosted: Tue Apr 26, 2005 12:06 pm Post subject: Reply with quote

Administrator
Administrator

Joined: 30 Jan 2005

Posts: 2739
This Month: 0
Location: Chicago
256430.50 e$

Net worth: 256,445.50
Portfolio Value: 0.00
Monthly Return:
0.00%
Trades this month: 0
Churn Rate: 0.00%

Items

Thanks for the fix!

Yeah top 10 ascending shouldn't be 0, 0, 0, ...Top ten should just be that, the Top Ten, heh.

Makes more sense this way, should get it on the next phpBB update!
Back to top
Display posts from previous:
Post new topic Reply to topic Page 1 of 1

www.eInvesting.com Forum Index » eInvesting Feedback » memberlist bug...
Jump to:  




Penny Stock Simulator | What are e$? | Forum Rules | FAQ | Manage Your eInvesting Portfolio | Privacy Policy | Links
PcTechTalk | Club-tC | Lost Discussion | World Class Designs | Xtreme Tuning | Statistical Trading | Advertise with eInvesting!


Before acting on any advice or program you find here at eInvesting.com we strongly recommend that you seek independent & professional legal, tax and investment advice as to whether it is suitable for your particular needs and circumstances. Failure to seek personally tailored, detailed, professional advice prior to acting could lead you to act contrary to your own best interests and could lead to loss of money. eInvesting.com is not responsible for your actions, so do it right!

Powered by:phpBB VERSION 59
© 2005, 2006 eInvesting.com