Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-19-2009, 01:34 PM
masonox masonox is offline
 
Join Date: Feb 2008
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to Div entire forum?

Hello,

Can anyone tell me how to encase the entire forum in a Div tag? No matter where I put it, in the header, in forum home, in forum display, even in footer, I can not get below the body element. I have seen it done with vb4.0 but I can't find what template to put it in to do it. I am trying to get down to the entire page background level and encase the background in a div tag, so I can layer other backgrounds on top of it with div tags. But no matter what I do "if it shows up" it ends up in the body and goes inside the forum blocks.

help? and thanks.
Reply With Quote
  #2  
Old 12-19-2009, 01:40 PM
consolegaming consolegaming is offline
 
Join Date: Jan 2007
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

at the start of header and at the end of footer. Worked fine for me. You'd have to set the bg of the body as the bg of the container div instead but that worked for me.

e.g. http://img191.imageshack.us/img191/6919/cgscreen.jpg
Reply With Quote
  #3  
Old 12-19-2009, 01:56 PM
masonox masonox is offline
 
Join Date: Feb 2008
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, I must still be missing something...the div is being highlighted "in firebug" as the forum only, not the entire page behind it
Reply With Quote
  #4  
Old 12-19-2009, 02:40 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add opening div tag to the top of header template and closing div tag to the bottom of footer template.

.
Reply With Quote
  #5  
Old 12-19-2009, 03:20 PM
masonox masonox is offline
 
Join Date: Feb 2008
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its not working for me on default, but i will play with it, perhaps i have to delete a lot of things out of the default header. ty for replies.
Reply With Quote
  #6  
Old 12-19-2009, 03:24 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works bro,

I tested it before posting. This is the code I used ... You will see red border around your forums.

Top of Header:
Code:
<div style="border: 3px solid #FF0000">
Bottom of Footer
Code:
</div>
.
Reply With Quote
  #7  
Old 12-19-2009, 04:04 PM
masonox masonox is offline
 
Join Date: Feb 2008
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that part works, but I am trying to get behind that, to where the background for the entire page would be......where the blue x's are on the screen shot. I want to put a div background behind the forums, and then layer a 2nd one on top of it behind the forums as well.

ie... a repeating star background, then an image of a nebula on top of it that doesn't repeat, then the actual forum body. But, to do this I need to get behind the forum elements. Hope that makes sense.

thank you for helping me though
Attached Images
File Type: jpg Capture.jpg (37.4 KB, 0 views)
Reply With Quote
  #8  
Old 12-19-2009, 04:38 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you tried doc_background ... user stars background in this stylevar.

add this to background image of the above stylevar url(images/misc/star.png) and use the div for the nebula background.
Reply With Quote
  #9  
Old 12-19-2009, 05:06 PM
masonox masonox is offline
 
Join Date: Feb 2008
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes that does work, on my test forums i have the stylevar as the stars, but anything else i do to try put in that nebula in puts in in the forum background instead of being on the same "playing field" the stars are on. Its hard to explain, i want to do everything on the same level as doc_background. I can't find where the doc_background is being called in the templates. I see it defined in the vbulletin.css but where it is being applied so i can see if i can div around it in the actual display templates i can't find. Anything I do, deals with the forum element itself.. like the white background on this page. If I use these forums as an example. The color blue would be my stars, but any time I try to find a place to put in the nebula it goes into the "white" area of these forums. Which is not what I want as it extends beyond the bordes and is more free flowing and blended than the very harsh constrained "white" areas of this forum.

I am no longer going to use this current design as I have to change some of the graphics and then redesign the header for vb4.0 but you can see more of what I am talking about with the stars then nebula then forums idea that I am referring too. Also, I think I am also going to have to work on the base background level with the footer too http://www.darkbargainers.com/tst/tstconcept.png
Reply With Quote
  #10  
Old 12-19-2009, 06:45 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This may help you.
https://vborg.vbsupport.ru/showthrea...light=Body+tag

.
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 12:05 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04048 seconds
  • Memory Usage 2,265KB
  • Queries Executed 14 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete