MyBB Community Forums

Full Version: Just need the username, nothing else
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm looking to build a simple comment system for the articles on my site and I'd like to add the functionality for members of my forum to be able to post with their forum usernames. Other people can post anonymously or whatever (as with most comment systems), but I'd like my already registered users to have the option to use their own username.

Now, I could just include MyBB's global.php for this, BUT that loads up an awful lot of stuff that I really have no use for. Seems like a waste to include the entire global.php just to get $mybb->user['username'].

Is there a simpler way to do what I'm trying to do?