Is it possible to show the user group on profile.php when bridged to phpbb3?
an example of my profile.php http://www.lambretta-images.com/profile.php?uid=2
I have a link to the phpbb3 profile page from the page above but I would like to be able to show the group that the users are in on the cpm profile page.
running cpm 1.4.25 and phpbb3 3.0.4
I have been trying to do this for a few days :(
this works but it gets the user group from the cpm db not the phpbb3 db
$query1 = "SELECT user_name, user_group
FROM cpg14x_users
WHERE user_name='{$CURRENT_PIC_DATA['owner_name']}'
LIMIT 200";
$result1 = mysql_query($query1) or die("Could not complete database query");
$num1 = mysql_num_rows($result1);
if ($num1 != 0) {
while ($row = mysql_fetch_array($result1)) {
if ($row["user_name"]) {
$test = $row["user_group"];
echo $test;
}}} else {
echo "No Records found";
}
or could someone point me in the right direction as to how the usermng.php file gets the users groups from the phpbb3 data base?