04-04-2012, 11:57 AM
This user has been denied support.I didn't found some good ones floating around. So here is how I create them and here is how you can create them.
Its quite easy. Heres how you do.
First create, somepage.php file. Inside it, paste below code and save it:
define('IN_MYBB', 1); require "./global.php";
add_breadcrumb("Title here", "somename.php");
eval("\$html = \"".$templates->get("template_name")."\";");
Next, Themes & templates > Templates > Global Templates > Add template.
Add below example template:
<title>Your title here</title>
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<td class="thead"><span class="smalltext"><strong>Your title here.</strong></span></td>
Add here your custom messages.
And for title, give any title to it but make sure you enter same title name in the somename.php file where it is calling (evaluating eval) the template name. As in this example case, you should enter title as template_name since we entered and recalled same global template in somename.php file.
Save the global template and it should work fine now.