REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not show banned members on memberlist?
#11
Hmmmz still the same result...wish i knew more of php.
Reply
#12
Alright..let me go see what I can do on here.

EDIT:

Find this line:

$query = $db->simple_select("users u", "COUNT(*) AS users", "{$search_query}");

Add before it this:

// Remove Banned users
$search_query .= " AND u.usergroup != '7'";


You can leave the other query alone.
Reply
#13
You're my hero!
I knew the problem...but not the solution...but i'm still learning php Big Grin

Thank you very much!
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Members for a GTA Forum iRocker 7 3,593 Aug 11, 2015, 09:51 AM
Last Post: Windy
  Any ways to gather members to a forum? Zalix 5 2,082 Oct 14, 2012, 02:47 PM
Last Post: [email protected]
  Banned from HF for 2 months hostpro 6 1,526 Aug 30, 2012, 06:03 PM
Last Post: labrocca
  Do spam members help you get real members? iRun 8 2,888 Apr 28, 2012, 04:38 PM
Last Post: effecloky
  Any members that likes Pokemon? Nab 11 3,097 Apr 08, 2012, 06:13 PM
Last Post: Nab

Forum Jump:


Users browsing this thread: 1 Guest(s)