Welcome, Guest. Please Login or Register.
May 05, 2024, 10:03:04 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Members List « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Members List  (Read 1631 times)
ammar
Noobie
*
Posts: 2


I'm a llama!

Members List
« on: March 05, 2004, 02:50:56 AM »
Reply with quote

YaBB SE Version: 1.5.5

Problem Description:
How should I set to my YaBB SE forum's members list to be in order? That is according to who registered first will be at the top and the newest members will be at the bottom? How should I set this?
Logged
oldiesmann
YaBB God
*****
Posts: 577


Jesus died for your sins... Have you thanked him?

oldiesmann@oldiesmann.us WWW
Re:Members List
« Reply #1 on: March 05, 2004, 03:54:48 PM »
Reply with quote

Do this so it will automatically sort them this way by default:

Open memberlist.php
Search for:
   $query = "SELECT memberName,realName,websiteTitle,websiteUrl,posts,memberGroup,ICQ,AIM,YIM,MSN,emailAddress,hideEmail,ID_MEMBER FROM {$db_prefix}members WHERE 1 LIMIT $start,$MembersPerPage";

Replace with:
   $query = "SELECT memberName,realName,websiteTitle,websiteUrl,posts,memberGroup,ICQ,AIM,YIM,MSN,emailAddress,hideEmail,ID_MEMBER FROM {$db_prefix}members WHERE 1 LIMIT $start,$MembersPerPage ORDER BY ID_MEMBER ASC";

That will order them by the internal member ID. Hope that helps.
Logged

"I've sinned greatly, but Christ's for real, baby
It's a wonder He saved me and just didn't hate me
So won't you tell Him "Save me"
Please stand up, please stand up, please stand up..." - J. Jackson (More Info)
ammar
Noobie
*
Posts: 2


I'm a llama!

Re:Members List
« Reply #2 on: March 07, 2004, 03:12:24 AM »
Reply with quote

The code you gave me earlier doesn't work. Insteed my Members List page appears in error. Can someone give me the correct code? ???
Logged
homie
Jr. Member
**
Posts: 74


I Love YaBB SE.

Re:Members List
« Reply #3 on: March 07, 2004, 03:23:13 AM »
Reply with quote

You might have typed code in wrong becasue that guy knows what hes doing
Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Members List « 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.070 seconds with 19 queries.