Not Solved [General] Only show approved members on board statistics
#8
Not Solved
(2018-08-24, 10:03 AM)Ashley1 Wrote:
(2018-08-24, 07:57 AM)WallBB Wrote: Ah, you guys will not leave me like this Smile
Open index.php in MyBB root and find
WHERE s.time>'$timesearch' 
and Change that into
WHERE s.time>'$timesearch' AND u.usergroup != 'GROUPID' 

This will remove the GROUPID based members from the who's online. You can do it for multiple groups as well and vice versa.

Hope I am a little more helpful now @Serpius Toungue

This does not work, it still orders by last member registered regardless of the group. I will figure it out later, just thought there might have been a setting/ existing plugin for it already.
Based on the original question, I gave an answer.
For ordering, you need to modify the code just above this line (WHERE s.time>'$timesearch'), basically SQL sorting. Smile

I will have to search for plugin, maybe it is not there.
Reply


Messages In This Thread
RE: Only show approved members on board statistics - by WallBB - 2018-08-24, 10:39 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)