SMF Support > SMF 2.0.x Support
Hide all members within a selected membergroup
NetHunter:
I think the group_id is not requested in this place by default. My idea is only hide members by id. In Memberlist.template.php:
Find:
--- Code: --- // Assuming there are members loop through each one displaying their data.
if (!empty($context['members']))
{
foreach ($context['members'] as $member)
{
--- End code ---
after that:
--- Code: ---if (in_array($member['id'], array(x,y,z))) continue;
--- End code ---
Replace x,y,z with the member ids you want to hide. Not as well what you wanna have. Take it as a suggestion.
FireDitto:
Thanks, NetHunter. That's useful but it isn't really what I'm after.
Thank you any how =)
Navigation
[0] Message Index
[*] Previous page
Go to full version