Direct initialization of this file is not allowed.
Please make sure IN_MYBB is defined.
?
You have forgot to put:
define("IN_MYBB", 1);
BEFORE
require('./global.php');
require_once MYBB_ROOT."inc/class_parser.php";
Ok, can I see your code? PM me it if you don't want to post it publicly.
echo "Hey, $mybbuser[username].<br>
Thanks for logging in.";
not showing username?
Not the thread for it, but:
$mybb->user['username']
says this now
Hey, Array['username'].
Thanks for logging in.
Works for me:
echo("Hey, {$mybb->user['username']}");
need help with displaying poll...
The code isn't designed to show polls. I'll take a look into later, right now I'm at Uni trying to work out how to make a model in 3DS Max (I'm a programmer, not an artist so I don't like doing arty stuff much); afterwards I plan on sleeping for a while.