MYBB PHP page without plugin
1. Create your MyBB template.
- Admin CP --> Templates & Style --> Templates --> Global Templates --> Add Template
- Name your template whatever you like.
- "Template Set" should be "Global Templates"
- Create your template as normal.
2. Create a new PHP file and copy/paste the following lines of code:
3. Move your new page into your MyBB root directory.
This is the same directory where "global.php" is located
Nota: Crear el template debe ser con el Panel de Administración de MYBB, si deseas observar un ejemplo real, puedes observar el Plugin de XML Database League, MyBB to generate a League Stats
Referencias:
1. Create your MyBB template.
- Admin CP --> Templates & Style --> Templates --> Global Templates --> Add Template
- Name your template whatever you like.
- "Template Set" should be "Global Templates"
- Create your template as normal.
PHP Code:
<html>
<head>
<title>Your Site</title>
{$headerinclude}
</head>
<body>
{$header}
Use whatever MyBB Markup you want.
{$footer}
</body>
</html>
2. Create a new PHP file and copy/paste the following lines of code:
PHP Code:
<?php
define("IN_MYBB",1);
include("global.php");
eval("\$page .= \"".$templates->get("your-template-name-goes-here")."\";");
output_page($page);
?>
3. Move your new page into your MyBB root directory.
This is the same directory where "global.php" is located
Nota: Crear el template debe ser con el Panel de Administración de MYBB, si deseas observar un ejemplo real, puedes observar el Plugin de XML Database League, MyBB to generate a League Stats
Referencias:
- Nota De Grabacion Audio & Video [ Nota ]
- Web Ref. [ Web]
- Radio Bolivariana UPB [ Web ]
- PinoStudio1.com [ Pagina Oficial ]
- Blog DiegoPino [ Blog ]
- Blog Wahoo [ Blog ]