SimplePortal
Customization => Blocks and Modifications => Block Requests => Topic started by: mehrtadbir on July 16, 2014, 11:32:00 AM
-
Hello
How can I show the member of a membergroup horizontally (landscape) in footer block?
-
Like the list of members in a specific member group?
-
How many members? You could just use a custom html block.
<P> Member1,Member2,Member3</P>
-
I appears mehrtadbir is trying to do the same thing I am. This is basically take all members from a certain member group and list them in a block. For example search all members and show all that belong to ID_GROUP 9.
Here is something that was shown to me many many years ago... although I do not know where to go with it from here and how to get it working.... but again it looks like this is the same thing that mehrtadbir is trying to accomplish...
global $scripturl;
$result = mysql_query("SELECT m.ID_MEMBER, m.realName, m.ID_GROUP
FROM smf_members AS m
WHERE m.ID_GROUP = 9
ORDER BY m.ID_MEMBER DESC
LIMIT 25") or die(mysql_error());
$members = array();
while($row = mysql_fetch_array($result)) {
$members[] = array(
'name' => $row['realName'],
);
}