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
  #82  
Old 02-25-2011, 08:08 PM
Cloverfield Cloverfield is offline
 
Join Date: Dec 2007
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not working on vb 4.1.1...says unclosed tags
Reply With Quote
  #83  
Old 02-25-2011, 09:00 PM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cloverfield View Post
not working on vb 4.1.1...says unclosed tags
did you copy and pest corectly ??

try to copy and pest by using notbad
Reply With Quote
  #84  
Old 06-12-2011, 10:07 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any update on the latest version of vb ?
Reply With Quote
  #85  
Old 06-16-2011, 11:22 AM
EquinoxWorld EquinoxWorld is offline
 
Join Date: Nov 2009
Location: Naples
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone has it working yet for 4.1.4?
Reply With Quote
  #86  
Old 08-10-2011, 01:44 PM
lolly01 lolly01 is offline
 
Join Date: Mar 2011
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No work on 4.1.5 PL1

It says unclosed Tags.

Edit: Sorry my vault. Ist works perfect.
Reply With Quote
  #87  
Old 08-11-2011, 05:27 PM
Lostboyfan's Avatar
Lostboyfan Lostboyfan is offline
 
Join Date: Mar 2010
Location: Chicago, IL
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tagged for later. This is great one. I will most definitely use this one for my gaming website.
Reply With Quote
  #88  
Old 12-29-2011, 10:55 AM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone tested this out on 4.1.8 or above ?

Would love to use it again with my new theme but dont want to mess it up
Reply With Quote
  #89  
Old 02-07-2012, 04:42 AM
gezuvor gezuvor is offline
 
Join Date: Mar 2007
Location: Portland, OR
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure about intermediate versions, but I made this work in 4.1.10 by doing the following:

In FORUMHOME, find and cut:

Code:
		<vb:if condition="$show['sidebar']">
		</div>
	</div>
<div id="sidebar_home">
	<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>
</div>
	</vb:if>
In the same template, paste that cut code ABOVE this line:
Code:
{vb:raw ad_location.board_after_forums}
Disclaimer: This was done on a clean 4.1.10 install w/o the ad code enabled. YMMV!
Reply With Quote
  #90  
Old 03-11-2012, 10:00 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in vb4.1.11 I did the same but added it below
Code:
{vb:raw ad_location.board_after_forums}
other wise I think make all forums read moves as well.
to each it's own
Reply With Quote
  #91  
Old 03-31-2012, 03:53 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Done as above post but no change on 4.1.11
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 11:58 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.12572 seconds
  • Memory Usage 2,364KB
  • Queries Executed 27 (?)
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
  • (1)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete