Not Solved [General] Only show approved members on board statistics
#9
Not Solved
So half the problem can be solved by making patches as follows:

In index.php on line 77:

replaceĀ 
WHERE s.time > '".$timesearch."'

with
WHERE s.time > '".$timesearch."' AND u.usergroup != '5'

and in portal.php on line 242
replace
WHERE s.time>'$timesearch'

with:
WHERE s.time>'$timesearch' AND u.usergroup != '5'

This will exclude the awaiting activation users from who is online, on index.php and portal.php as long as the default group id of 5 is not changed.
That leaves "Please welcome our newest member, ...."

not sure where that is built:


	// Check who's the newest member.
	if(!$stats['lastusername'])
	{
		$newestmember = $lang->nobody;;
	}
	else
	{
		$newestmember = build_profile_link($stats['lastusername'], $stats['lastuid']);
	}
What goes around comes around
Reply


Messages In This Thread
RE: Only show approved members on board statistics - by Ashley1 - 2018-08-24, 12:50 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)