np This is a great plugin to have.
It worked amazingly! Thank you for the support.
I don't now if it has been asked before, I did a quick search around this thread. Is there some code avaible that makes it possible for me to use the pages that are in the pagemanager outside my forum directory. I want to use the pages on example.com, and MyBB in example.com/forums.
Bob
^ admin panel >> configuration >> page manager >> Import Page (tab)
you have to import the xml file through pagemanager section on the admin panel
(select ignore version option to import contact.xml file)
It works.
Thanks for your help.
PROMES
Is there a way I can allow another admin, other than myself to use page manager? Because it only shows for me, and not the others.
I have a weird issue going on with page manager. Basically all I want is the page to be in between the header and footer with the following code (phpinfo(); being the content I want between).
<?php
global $headerinclude, $header, $theme, $footer, $lang;
if(!$mybb->user['uid']) error_no_permission();
//if ($mybb->user['uid']!=1) error_no_permission();
//if (in_array($mybb->user['usergroup'] , array(1,5,7)))error_no_permission();
$template='<html>
<head>
<title>'.$pages['name'].'</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tr>
<td class="thead" colspan="4">My Page Title</td></tr>
<tr>
<td>';
phpinfo();
$template .='</td>
</tr>
</table>
{$footer}
</body>
</html>';
$template=str_replace("\'", "'", addslashes($template));
add_breadcrumb($pages['name']);
eval("\$page=\"".$template."\";");
output_page($page);
?>
But it shows the phpinfo(); at the top above the header like so.