Not Solved [Page Manager] Share your custom pages
Not Solved
(2016-01-01, 09:43 PM)leroymcqy Wrote:
(2010-01-24, 07:52 PM)querschlaeger Wrote: Okay, here is a useful page: Usermap (powered by Google Maps)!
It will display all of your users who provide there location in the default MyBB custom profile field in a nice Google Map!

You need a Google Maps API key for your website, get it here:  http://code.google.com/apis/maps/signup.html

Edit the custom page and you will see the point to type in the key (line 3).

First run of the page will take some time to create the location cache. Don't worry about it and don't abort the page loading.

By the way: I developed a plugin called Page Converter, you will find it here: http://mods.mybboard.net/view/page-converter
This plugin allows you to convert custom pages of various page plugins into Page Manager pages. Cool

Seems like this does not work anymore. I have entered what was required to enter.

i am using 1.8 tho.

I am using mybb 1.8.7 and it is working fine for me. You must of did somethign wrong as it DOES work.


You can bypass page manager plugin too and make custom pages without pagemanager plugin. I dont know if this has been told on this thread before, but i am not reading all these pages to find out.


with custom_page.php file in the root directory the content being
<?php
//from here https://community.mybb.com/thread-116225.html
//template in ACP -> templates -> ungrouped tempaltes -> template_name
define('IN_MYBB', 1); require "./global.php";

add_breadcrumb("Title here", "custom_page.php");

eval("\$html = \"".$templates->get("template_name")."\";");

output_page($html);

?>




You have to create the html for the page in the templates. For this specific example it is 
<html>
<head>
<title>Your title here</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tr>
<td class="thead"><span class="smalltext"><strong>Your title here.</strong></span></td>
</tr>
<tr>
<td class="trow1">

Add here your custom messages.

</td></tr></table>
{$footer}
</body>
</html>
and its located in ACP -> Tempaltes and Style -> Tempaltes -> Default Templates -> Ungrouped Templates 
Create a new templace called
 
template_name
and insert the previous html into it.
Reply


Messages In This Thread
RE: [Page Manager] Share your custom pages - by metulburr - 2016-11-01, 02:13 PM
Sorting URLs - by Leefish - 2011-02-15, 09:23 PM
A suggestion (A simple Wiki) - by Rtlprmft - 2011-09-09, 11:46 AM
RE: A suggestion (A simple Wiki) - by Jayfore - 2011-09-09, 12:56 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)