MOD Description: Makes a side menu on the left side of any PHPBB 2.x board. The menu allows the use of PHP, Database Queries and simple HTML. Can be used for anything, such as images, advertisements, links, etc. The minds the limit.
MOD Version: 1.1
MOD Download: http://www.bamboocommandos.com/download ... od-1.1.zip
Last Stable version: 1.1
Tested and Developed on: phpBB-2.0.22
Installation Time: 5 minutes
Documentation: Readme.txt, howto.txt, install.html
EasyMOD: No, and not planning to either
Support: Only through this post, PM here or PM at my homepage (specified in readme.txt)
Demo: (Lowered size and quality for faster load)
Commonly used Installation Guide:
Code: Select all
########################################################
## Mod Title: Side-Menu Mod
## MOD Author: Butcher (bamboocommandos.com)
## MOD Description: Allows to have a side menu on the left side of any PHPBB 2.x board. The menu allows the use of PHP, Database Queries and simple HTML.
##
## Mod Version: 1.1 (Stable)
##
## Installation Level: Easy
## Installation Time: ~ 5 Minutes
##
## Files To Edit: 2
## index.php
## index_body.tpl
## Files To Create: 2
## menu.php
## left_menu.php
##
## Known Bugs: 0
## Download Link: http://www.bamboocommandos.com/downloads/menu-mod-1.1.zip
## Support Available at:
## PM to PandaButcher at phpbb.com forums
## Reply to "Side-Menu Mod" topic in phpbb.com forums
## PM to Butcher at www.bamboocommandos.com forums
########################################################
#PART ONE, editing "index.php", in the root folder of phpbb:
#
#-----[ OPEN ]------------------------------------------
#
index.php
#
#-----[ FIND ]------------------------------------------
# around line 277
$template->assign_vars(array(
#
#-----[ BEFORE, ADD ]--------------------------------------
#
$contents = trim(file_get_contents("menu2.php"));
$content = preg_replace(array("/^\<\?php/", "/\?\>$/"), array("",""), $contents);
eval($contents);
#-----[ FIND ]------------------------------------------
# around line 280
$template->assign_vars(array(
'NEWEST_USER'...
#
#-----[ AFTER, ADD ]------------------------------------------
#
'EXTRA_MENU' => $menu_php_contents,
#PART TWO, editing "index_body.tpl", inside "phpBB/templates/subSilver/":
#
#-----[ OPEN ]------------------------------------------
#
index_body.tpl
#
#-----[ FIND ]------------------------------------------
# start of the file
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
#
#-----[ BEFORE, ADD ]--------------------------------------
#
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="80%" align="left">
#
#-----[ FIND ]------------------------------------------
# end of the file
</table>
#
#-----[ AFTER, ADD ]------------------------------------------
#
</td>
</tr>
</table>
#
#-----[ MAKE NEW FILE ]------------------------------------------
# place in same directory as index.php
menu.php
#
#-----[ ADD ]------------------------------------------
# entire file should contain
echo '<table height="200" align="left" width="15%" border="0" cellspacing="0" cellpadding="0" style="border: solid 1px #000000">';
echo '<tr>';
echo '<td>';
include("menu.php");
echo '</td>';
#
#-----[ MAKE NEW FILE ]------------------------------------------
# place in same directory as index.php
left_menu.php
#
#-----[ ADD ]------------------------------------------
# entire file should contain
"whatever content you want in your menu"