Thanks! Marked as installed, though, i haven't actually installed this code since i'm not running the Suite.
I've stripped and modded the code a little and use it in the forums sidebar and felt to just share it here.
PHP Code:
$group = "cMyGroup";
$url = file_get_contents('http://steamcommunity.com/groups/'.$group);
ini_set('default_socket_timeout', 0);
preg_match('#<h1>(.+)</h1>#sU', $url, $aMatches);
$return = "<div class=blockrow>";
$return .= "<table>";
$return .= "<a class='clanname' href='http://steamcommunity.com/groups/$group' target='_blank'>$aMatches[1]</a>";
$return .= "<br>";
preg_match('#<div class="groupMemberRow">(.+)</div>#sU', $url, $aMatches);
$aMatches = str_replace('class="linkStandard"', 'class="linkStandard" target="_blank"', $aMatches[1]);
$pieces = explode(" ", $aMatches);
$domain = strstr($pieces[3], '>');
$strip1 = substr($domain, 1);
$return .= "<span class=resultsb>$strip1 Members</span>";
$return .= "<br>";
$domain1 = strstr($pieces[6], '>');
$strip2 = substr($domain1, 1);
$return .= "<span class=membersInGame><font color=#8bc53f>$strip2 In-Game</font></span>";
$return .= "<br>";
$domain2 = strstr($pieces[9], '>');
$strip3 = substr($domain2, 1);
$return .= "<span class=membersOnline><font color=#62a7e3>$strip3 Online</font></span>";
$return .= "</table>";
$return .= "</div>";
return $return;
demo:
http://community.cgx24.com/forum.php