REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 11 Vote(s) - 3.91 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CLOSED
#1
This thread is closed. To get the latest version go here:
http://www.mybbcentral.com/thread-3658.html

This is it! Your ultimate side box plugin. Took me all day to get it just right for release. This is going to make a lot of people very happy.

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.1
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:
   
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.

EDIT: There is a language conflict with index and a portal box. Here is the fix:

In portal.lang.php find this:

Code:
$l['new_posts'] = "{1} new posts";

Change it to this:

Code:
$l['new_posts_portal'] = "{1} new posts";

Now in admincp templates edit "portal_welcome_membertext".

Replace this:

Code:
{$lang->new_posts}

With this:

Code:
{$lang->new_posts_portal}

One last change...in inc/plugins/my_side_boxes.php alter any instance of $lang->new_posts into $lang->new_posts_portal

Updated Nov 19, 2008 v1.1 released
A fix was applied to prevent hidden forum threads displaying inside the latest threads box. To upgrade simple upload the plugin file and overwrite the existing one. That's it.


Attached Files Thumbnail(s)
           


Messages In This Thread
CLOSED - by labrocca - Sep 28, 2008, 02:26 AM
RE: My Side Boxes - by djrzn - Sep 28, 2008, 09:21 AM
RE: My Side Boxes - by labrocca - Sep 28, 2008, 11:11 AM
RE: My Side Boxes - by avhidesert - Sep 28, 2008, 11:39 AM
RE: My Side Boxes - by avhidesert - Sep 28, 2008, 12:20 PM
RE: My Side Boxes - by labrocca - Sep 28, 2008, 11:54 AM
RE: My Side Boxes - by CoDPlay3r - Sep 28, 2008, 12:11 PM
RE: My Side Boxes - by labrocca - Sep 28, 2008, 12:41 PM
RE: My Side Boxes - by avhidesert - Sep 28, 2008, 02:31 PM
RE: My Side Boxes - by krhtikos22 - Sep 28, 2008, 02:50 PM
RE: My Side Boxes - by MattR - Sep 28, 2008, 03:40 PM
RE: My Side Boxes - by labrocca - Sep 28, 2008, 03:47 PM
RE: My Side Boxes - by MattR - Sep 28, 2008, 05:01 PM
RE: My Side Boxes - by labrocca - Sep 28, 2008, 05:32 PM
RE: My Side Boxes - by syst3m4t1c - Sep 30, 2008, 11:11 PM
RE: My Side Boxes - by labrocca - Oct 01, 2008, 01:04 AM
RE: My Side Boxes - by Goggalor - Oct 01, 2008, 11:02 AM
RE: My Side Boxes - by SPONTNOUS - Oct 04, 2008, 08:07 PM
RE: My Side Boxes - by labrocca - Oct 04, 2008, 11:34 PM
RE: My Side Boxes - by MattR - Oct 05, 2008, 09:17 AM
RE: My Side Boxes - by Funky - Oct 05, 2008, 03:02 PM
RE: My Side Boxes - by labrocca - Oct 05, 2008, 03:34 PM
RE: My Side Boxes - by MattR - Oct 10, 2008, 02:59 AM
RE: My Side Boxes - by labrocca - Oct 10, 2008, 11:29 AM
RE: My Side Boxes - by brownsugar - Dec 21, 2008, 09:22 PM
RE: My Side Boxes - by MattR - Oct 10, 2008, 11:37 AM
RE: My Side Boxes - by brownsugar - Oct 12, 2008, 02:33 PM
RE: My Side Boxes - by tazfan - Oct 12, 2008, 03:38 PM
RE: My Side Boxes - by MattR - Oct 12, 2008, 03:42 PM
RE: My Side Boxes - by tazfan - Oct 12, 2008, 03:45 PM
RE: My Side Boxes - by MattR - Oct 12, 2008, 04:26 PM
RE: My Side Boxes - by tazfan - Oct 13, 2008, 02:07 AM
RE: My Side Boxes - by brownsugar - Oct 12, 2008, 07:15 PM
RE: My Side Boxes - by labrocca - Oct 13, 2008, 11:58 AM
RE: My Side Boxes - by tazfan - Oct 13, 2008, 03:57 PM
RE: My Side Boxes - by MattR - Oct 13, 2008, 04:02 PM
RE: My Side Boxes - by tazfan - Oct 13, 2008, 04:09 PM
RE: My Side Boxes - by labrocca - Oct 13, 2008, 05:58 PM
RE: My Side Boxes - by MattR - Oct 14, 2008, 05:23 AM
RE: My Side Boxes - by FirefoxWiz - Oct 14, 2008, 06:36 AM
RE: My Side Boxes - by labrocca - Oct 14, 2008, 11:20 AM
RE: My Side Boxes - by MattR - Oct 14, 2008, 08:39 AM
RE: My Side Boxes - by Dark_Mafia - Oct 14, 2008, 12:49 PM
RE: My Side Boxes - by labrocca - Oct 14, 2008, 01:13 PM
RE: My Side Boxes - by labrocca - Oct 18, 2008, 01:36 PM
RE: My Side Boxes - by -thoma- - Oct 19, 2008, 09:13 PM
RE: My Side Boxes - by labrocca - Oct 19, 2008, 09:35 PM
RE: My Side Boxes - by -thoma- - Oct 23, 2008, 06:40 PM
RE: My Side Boxes - by labrocca - Oct 24, 2008, 12:40 AM
RE: My Side Boxes - by -thoma- - Oct 24, 2008, 04:49 PM
RE: My Side Boxes - by ssadda - Oct 31, 2008, 07:59 AM
RE: My Side Boxes - by MattR - Oct 31, 2008, 08:55 AM
RE: My Side Boxes - by ssadda - Oct 31, 2008, 09:12 AM
RE: My Side Boxes - by MattR - Oct 31, 2008, 11:23 AM
RE: My Side Boxes - by ssadda - Oct 31, 2008, 12:08 PM
RE: My Side Boxes - by MattR - Oct 31, 2008, 12:13 PM
RE: My Side Boxes - by ssadda - Oct 31, 2008, 12:15 PM
RE: My Side Boxes - by bernhards - Nov 06, 2008, 03:44 PM
RE: My Side Boxes - by labrocca - Nov 06, 2008, 05:03 PM
RE: My Side Boxes - by ItsBucK - Nov 09, 2008, 08:40 PM
RE: My Side Boxes - by labrocca - Nov 10, 2008, 07:34 PM
RE: My Side Boxes - by catfished - Nov 12, 2008, 05:29 PM
RE: My Side Boxes - by labrocca - Nov 12, 2008, 10:11 PM
RE: My Side Boxes - by catfished - Nov 12, 2008, 10:46 PM
RE: My Side Boxes - by labrocca - Nov 12, 2008, 11:23 PM
RE: My Side Boxes - by catfished - Nov 13, 2008, 06:14 PM
RE: My Side Boxes - by catfished - Nov 14, 2008, 12:06 AM
RE: My Side Boxes - by AjEe - Nov 19, 2008, 05:35 AM
RE: My Side Boxes - by labrocca - Nov 19, 2008, 03:34 PM
RE: My Side Boxes - by MattR - Nov 19, 2008, 05:59 PM
RE: My Side Boxes - by labrocca - Nov 19, 2008, 07:04 PM
RE: My Side Boxes - by xen - Nov 19, 2008, 08:54 PM
RE: My Side Boxes - by MattR - Nov 20, 2008, 03:56 AM
RE: My Side Boxes - by MattR - Nov 21, 2008, 09:48 AM
RE: My Side Boxes - by labrocca - Nov 21, 2008, 01:14 PM
RE: My Side Boxes - by Bones - Nov 25, 2008, 09:28 AM
RE: My Side Boxes - by Charles7909 - Nov 26, 2008, 12:07 PM
RE: My Side Boxes - by labrocca - Nov 26, 2008, 01:51 PM
RE: My Side Boxes - by labrocca - Nov 26, 2008, 01:51 PM
RE: My Side Boxes - by MattR - Nov 26, 2008, 01:38 PM
RE: My Side Boxes - by Charles7909 - Nov 26, 2008, 02:05 PM
RE: My Side Boxes - by Charles7909 - Dec 02, 2008, 10:17 PM
RE: My Side Boxes - by dada - Dec 04, 2008, 05:50 AM
RE: My Side Boxes - by labrocca - Dec 04, 2008, 03:50 PM
RE: My Side Boxes - by GlobalPlayer - Dec 11, 2008, 10:39 PM
RE: My Side Boxes - by MattR - Dec 12, 2008, 03:59 AM
RE: My Side Boxes - by Robert - Dec 17, 2008, 02:56 PM
RE: My Side Boxes - by x-Treme - Dec 17, 2008, 03:15 PM
RE: My Side Boxes - by Robert - Dec 17, 2008, 03:34 PM
RE: My Side Boxes - by x-Treme - Dec 17, 2008, 03:52 PM
RE: My Side Boxes - by Eliza - Dec 22, 2008, 01:00 AM
RE: My Side Boxes - by CoDPlay3r - Dec 23, 2008, 01:12 AM
RE: My Side Boxes - by Hiero - Jan 12, 2009, 07:58 PM
RE: My Side Boxes - by labrocca - Jan 12, 2009, 08:23 PM
RE: My Side Boxes - by Hiero - Jan 13, 2009, 07:38 PM
RE: My Side Boxes - by MattR - Jan 13, 2009, 12:12 PM
RE: My Side Boxes - by Fabs15 - Jan 13, 2009, 12:27 PM
RE: My Side Boxes - by labrocca - Jan 13, 2009, 09:39 PM
RE: My Side Boxes - by anton - Jan 16, 2009, 05:32 PM
RE: My Side Boxes - by Bey Brad - Jan 18, 2009, 01:54 AM
RE: My Side Boxes - by Hiero - Jan 18, 2009, 08:05 AM
RE: My Side Boxes - by Bey Brad - Jan 18, 2009, 01:04 PM
RE: My Side Boxes - by K27 - Jan 20, 2009, 12:49 AM
RE: My Side Boxes - by labrocca - Jan 20, 2009, 03:23 AM
RE: My Side Boxes - by DAMINK - Jan 20, 2009, 05:50 AM
RE: My Side Boxes - by labrocca - Jan 20, 2009, 12:11 PM
RE: My Side Boxes - by MattR - Jan 20, 2009, 03:28 PM
RE: My Side Boxes - by ancraz - Jan 22, 2009, 12:16 PM
RE: My Side Boxes - by labrocca - Jan 22, 2009, 11:53 PM
RE: My Side Boxes - by ancraz - Jan 23, 2009, 04:11 AM
RE: My Side Boxes - by Mycode King - Jan 30, 2009, 04:55 AM
RE: My Side Boxes - by -Root- - Feb 02, 2009, 08:44 AM
RE: My Side Boxes - by MattR - Feb 02, 2009, 08:54 AM
RE: My Side Boxes - by labrocca - Feb 02, 2009, 02:01 PM
RE: My Side Boxes - by MattR - Feb 02, 2009, 05:39 PM
RE: My Side Boxes - by okitai - Feb 03, 2009, 05:07 AM
RE: My Side Boxes - by labrocca - Feb 03, 2009, 05:20 AM
RE: My Side Boxes - by okitai - Feb 03, 2009, 05:34 AM
RE: My Side Boxes - by ByteHunter - Feb 07, 2009, 02:41 AM
RE: My Side Boxes - by Jed K - Feb 10, 2009, 01:15 AM
RE: My Side Boxes - by labrocca - Feb 10, 2009, 01:16 AM
RE: My Side Boxes - by MattR - Feb 10, 2009, 03:53 AM
RE: My Side Boxes - by Jed K - Feb 11, 2009, 06:27 AM
RE: My Side Boxes - by MattR - Feb 11, 2009, 12:10 PM
RE: My Side Boxes - by labrocca - Feb 11, 2009, 03:12 PM
RE: My Side Boxes - by ridwan sameer - Feb 16, 2009, 01:36 PM
RE: My Side Boxes - by PurpleDragon - Feb 16, 2009, 02:54 PM
RE: My Side Boxes - by MattR - Feb 16, 2009, 03:22 PM
RE: My Side Boxes - by RPG - Feb 16, 2009, 04:12 PM
RE: My Side Boxes - by labrocca - Feb 16, 2009, 04:18 PM
RE: My Side Boxes - by RPG - Feb 17, 2009, 08:24 AM
RE: My Side Boxes - by RPG - Feb 17, 2009, 03:18 PM
RE: My Side Boxes - by ridwan sameer - Feb 17, 2009, 12:42 PM
RE: My Side Boxes - by MattR - Feb 17, 2009, 12:49 PM
RE: My Side Boxes - by ridwan sameer - Feb 17, 2009, 12:53 PM
RE: My Side Boxes - by MattR - Feb 17, 2009, 01:37 PM
RE: My Side Boxes - by ridwan sameer - Feb 17, 2009, 01:53 PM
RE: My Side Boxes - by MattR - Feb 17, 2009, 02:07 PM
RE: My Side Boxes - by labrocca - Feb 17, 2009, 05:41 PM
RE: My Side Boxes - by RPG - Feb 18, 2009, 08:11 AM
RE: My Side Boxes - by RPG - May 03, 2009, 05:23 PM
RE: My Side Boxes - by labrocca - Feb 21, 2009, 05:26 PM
RE: My Side Boxes - by netbuddy - Feb 27, 2009, 05:50 AM
RE: My Side Boxes - by labrocca - Feb 27, 2009, 01:07 PM
RE: My Side Boxes - by netbuddy - Mar 10, 2009, 02:06 AM
RE: My Side Boxes - by Demons Halo - Mar 01, 2009, 09:19 AM
RE: My Side Boxes - by manhst - Mar 08, 2009, 02:27 AM
RE: My Side Boxes - by DAMINK - Mar 08, 2009, 03:41 AM
RE: My Side Boxes - by Bey Brad - Mar 08, 2009, 04:18 AM
RE: My Side Boxes - by vicusek - Mar 08, 2009, 05:30 PM
RE: My Side Boxes - by Invanit - Mar 08, 2009, 07:13 PM
RE: My Side Boxes - by MattR - Mar 09, 2009, 05:27 AM
RE: My Side Boxes - by labrocca - Mar 10, 2009, 09:04 AM
RE: My Side Boxes - by K27 - Mar 10, 2009, 10:50 PM
RE: My Side Boxes - by labrocca - Mar 10, 2009, 11:51 PM
RE: My Side Boxes - by DamYan - Jul 24, 2009, 04:08 AM
RE: My Side Boxes - by K27 - Mar 11, 2009, 10:20 PM
RE: My Side Boxes - by TwistedVendetta - Mar 16, 2009, 12:11 AM
RE: My Side Boxes - by O-D-M - Mar 17, 2009, 09:28 AM
RE: My Side Boxes - by CoDPlay3r - Mar 19, 2009, 08:44 PM
RE: My Side Boxes - by labrocca - Mar 22, 2009, 02:39 PM
RE: My Side Boxes - by Bey Brad - Mar 22, 2009, 01:32 PM
RE: My Side Boxes - by CoDPlay3r - Mar 22, 2009, 10:08 PM
RE: My Side Boxes - by AjEe - Mar 26, 2009, 02:20 AM
RE: My Side Boxes - by MattR - Mar 26, 2009, 04:02 AM
RE: My Side Boxes - by AjEe - Mar 26, 2009, 04:14 AM
RE: My Side Boxes - by labrocca - Mar 26, 2009, 04:24 AM
RE: My Side Boxes - by AjEe - Mar 26, 2009, 04:36 AM
RE: My Side Boxes - by labrocca - Mar 26, 2009, 05:52 AM
RE: My Side Boxes - by AjEe - Mar 27, 2009, 12:57 AM
RE: My Side Boxes - by MattR - Mar 27, 2009, 03:57 AM
RE: My Side Boxes - by ChAoS - Mar 29, 2009, 11:25 AM
RE: My Side Boxes - by ByteHunter - Mar 30, 2009, 11:34 AM
RE: My Side Boxes - by labrocca - Mar 30, 2009, 04:02 PM
RE: My Side Boxes - by Psinetic - Apr 13, 2009, 08:18 AM
RE: My Side Boxes - by Th3Pi3rlux - Apr 13, 2009, 10:21 AM
RE: My Side Boxes - by labrocca - Apr 13, 2009, 10:36 AM
RE: My Side Boxes - by karthikguru - Apr 13, 2009, 10:55 PM
RE: My Side Boxes - by labrocca - Apr 14, 2009, 01:15 AM
RE: My Side Boxes - by Stein - Apr 28, 2009, 09:15 PM
RE: My Side Boxes - by labrocca - Apr 28, 2009, 10:04 PM
RE: My Side Boxes - by Stein - Apr 28, 2009, 10:31 PM
RE: My Side Boxes - by labrocca - Apr 29, 2009, 12:25 AM
RE: My Side Boxes - by Stein - Apr 29, 2009, 12:56 AM
RE: My Side Boxes - by nuny - May 01, 2009, 06:26 PM
RE: My Side Boxes - by labrocca - May 01, 2009, 06:31 PM
RE: My Side Boxes - by nuny - May 01, 2009, 08:48 PM
RE: My Side Boxes - by labrocca - May 03, 2009, 07:45 PM
RE: My Side Boxes - by RPG - May 04, 2009, 05:29 AM
RE: My Side Boxes - by labrocca - May 04, 2009, 10:58 AM
RE: My Side Boxes - by RPG - May 04, 2009, 01:55 PM
RE: My Side Boxes - by labrocca - May 04, 2009, 05:07 PM
RE: My Side Boxes - by TaligsikDako - May 17, 2009, 12:10 AM
RE: My Side Boxes - by RPG - May 17, 2009, 09:44 AM
RE: My Side Boxes - by labrocca - May 20, 2009, 06:16 PM
RE: My Side Boxes - by yeti - May 20, 2009, 04:36 PM
RE: My Side Boxes - by Cohen - May 21, 2009, 08:45 AM
RE: My Side Boxes - by labrocca - May 21, 2009, 01:58 PM
RE: My Side Boxes - by Cohen - May 21, 2009, 07:47 PM
RE: My Side Boxes - by Joshua Mayer - May 22, 2009, 03:31 AM
RE: My Side Boxes - by Joshua Mayer - May 23, 2009, 06:16 PM
RE: My Side Boxes - by labrocca - May 23, 2009, 06:30 PM
RE: My Side Boxes - by Joshua Mayer - May 23, 2009, 07:52 PM
RE: My Side Boxes - by Bey Brad - Jul 28, 2009, 05:15 AM
RE: My Side Boxes - by pcdrivers - May 27, 2009, 04:08 AM
RE: My Side Boxes - by MattR - May 27, 2009, 04:59 AM
RE: My Side Boxes - by giant - Jun 01, 2009, 10:38 PM
RE: My Side Boxes - by labrocca - Jun 02, 2009, 01:53 PM
RE: My Side Boxes - by The Enigmatist - Jul 10, 2009, 08:16 AM
RE: My Side Boxes - by labrocca - Jul 10, 2009, 01:40 PM
RE: My Side Boxes - by The Enigmatist - Jul 12, 2009, 03:52 AM
RE: My Side Boxes - by labrocca - Jul 14, 2009, 01:22 PM
RE: My Side Boxes - by pelaut - Jul 19, 2009, 01:42 AM
RE: My Side Boxes - by MattR - Jul 19, 2009, 06:21 AM
RE: My Side Boxes - by labrocca - Jul 19, 2009, 03:02 PM
RE: My Side Boxes - by Bey Brad - Jul 26, 2009, 03:14 PM
RE: My Side Boxes - by LS 134 - Jul 28, 2009, 10:40 AM
RE: My Side Boxes - by MattR - Jul 28, 2009, 11:40 AM
RE: My Side Boxes - by Jed K - Jul 29, 2009, 11:20 PM
RE: My Side Boxes - by Jed K - Aug 01, 2009, 12:02 AM
RE: My Side Boxes - by labrocca - Aug 01, 2009, 02:03 AM
RE: My Side Boxes - by Jed K - Aug 04, 2009, 11:06 PM
RE: My Side Boxes - by labrocca - Aug 04, 2009, 11:37 PM
RE: My Side Boxes - by LS 134 - Aug 06, 2009, 06:59 AM
RE: My Side Boxes - by boardhopper - Aug 08, 2009, 11:01 PM
RE: My Side Boxes - by Zash - Aug 09, 2009, 05:04 PM
RE: My Side Boxes - by labrocca - Aug 09, 2009, 06:17 PM
RE: My Side Boxes - by dtommy79 - Aug 18, 2009, 10:18 AM
RE: My Side Boxes - by MattR - Aug 18, 2009, 12:14 PM
RE: My Side Boxes - by PocKeT - Aug 24, 2009, 09:30 AM
RE: My Side Boxes - by Rafael - Sep 03, 2009, 11:15 AM
RE: My Side Boxes - by gwh - Sep 14, 2009, 10:50 AM
RE: My Side Boxes - by Hiero - Sep 14, 2009, 11:32 AM
RE: My Side Boxes - by pelaut - Sep 21, 2009, 06:23 AM
RE: My Side Boxes - by MattR - Sep 21, 2009, 08:04 AM
RE: My Side Boxes - by Goggalor - Sep 24, 2009, 03:30 PM
RE: My Side Boxes - by MattR - Sep 24, 2009, 04:13 PM
RE: My Side Boxes - by Goggalor - Sep 24, 2009, 04:24 PM
RE: My Side Boxes - by nyunyu - Oct 07, 2009, 06:24 AM
RE: My Side Boxes - by Joshua Mayer - Oct 09, 2009, 10:47 AM
RE: My Side Boxes - by dared - Oct 10, 2009, 03:13 AM
RE: My Side Boxes - by Joshua Mayer - Oct 12, 2009, 06:18 AM
RE: My Side Boxes - by arineod - Oct 12, 2009, 10:12 AM
RE: My Side Boxes - by Rafael - Oct 12, 2009, 12:21 PM
RE: My Side Boxes - by Joshua Mayer - Oct 16, 2009, 03:23 AM
RE: My Side Boxes - by labrocca - Oct 16, 2009, 09:23 PM
RE: My Side Boxes - by arineod - Oct 17, 2009, 02:26 PM
RE: My Side Boxes - by MattR - Oct 17, 2009, 03:39 PM
RE: My Side Boxes - by arineod - Oct 17, 2009, 06:26 PM
RE: My Side Boxes - by Joshua Mayer - Oct 22, 2009, 02:13 AM
RE: My Side Boxes - by Username - Oct 22, 2009, 01:35 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)