MyBB Community Forums

Full Version: [external page] header welcomeblock member
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In an external page is it possible to show the entire block "header welcomeblock member"? If yes, how?

I connect external pages to mybb through the following code, that let also to me import the session parameters

chdir("forum/"); // path to MyBB
define("IN_MYBB", 1);
require("./global.php");
chdir("../");


if($mybb->user['uid']){
	$userid = $mybb->user['uid'];
	$username = $mybb->user['username'];
	
	echo "<p>Sei loggato - $userid - $username.</p>";
	
	$ultima_visita = $mybb->user['lastvisit'];
	$ultima_visita_formatt = date("j/m/Y, H:i A", $ultima_visita);
	
	echo "<p>Last visit: $ultima_visita_formatt</p>";
}

Are those pages other than MyBB Forum?
(2011-12-12, 10:51 AM)crazy4cs Wrote: [ -> ]Are those pages other than MyBB Forum?

Yes they are. I solved by rebuilding the block.