Page
#1
So basically, I'm trying to make a IF statement depending on the UID of a user. I'm basically creating a custom page and only want the user with a certain UID to view the page.

Any ideas?

Found what I'm looking for never mind.
Plugin Count: I lost count.
Public Plugins are available here.
Official GitHub.
Please do not PM me for support unless asked to.
#2
Next time please post the solution to your thread too. It could be helpful to other people.
#3
if($mybb->user['uid'])
{
	$username = htmlspecialchars_uni($mybb->user['username']);
	echo "Hello {$username}!";
}


Forum Jump:


Users browsing this thread: 1 Guest(s)