Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 11

CurtisOdenericgillettemcdjmcdjsarowlwp422 +6 guests

Fixes

This discussion is related to the User List addon.
To fix the random member and Limit number of users:
Change line 32+:
$this->Users = $SQL
->Select($Select)
->From($From)
->Join('UserRole r','u.UserID = r.UserID')
->Where($Where)
->Get();
To:
$this->Users = $SQL
->Select($Select)
->From($From)
->Join('UserRole r','u.UserID = r.UserID')
->Where($Where)
->OrderBy($Order)
->Limit($Limit)
->Get();

Andrew

Comments

  • Posts: 303
    hi andrew, how come only one user is being displayed in the member box? pls see www.pinoyau.info

    i tried to print_r the returned row values but only admin is really being fetched? but if i enable the photo, all three members are shown?
  • Posts: 303
    ok i got the the answer, it's on the setting, i have to tick " Show users that don't have a photo" sorry for my ignorance.
Sign In or Register to comment.