Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-29-2006, 11:59 PM
marglar marglar is offline
 
Join Date: Dec 2005
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default wrapping divs around the home page tables

I want to put rounded corner boxes around the main forum tables (the header with the breadcrumbs and navigation, the main forum body, and the "whos online" box).

I was hoping someone here could point me in the right direction for where I can input those divs. I'm used to working some with CSS but I'm still more than a little confused in working with vbulletin.

Any help would be greatly appreciated!
Reply With Quote
  #2  
Old 01-30-2006, 12:29 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This isn't the right forum to be asking support questions. Moving to vB3.5 questions.
Reply With Quote
  #3  
Old 01-30-2006, 12:32 AM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had something like this on vb templates. I put the top part of the table in my header and the bottom of my table in the footer just before spacer_open and Spacer_close I dont have that code anymore and vbt is gone... I hope that can help though.
Reply With Quote
  #4  
Old 01-30-2006, 03:04 PM
marglar marglar is offline
 
Join Date: Dec 2005
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the feedback.

Yes, putting my divs in the header and footer as you suggested put a rounded corner box around the whole forum page. Which is awesome.

I'd also like to wrap divs around each of the table/boxes in the forum. So, I'd like a box around the:
1. Breadcrumb / nav bar area
2. The main forum body
3. The "whos online" box

Could anyone tell me where to go to insert these divs?

Thanks!
Reply With Quote
  #5  
Old 02-01-2006, 04:02 AM
speedway's Avatar
speedway speedway is offline
 
Join Date: Nov 2001
Location: Sydney, Australia
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I modified spacer_open and spacer_closed, which seems to work fine. I assumed they are only used on the main pages and not anywhere else. Heres my implementation:

spacer_open:
Code:
<!-- open content container -->
<div id="alignment">
	<div id="wrapper">
		<div id="shadow_l">
			<div id="shadow_r">
				<div>
spacer_closed:
Code:
</div>
			</div>
		</div>
	</div>
</div>
<!-- / close content container -->
Then I moved them in the header & footer templates to right at the top of header :
Code:
<!-- logo -->
<a name="top"></a>
$spacer_open
and the bottom of footer:
Code:
<script type="text/javascript">
<!--
	// Main vBulletin Javascript Initialization
	vBulletin_init();
//-->
</script>
<div id="padbottom"></div>
$spacer_close
<!-- /content area table -->
This effectively wraps EVERYTHING in these divs...Everything seems to work fine so far....

Cheers
Bruce
Reply With Quote
  #6  
Old 02-01-2006, 12:20 PM
marglar marglar is offline
 
Join Date: Dec 2005
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Bruce. I too got this part working.

My question was more one of getting divs around the individual tables or pieces of the forum. There is the breadcrumb/ nav area, and the main forum body, and then the "whos online" area. I'd really like to make these all less square and put 'em in cool rounded, 3D boxes.

Any ideas?
Reply With Quote
  #7  
Old 02-04-2006, 07:58 PM
marglar marglar is offline
 
Join Date: Dec 2005
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You know, this works on the home page, and some other pages - but when viewing a specific thread the box created by the divs is broken. It surrounds part of the navigation panel (as seen below) and then the contents overrun the div created box and spills out the bottom....

Any thoughts on how to fix this?
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 05:12 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.04031 seconds
  • Memory Usage 2,217KB
  • Queries Executed 13 (?)
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
  • (4)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete