MyBB Community Forums

Full Version: [Page Manager] Share your custom pages
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
np This is a great plugin to have.
It worked amazingly! Thank you for the support.
np I'm here all week. :p
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
I installed Page manager today and the contact form from http://community.mybb.com/thread-63357-p...#pid459254.
I pasted the contact.xml into the page.
After installation I see the page should be found at http://example.com/misc.php?page=contact.
But when I use this page I get an error: problem when loading the page.

Is there a newer version available?
Or what do I wrong (no help available in the download how to ...).

Thanks,

Promes
^ 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.

[Image: UgDOhID.png]
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49