How to change the (What's Going On?) box to100% in forumhome

  • Thread starter Thread starter AdminAdmin is verified member.
  • Start date Start date
Admin

AdminAdmin is verified member.

Well-Known Member
Staff member
Administrator
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:
	<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:
	{vb:raw forumhome_markread_script}
And paste the following directly above
PHP:
	<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:
<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
Demo jast until Gold ver. after that here
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
 

Facebook Comments

Similar threads

Admin
Replies
1
Views
2K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
1K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
2K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
1K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
714
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
689
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
826
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
980
AdminAdmin is verified member.
Admin
N
Replies
1
Views
2K
newbe
N
Back
Top