PDA

View Full Version : Everywhere Sidebar 4 vB4



admin
06-02-2010, 10:50 AM
UPDATED ON 11/JUNE/ 2011

Latest news::

[11.06.2011] Loading page and force insert css bug fixed with 1.4.4.2
[06.06.2011] Some bug fixed with 1.4.4.1 and new onload option introduced
[04.06.2011] More stable with 1.4.4 version with a css style sorted out
[15.05.2011] Minor bugs in 1.4.3 version is fixed by 1.4.3.1
[12.05.2011] Have more control over sidebar with the 1.4.3 version. It is available download it now.
[10.01.2011] 1.4.1 pl1 is available.
[09.01.2011] Bug found in 1.4.1 where it will not show the content of Custom HTML/PHP
blocks. This will be fixed in pl1 of this mod version.
[07.01.2011] Bug found in 1.4.1 where it will display disabled blocks. This can be fixed by using block filter for now.
[03.01.2011] The 1.4.1 Full version is released. This version is tested on vb4.1 and should work with no problem on vb4.1. This does not mean it will not work on other vb versions but it should work. Last You must uninstall previous version as this is different than the full version.
[30.12.2010] The 1.4.1 Lite is released. This version is tested on vb4.1 and should work with no problem on vb4.1. That does not mean it will not work on other vb versions but it is not guaranteed. The Lite version will display sidebar on forumhome, forumdisplay, album, faq and calendar.
[29.12.2010] I'm running out of time to keep up my word to release 1.4.1 before the end of the year. So I will release 1.4.1 lite for now then we will see later for gold version.
[20.12.2010]This mod will be updated to 1.4.1 version soon (hopefully before the end of 2010) From now on the last two digits of mod version will represent vb version so the next update is for vb4.1.

What is this:
By default VB4 sidebar will be shown only on forum home page. This mod Will display the Sidebar everywhere in the forum. This mod assumes that you already set your sidebar block from "forum blocks manager".

Current Version:
1.4.4.2



Features :

Show sidebar in the vbcms pages (Gold version only).
Rotating Ad system included in the sidebar (Gold version only).
Filter Block by usergroups (Gold version only).
More options with advance settings of the sidebar (Gold version only).
The sidebar will be displayed everywhere in the forum.
With more than 20 setting you can enable and disable sidebar very easily on any any page.
You can hide sidebar in the excluded forums mod options.
You can show sidebar for all or show it for non members.
Now you don't have to enable sidebar from option. Enabling this mod will enable sidebar everywhere. But you need to set sidebar blocks from "forum blocks manager".
All previous bugs have been fixed.
The ability to exclude certain usergroups.
The ability to turn sidebar off for certain forum styles.
The ability to place the side bar on custom pages.
The ability to control displaying sidebar when forum is closed.
The ability to set different blocks for different forums [ver 1.2].
Don't Allow sidebar to be collapsed and force it to be always visible[ver 1.3]. To enable this you need to set "Don't hide ESB switch" from mod options to yes.
In 1.3.3 you have ability to exclude groups from the above feature that is to be always visible. So that the excluded group members will be able to collapse ESB.
In 1.3.4 the vertical collapse button is removed and blocks is forced to by expanded if "Don't hide ESB switch" is set to yes as requested in this post (http://www.vbulletin.org/forum/showpost.php?p=2083886&postcount=494)
In 1.4.1 pl1 custom html/php block bug and some other bugs were fixed.
In 1.4.3 you can set sidebar width and sidebar button top alignment from mod options.


Requested Features [ To Do ] :

To add sidebar in Blog pages (Gold version only).


Installation:


1. Download plugin.

2. Login to your vBulletin admincp.

3. Open "Plugins & Products", and go to "Manage Products".

4. Click on "[Add/Import Product]".

5. Import the XML file that you download. Make sure you set "allow
overwrite" to "yes".

Optional steps for setting different blocks for different forums and pages:

6. Go to mod options
Admincp->Settings->options->EveryWhere Sidebar (ESB) options

7. Go down until you see "Block Configuration Switch" check "yes" and save.


8. Go to you forum home you will see all your blocks even the empty ones with blockid below each blcok as in this picture.
http://www.vbulletin.org/forum/attachment.php?attachmentid=119411&d=1278603591
9. Any block you want to hide add its block id with colon on "Filter Blocks by forums" or "Filter Blocks by page" text box in the mod options. For example to hide block_html_7 on all forums except forum id 1 and 2 we will add this "block_html_7:1,2" without qoutes to "Filter Blocks by forums"box; and to hide it in all other pages except faq and calendar we will add this "block_html_7:faq,calendar" without qoutes to "Filter Blocks by pages" box. See picture below
http://www.vbulletin.org/forum/attachment.php?attachmentid=119412&d=1278603644
10 To hide inactive blocks and blockid title for admins set back "Block Configuration Switch" to "No" and save

Optional step to force sidebar to be always visible and hide collapse button :

11. Go to mod options
Admincp->Settings->options->EveryWhere Sidebar (ESB) options

12. Set "Don't hide ESB switch" to "yes" and save.

Optional steps for Translation install:
To import the German translation goes as follows:
Admincp => Languages & Phrases download => Languages / upload => Click on "EITHER upload the XML file from your computer" click Browse and select the translation from => at "Language Override chooses her German => Import => Done


Optional steps for vBadvanced:
This thread is created by qG ThaLiX, he asked then he answers his question intersting thread. I don't have vBadvanced but it seams it is working from the replies.
http://www.vbadvanced.com/forum/showthread.php?t=40407

Instructions for custom pages:

Please note: You don't need this unless you are planning to show sidebar on cutom pages.

1. First enable showing sidebar for custom pages from mod options.

2. Open your custom template search for

{vb:raw navbar}
add below

{vb:raw sidebaropen}
search for

{vb:raw footer}
add above

{vb:raw sidebarext}
save

3. Open custom page php file and before the render command add

$templater->register('sidebarext', $sidebarext);
$templater->register('sidebaropen', $sidebaropen);
assuming you are using $templater as variable change it as required

save and upload you php file

4. You are done


How To Add Blocks To Sidebar:
From your admincp click on "Forums & Moderators" then click "Forum Blocks Manager". Hit "Add Block" you will see a dropdown list of block types. Select the type of block you want and hit continue. Now set your block and save. You are done and this new block should be shown on your sidebar.


Bugs fix:
ver 1.1.2
1. Fixed for custom pages the sidebar will always be on the right side.
ver 1.1.3
1.Fixed compatibility with vb 4.0.2.
ver 1.1.4
1.Fixed when store CSS Stylesheets as Files enabled.
ver 1.2.2
1.Fixed now it is shown on editpost and newreply pages.
2. Fixed blank screen when user is logged with same username and password.
3. Fixed in displaying the correct block id in block configuration mode.
ver 1.3.1
1. Minor bug fixed to adjust sidebar when force to make it always visible.
ver 1.3.3
1. Minor bug fixed that is a php block is not visible in forumhome.
ver 1.4.3.1
1. More stable, better optimized and fixed previous compatibility problems.
ver 1.4.4
1. Css style is sorted to better sidebar looking.
ver 1.4.4.1
Some bugs fixed with new onload option introduced
ver 1.4.4.2
Loading page and force insert css bug fixed with 1.4.4.2


To Fix Quickreply width:
If you have the problem of quickreply coming to wide please use Mike instructions to fix Forum bug:

1. Open editor.css and find

editor_textbox.quickreply textarea {
height:100px;
}

.editor_textbox.quickreply iframe {
height:106px;
}
2. Change it to

.editor_textbox textarea {
height:100px;
}
.quickreply textarea {
height:100px;
width: 80%;
}

.editor_textbox.quickreply iframe {
height:106px;
}
To Adjust sidebar top level:

form admincp

open forumhome.css in the style you want to change or use the master style to effect all styles

change the padding size for #sidebar_container as you wish
eg
padding:50px 0;
Note:In the new vb versions sidebar css has been moved from forumhome.css to separate file called sidebar.css
Most asked question:

Q:I've installed your sidebar mod and it works fine except on the forumhome! The sidebar is showing at the bottom of the page. Any idea how to fix it?

A:It is either due to one of these:
1. you are using a custom style that is changing the forumhome look.
2. You are using a nother mod that is changing the content of froumhome before this ESB.

ESB needs to see this in forumhome

<div id="pagetitle">
So to tix this problem you either need to make sure that

<div id="pagetitle">
exist in the correct location or change ESB forumhome plugin to search for a new phrase.

for the latest version 1.4.1+ it looks for

{vb:raw navbar}
and

{vb:raw footer}
so if you are setting new style make sure not to remove or change

{vb:raw navbar}
and

{vb:raw footer}
location to get sidebar in the proper location.