MyBB Community Forums
MyBB Community Forums
>
Community Archive
>
Archived Forums
>
Archived Development and Support
>
MyBB 1.6
>
1.6 General Support
> Member only access page
Full Version:
Member only access page
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
Dead Soulâ„¢
2011-02-10, 11:40 AM
How can I make my own costum page to MyBB where it comes up with a costum warning message if the user is not logged in.
Matt
2011-02-10, 11:57 AM
if(!$mybb->user['uid']) { error_no_permission(); }
That will show a no permissions page if the user is a guest.
MyBB Community Forums
>
Community Archive
>
Archived Forums
>
Archived Development and Support
>
MyBB 1.6
>
1.6 General Support
> Member only access page