You don't need to execute it from a template at all. I"m not too familiar with using the superglobal $_SESSION. Try using session_start() on the line after require_once. You can just use the $mybb->user object though for your needs most likely as it contains the uid, username, email, and other information about a user.
![]() |
« Next Oldest | Next Newest »
|
Messages In This Thread |
Is there anyway to pull the user's username to use outside the /forums/ directory - by contrad2 - 2016-11-29, 09:38 PM
RE: Is there anyway to pull the user's username to use outside the /forums/ directory - by dragonexpert - 2016-11-30, 09:01 PM
RE: Is there anyway to pull the user's username to use outside the /forums/ directory - by contrad2 - 2016-12-01, 12:10 AM
RE: Is there anyway to pull the user's username to use outside the /forums/ directory - by Lunorian - 2016-12-01, 02:52 PM
RE: Is there anyway to pull the user's username to use outside the /forums/ directory - by dragonexpert - 2016-12-01, 02:55 PM
|
Users browsing this thread: 1 Guest(s)