MyBB Community Forums

Full Version: show portal boxes in index.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi! I need to show following portal boxes in index.php

I have found a thread but it's not working right now.

Can someone please explain how to edit Index.php to do this.

I got this thing working on 1.8 and I'm posting it here.

1. Download this plugin.

2. Upload sidebox.php to root/inc/plugins

3. Install and activate the plugin through AdminCP. (Configration>plugins)

4. Go to Configuration> Plugin Settings> Sidebox and enable "Show on Index" (Yes)  and "Show on Forum display" "Show on Thread display" to  (No)

5. Then Go to Admin CP> Templates & Style> Templates> Your Templates> Index Page Templates> index
and add any following box into your index.


If you need to align left or right use this code after {$header}.

<div class="forums" style="float: right; width: 76%;">

<div class="sidebar" style="float: left; width: 22%">

6. Then go to Configuration> Plugin Settings> Sidebox and set "Show on Index" to (No).
But don't deactivate the plugin.