2013-07-16, 06:06 PM
I have a custom page (outside my forum root)
My forum location: mysite.com/forum/page.php
My page location: mysite.com/page.php
In page .php I have the following:
But when I try to display the username on page.php it wont display, but when I try to display the forum URL it will display.
Any ideas why the username is not displaying ?
For username im using: {$mybb->user['username']}
For forum url in using : {$mybb->settings['bburl']}
My forum location: mysite.com/forum/page.php
My page location: mysite.com/page.php
In page .php I have the following:
define("IN_MYBB", 1);
require_once "./forum/global.php";
But when I try to display the username on page.php it wont display, but when I try to display the forum URL it will display.
Any ideas why the username is not displaying ?
For username im using: {$mybb->user['username']}
For forum url in using : {$mybb->settings['bburl']}