Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
How to change the (What's Going On?) box to100% in forumhome Details »»
How to change the (What's Going On?) box to100% in forumhome
Version: 1.00, by Dr.osamA Dr.osamA is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.0.3 Rating:
Released: 12-19-2009 Last Update: Never Installs: 136
Code Changes  
No support by the author.

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

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

Download Now

File Type: txt arabic description.txt (1.6 KB, 78 views)

Screenshots

File Type: jpg before.jpg (73.5 KB, 0 views)
File Type: jpg after.jpg (76.3 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 06-15-2012, 07:46 AM
Akangage Akangage is offline
 
Join Date: Apr 2010
Location: Jakarta - Indonesia
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, its done
Reply With Quote
  #103  
Old 06-16-2012, 10:25 PM
Bisha's Avatar
Bisha Bisha is offline
 
Join Date: Mar 2006
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

why you need that?

if the sidebar is longer?
Reply With Quote
  #104  
Old 06-20-2012, 06:51 PM
itzkr0me itzkr0me is offline
 
Join Date: Jun 2012
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In 4.2 (Custom Style) I had to move the following:

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

	<div id="sidebar_container" class="<vb:if condition="$show['sidebarposition'] == 'left'">sidebarleft</vb:if><vb:if condition="$close_sidebar"> sidebar_closed</vb:if>">
		<a id="sidebar_button_link" href="#">
			<vb:if condition="$show['sidebarposition'] == 'left'">
			<img id="sidebar_button" src="{vb:stylevar imgdir_misc}/<vb:if condition="$close_sidebar">tab-expanded-left.png<vb:else />tab-collapsed-left.png</vb:if>" alt="" />
			<vb:else />
			<img id="sidebar_button" src="{vb:stylevar imgdir_misc}/<vb:if condition="$close_sidebar">tab-expanded.png<vb:else />tab-collapsed.png</vb:if>" alt="" />
			</vb:if>
		</a>
		<ul id="sidebar" <vb:if condition="$close_sidebar">class="sidebar_hidden"</vb:if> >
			{vb:raw sidebar}
		</ul>
	</div>
	</vb:if>
ABOVE the following:

Code:
	{vb:raw ad_location.board_after_forums}
Reply With Quote
4 благодарности(ей) от:
bolobala, gariksher, principino1984, zascok
  #105  
Old 01-24-2013, 12:03 AM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

snipped
Reply With Quote
  #106  
Old 01-24-2013, 12:11 AM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hippy View Post
snipped
I went wrong in a code edit but i followed your earlier edits and fixed it mate cheers
Reply With Quote
Благодарность от:
Hippy
  #107  
Old 01-31-2013, 10:07 AM
Luis's Avatar
Luis Luis is offline
 
Join Date: May 2011
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hippy View Post
welocme anytime
thank you so much, for user on 4.2.0

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

	<div id="sidebar_container" class="<vb:if condition="$show['sidebarposition'] == 'left'">sidebarleft</vb:if><vb:if condition="$close_sidebar"> sidebar_closed</vb:if>">
		<!-- <a id="sidebar_button_link" href="#">
			<vb:if condition="$show['sidebarposition'] == 'left'">
			<img id="sidebar_button" src="{vb:stylevar imgdir_misc}/<vb:if condition="$close_sidebar">tab-expanded-left.png<vb:else />tab-collapsed-left.png</vb:if>" alt="" />
			<vb:else />
			<img id="sidebar_button" src="{vb:stylevar imgdir_misc}/<vb:if condition="$close_sidebar">tab-expanded.png<vb:else />tab-collapsed.png</vb:if>" alt="" />
			</vb:if>
		</a> -->
		<ul id="sidebar" <vb:if condition="$close_sidebar">class="sidebar_hidden"</vb:if> >
			{vb:raw sidebar}
		</ul>
	</div>
	</vb:if>
delete it and copy above <!-- what's going on box -->
Reply With Quote
  #108  
Old 08-16-2014, 08:38 PM
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you! I had to edit a bit of the code, because im using a custom style, but its great. It makes the forum look complete when there are only 1 or 2 side bars.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:34 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08824 seconds
  • Memory Usage 2,349KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (4)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (5)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (3)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete