Тема: Модуль Everywhere sidebar
Показать сообщение отдельно
Старый 16.08.2014, 08:42 Вверх   #2
Коварный тип
 
Аватар для Serberg
Serberg вне форума
Доп. информация
Хорошо Everywhere Sidebar 4 VB4

Everywhere Sidebar 4 VB4

Installation:


1. Download plugin.
Only free ver:If you are using vb4.1.11 or above download the "cssrollup_everywhere_sidebar.xml" and upload "cssrollup_everywhere_sidebar.xml" to /includes/xml directory.

2. Login to your vBulletin admincp.

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

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

5. Import the product-everywhere_sidebar_xxx.xml file that you download. Make sure you set "allow overwrite" to "yes".
Only free ver:Also if you are updating the product you need to disable then enable (or even un-install then install) the product to let the product knows about the "cssrollup_everywhere_sidebar.xml".

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.


Everywhere Sidebar 4 VB4 1.jpg

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

Everywhere Sidebar 4 VB4 2.jpg


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:
Download the german translation from here
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:(Not supported)
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

PHP код:
{vb:raw navbar
add below
PHP код:
{vb:raw sidebaropen
search for
PHP код:
{vb:raw footer
add above
PHP код:
{vb:raw sidebarext
save

3. Open custom page php file and before the render line "$templater->render();" add
PHP код:
$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.


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

PHP код:
editor_textbox.quickreply textarea {
    
height:100px;
}
 
.
editor_textbox.quickreply iframe {
    
height:106px;

2. Change it to

PHP код:
.editor_textbox textarea {
    
height:100px;
}
.
quickreply textarea {
        
height:100px;
        
width80%;
}
 
.
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
PHP Code:
PHP код:
<div id="pagetitle"
So to tix this problem you either need to make sure that
PHP код:
<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
PHP код:
{vb:raw navbar
and
PHP код:
{vb:raw footer
so if you are setting new style make sure not to remove or change
PHP код:
{vb:raw navbar
and
PHP код:
{vb:raw footer
location to get sidebar in the proper location.
Изображения
Тип файла: jpg Everywhere Sidebar 4 VB4 3.jpg (11.4 Кб, 4 просмотров)
Вложения
Тип файла: zip product-everywhere_sidebar_1.5.3.zip (8.4 Кб, 15 просмотров)
Тип файла: zip product-everywhere_sidebar_1.5.2.zip (8.5 Кб, 2 просмотров)
Тип файла: zip product-everywhere_sidebar_1.5.zip (8.4 Кб, 1 просмотров)
Тип файла: zip product-everywhere_sidebar_1.4.4.4.zip (7.7 Кб, 2 просмотров)
Тип файла: rar cssrollup_everywhere_sidebar.rar (249 байт, 4 просмотров)
  Ответить с цитированием
Cказали cпасибо:
 
Время генерации страницы 0.12071 секунды с 11 запросами