REGISTER or LOGIN to have the annoying ads removed.
Thread Closed 
 
Thread Rating:
  • 9 Votes - 4.11 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CLOSED
Sep 28, 2008, 02:26 AM (This post was last modified: Oct 22, 2009 04:01 PM by labrocca.)
Post: #1
CLOSED
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 File(s) Thumbnail(s)
           

[Image: mybbsig.php]
Visit this user's website Find all posts by this user

This ad removed for subscribers.
Sep 28, 2008, 09:21 AM (This post was last modified: Sep 28, 2008 09:50 AM by djrzn.)
Post: #2
RE: My Side Boxes
hmm, why i can't download it?
Later edit: I saw that i have to subscribe..
Find all posts by this user
Sep 28, 2008, 11:11 AM
Post: #3
RE: My Side Boxes
I have sent you a PM djrzn about a free subscription deal in trade for some web design. Let me know.

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Sep 28, 2008, 11:39 AM
Post: #4
RE: My Side Boxes
I have installed "side boxes" on my forum, pretty neat. One problem came up with the redirect:
When the side box listing is clicked it returns to the index. Looking at the bar on the bottom of the screen all of the listings go to the ****/forum index page. It doesn't pick up the index address.

Got a suggestion???????
Find all posts by this user
Sep 28, 2008, 11:54 AM
Post: #5
RE: My Side Boxes
Oh you are right. I will fix that. Thanks.

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Sep 28, 2008, 12:11 PM
Post: #6
RE: My Side Boxes
The sidebox on this forum doesn't work. It just points me to the index.

LeX's sidebox had this problem as well but then he fixed it.
Find all posts by this user

This ad removed for subscribers.
Sep 28, 2008, 12:20 PM
Post: #7
RE: My Side Boxes
(Sep 28, 2008 11:39 AM)avhidesert Wrote:  I have installed "side boxes" on my forum, pretty neat. One problem came up with the redirect:
When the side box listing is clicked it returns to the index. Looking at the bar on the bottom of the screen all of the listings go to the ****/forum index page. It doesn't pick up the index address.

Got a suggestion???????

Can you let me know when you have the fix. I am not as articulate as some of my brethern. Please let me know when and where.
Thanks
Jack
Find all posts by this user
Sep 28, 2008, 12:41 PM
Post: #8
RE: My Side Boxes
Fixed. To update just overwrite the plugin file with the new one. No need to deactivate or anything else. One function had a problem and some edits fixed the issue.

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Sep 28, 2008, 02:31 PM
Post: #9
RE: My Side Boxes
Big Grin
Thank You!!
Looks Nice
Find all posts by this user
Sep 28, 2008, 02:50 PM
Post: #10
RE: My Side Boxes
Thanks a lot
Find all posts by this user
Thread Closed 


Forum Jump:



icon buffet