I have made a new page in php for my forums that displays the contents of one of my databases, but I would like to know how to get the default MyBB user panel to appear at the top of the page, the one that gives you access to your usercp and shows new private messages.
Anyone know how?
I think you should just be able to add {$welcomepanel} where you want the welcome panel to be displayed.
I get this error when trying to do that:
Parse error: syntax error, unexpected '}' in /**************/forums/bans.php on line 10
You don't put it in your PHP file, you put it in the template for bans.php - or are you not using a template on that page?
Yeah I'm not using a template, just made a small php file and put it in the forum directory. Do I need to make a template?
To show the header, I think so - but I could be wrong.
Well I don't have much experience with MyBB templates, but I could give t a try.
If you look at other templates, it shouldn't be too hard imho.
Ok, thanks for your help.
No problem
If you need any more help, feel free to post back.