vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   wrapping divs around the home page tables (https://vborg.vbsupport.ru/showthread.php?t=106677)

marglar 01-29-2006 11:59 PM

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!

Tony G 01-30-2006 12:29 AM

This isn't the right forum to be asking support questions. Moving to vB3.5 questions.

T3MEDIA 01-30-2006 12:32 AM

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.

marglar 01-30-2006 03:04 PM

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!

speedway 02-01-2006 04:02 AM

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

marglar 02-01-2006 12:20 PM

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?

marglar 02-04-2006 07:58 PM

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?
http://truepersonalgrowth.com/forum_box.jpg


All times are GMT. The time now is 02:56 PM.

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.01118 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete