MyBB Central
My Side Boxes 1.3 - Printable Version

+- MyBB Central (http://www.mybbcentral.com)
+-- Forum: Archives (http://www.mybbcentral.com/forum-33.html)
+--- Forum: Mybb 1.4x Series Topics (http://www.mybbcentral.com/forum-26.html)
+---- Forum: Mybb 1.4x Plugins and Hacks (http://www.mybbcentral.com/forum-27.html)
+---- Thread: My Side Boxes 1.3 (/thread-3658.html)

Pages: 1 2 3 4 5 6 7 8 9


My Side Boxes 1.3 - labrocca - Oct 22, 2009

License is attached inside extras folder by using this software you agree to the terms of that license.

Plugin Name: My Side Boxes
Plugin Author: Jesse Labrocca
Plugin Website: http://www.MybbCentral.com
Plugin Version: 1.3
Plugin Mybb Compatibility: 1.4x
Plugin File Edits: None
Plugin File Uploads: 1
Plugin Description: This will add sideboxes to your forum. You can select right or left side. Edit the template and add custom code. You can also choose to display only on front page or also forum display. All other options are controlled via portal settings.

Installation

1. Upload the file from the zip

root/inc/plugins/my_side_boxes.php

2. Login to your admincp and ACTIVATE the plugin (My Side Boxes) in the plugin manager.

3. Edit the settings under "Portal". You will see 2 addintional new options. One for side position and one for pages display.


4. You can edit the sideboxes template "MySideBox". You will see the following:
Code:
{$welcome}
{$pms}
{$search}
{$stats}
{$whosonline}
{$latestthreads}
One of the greatest things about this plugin is that it requires ZERO TEMPLATE EDITS. Yes that sounds impossible but it's true. There is one extra template added but not one single core mybb template is altered. This will not screw up your forums beyond repair. Simply "deactivate" if you have problems but please contact me if you do.

Each represents the same box you will see in your portal page. You can either use portal settings to turn these on/off, rearrange them to your desire, or add a new box with your own code (possibly an ad?).

I will post HTML code for adding additional boxes for those that aren't able to understand what to do.

DEMO: http://www.mybbcentral.com (front page only here)

Enjoy

Please report to me any bugs asap.

FAQs
Q. How can I add new boxes??
A. In your ACP, go to Templates & Style > Templates > Global Templates > MySideBox. Here you will see the code mentioned above. To add new boxes, add something like the following after the current code:
Code:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr><td class="thead"><strong>Heading</strong></td></tr>
<tr><td class="trow1">
This is where you can put your content.
</td></tr>
</table><br>
Then, your new box will look like this:
[attachment=1063]
Edit 'Heading' and 'This is where you can put your content' to whatever you like. You can also add code for ads here if you wish.


Updated Oct 22, 2009 v1.2 released
Fix for the language problem.
Fix for the gobutton.
Fix for the last visit.
To upgrade from 1.1x simply upload the newest /inc/plugins/my_side_boxes.php

Updated Dec 17, 2009 v1.3 released
Added template caching for efficiency
To upgrade simply upload the newest /inc/plugins/my_side_boxes.php


RE: My Side Boxes 1.2 - labrocca - Oct 22, 2009

Seems normal enough. Please try not to post too much nonsense in this thread. I don't want this to be 30 pages so that members can't find help. So unless you have a real problem don't post. A few pixels more or less you can adjust yourself. To do that you change the css or templates. I can't give you the exact info to change but you can start by viewing the source code and finding the css and templates associated with the area you want changed.


RE: My Side Boxes 1.2 - mynameis940 - Oct 23, 2009

What is the difference between this one and the other thread that's closed now?


RE: My Side Boxes 1.2 - labrocca - Oct 23, 2009

Updated Oct 22, 2009 v1.2 released
Fix for the language problem.
Fix for the gobutton.
Fix for the last visit.


RE: My Side Boxes 1.2 - mynameis940 - Oct 23, 2009

(Oct 23, 2009, 01:43 AM)labrocca Wrote: Updated Oct 22, 2009 v1.2 released
Fix for the language problem.
Fix for the gobutton.
Fix for the last visit.

Sorry, didn't read down that far, thanks.


RE: My Side Boxes 1.2 - Joshua Mayer - Oct 23, 2009

Thanks heaps Labrocca! The language conflict was driving me nuts!


RE: My Side Boxes 1.2 - NzB - Nov 04, 2009

I get some type of wierd mishap.
The forum got moved over a lot.
[Image: 2ywi9mg.jpg]


RE: My Side Boxes 1.2 - labrocca - Nov 05, 2009

Disable the plugin and then try to validate your site. The plugin is pretty much layout proof.


RE: My Side Boxes 1.2 - RPG - Nov 06, 2009

What's the difference in this version? Does it allow you to select which themes have sideboxes?


RE: My Side Boxes 1.2 - x-Treme - Nov 06, 2009

(Nov 06, 2009, 01:54 PM)RPG Wrote: What's the difference in this version? Does it allow you to select which themes have sideboxes?

Taken from the first post...
Quote:Updated Oct 22, 2009 v1.2 released
Fix for the language problem.
Fix for the gobutton.
Fix for the last visit.