On XF 1.1 we used the following php code to, whenever someone logged in externally at our portal, to show them "their username" "a logout button", then their avatar on the side.
However after moving the forums to a new host and updating to XF 1.2 (not sure which casued this) the avatar won't show from the external portal anymore. It looks like this now that it's broken:
1. A "> that shouldnt be there, and no picture displayed.
2. And when I hover over the picture, this link is showed: http://website.net/<? echo HTTP_FORUM. which is completely wrong, it should point to your forum profile page.
The code we use for that part looks like this:
<div id="user_logged_in"> <div class="user_avatar"><a href="<? echo HTTP_FORUM."index.php?members/".$isOnline['username'].".".$isOnline['user_id'].""; ?>"><img width="55" height="55" class="round-avatar" src="<? echo $avatarUrl; ?>" /></a></div> <div class="welcome"> <p><a href="/forum/index.php?account"><?=$isOnline['username']?></a></p> <p class="logout">Logga Ut</p> </div> </div> <div id="error_box"></div>