MyBB Community Forums

Full Version: Login page is automatically displayed on a not-logged-in-user?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello.
I'm working on an external page that'll work with plugins and other things im working on for my forum, but I've noticed that the login page is automatically displayed if the user that is viewing it isn't logged in.
This is problematic for me because it'll be receiving automated requests.
Here's just the head of my code:
Header("Access-Control-Allow-Origin: [snipped for privacy]");
define("IN_MYBB", 0);
define("NO_ONLINE", 1);
require_once "../global.php"; //this file is included fine, that isn't the issue.
May I receive some assistance?