I Used These Codes.....But i Wish Active Links to Legend Group..SO When a User click on "Moderators" Group to see a list with all Mods.
Is Possible ?
You need to change memberlist.php to accept a new parameter specifying a usergroup. The tricky part is writing the SQL to search both primary and secondary groups.
Then you need to change inc/plugins/usergrouplegends.php to wrap the styled user title with a link to your modified memberlist.php