Back to vBulletin 4.x Template Modifications

How to change the (What's Going On?) box to100% in forumhome
Mod Version: 1.00, by Dr.osamA

vB Version: 4.0.3 Rating: (20 votes - 4.70 average) Installs: 136
Released: 20 Dec 2009 Last Update: Never Downloads: 98
Not Supported Code Changes  

ferst Sorry for my bad english

Description

This means change the (What's Going On?) box to100% of page in forumhome after you installed the sidebar

it is working with VB v 4.0.3 too

see attachment pic for explain and anderstand

in template forumhome find :

PHP Code:
    <vb:if condition="$show['sidebar']">
        </
div>
    </
div>

    <
div id="sidebar_container"<vb:if condition="$vboptions['sidebarposition'] == 0"> class="sidebarleft"</vb:if>>
        <
a id="sidebar_button_link" href="#">
            <
vb:if condition="$vboptions['sidebarposition'] == 0">
            <
img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed-left.png" alt="" />
            <
vb:else />
            <
img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed.png" alt="" />
            </
vb:if>
        </
a>
        <
ul id="sidebar">
            {
vb:raw sidebar}
        </
ul>
    </
div>
    </
vb:if> 
and delete it

in sem template find :

PHP Code:
    {vb:raw forumhome_markread_script
And paste the following directly above

PHP Code:
    <vb:if condition="$show['sidebar']">
        </
div>
    </
div>

    <
div id="sidebar_container"<vb:if condition="$vboptions['sidebarposition'] == 0"> class="sidebarleft"</vb:if>>
        <
a id="sidebar_button_link" href="#">
            <
vb:if condition="$vboptions['sidebarposition'] == 0">
            <
img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed-left.png" alt="" />
            <
vb:else />
            <
img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed.png" alt="" />
            </
vb:if>
        </
a>
        <
ul id="sidebar">
            {
vb:raw sidebar}
        </
ul>
    </
div>
    </
vb:if> 
for VB 4.0.8 Lp2 you have to use this code

PHP Code:
<vb:if condition="$show['sidebar']">
        </
div>
    </
div>

    <
div id="sidebar_container"<vb:if condition="$show['sidebarposition'] == 'left'"> class="sidebarleft"</vb:if>>
        <
a id="sidebar_button_link" href="#">
            <
vb:if condition="$show['sidebarposition'] == 'left'">
            <
img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed-left.png" alt="" />
            <
vb:else />
            <
img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed.png" alt="" />
            </
vb:if>
        </
a>
        <
ul id="sidebar">
            {
vb:raw sidebar}
        </
ul>
    </
div>
    </
vb:if> 
It's the same code that previously deleted

http://www.alra7ba.net/forums/ jast until Gold ver. after that http://www.alra7ba.net/vb

PS : Thank for help mr. abukhlifa adeplomsi

NOTE : Be sure you dont mis during the copy and paste

Try again by copying to a text document and then to modify the template
Enjoy

Download

File Type: %1$s arabic description.txt (1.6 KB, 80 downloads)

Supporters / CoAuthors

  • Dr.osamA

Screenshots

Click image for larger version
Name:	before.jpg
Views:	4180
Size:	73.5 KB
ID:	107789   Click image for larger version
Name:	after.jpg
Views:	4477
Size:	76.3 KB
ID:	107790  

Similar Mods

Add-On Releases Mod Mb (forumhome Change) New Mod!! vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024