vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Putting the page "inside" the body? (https://vborg.vbsupport.ru/showthread.php?t=127802)

WritersBeat 09-28-2006 09:03 PM

Putting the page "inside" the body?
 
Take a look at http://www.talklosangeles.com and http://www.writersbeat.com they are both nested within the body (the outside is a gradient or a different color)

I've been doing the same thing with http://www.indigosociety.com but the damn thing won't go inside the body, once I created a color for the page it took up the entire damn thing. And if I put a padding 20px or margin20px it messes up everything and creates scrolling horizontally.

Any help?

WritersBeat 09-30-2006 04:45 AM

Anyone?

hotwheels 09-30-2006 05:19 AM

not really sure what you are looking for here......I looked at all of the url's you posted and i just can't seem to understand for sure what putting the page in the body means......sorry for my misunderstanding.

Are you wanting to ad a border around your page? if so, try this:

go to: Admin CP -> Styles & Templates -> Style Manager -> Common Templates (in the menu)
and in the header do this:
PHP Code:

<!-- border -->
<
table border="2" align="center" cellpadding="0" cellspacing="0" bordercolor="#7B9AC6">
<
tr>
    <
td>

<!-- 
logo -->
<
a name="top"></a>
<
table border="0" width="$stylevar[outertablewidth]cellpadding="0" cellspacing="0" align="center">
<
tr>
    <
td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]border="0" alt="$vboptions[bbtitle]/></a></td>
    <
td align="$stylevar[right]">
        &
nbsp;
    </
td>
</
tr>
</
table>
<!-- /
logo -->

<!-- 
content table -->
$spacer_open

$_phpinclude_output 

, Then go to your footer and do this
PHP Code:

<br />
<
div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<
br />

$spacer_close
<!-- /content area table -->

<
form action="$vboptions[forumhome].php" method="get">
    
<
table cellpadding="$stylevar[cellpadding]cellspacing="0" border="0" width="$stylevar[outertablewidth]class="page" align="center">
<
tr>
    <if 
condition="$show['quickchooser']">
        <
td class="tfoot">
            <
select name="styleid" onchange="switch_id(this, 'style')">
                <
optgroup label="$vbphrase[quick_style_chooser]">
                    
$quickchooserbits
                
</optgroup>
            </
select>
        </
td>
    </if>
    <if 
condition="$show['languagechooser']">
        <
td class="tfoot">
            <
select name="langid" onchange="switch_id(this, 'lang')">
                <
optgroup label="$vbphrase[quick_language_chooser]">
                    
$languagechooserbits
                
</optgroup>
            </
select>
        </
td>
    </if>
    <
td class="tfoot" align="$stylevar[right]width="100%">
        <
div class="smallfont">
            <
strong>
                <if 
condition="$show['contactus']"><a href="$vboptions[contactuslink]rel="nofollow">$vbphrase[contact_us]</a> -</if>
                <
a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -
                <if 
condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
                <if 
condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
                <if 
condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
                <if 
condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
                <
a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
            </
strong>
        </
div>
    </
td>
</
tr>
</
table>

    </
td>
</
tr>
</
table>
<!-- /
border -->

<
br />

<
div align="center">
    <
div class="smallfont" align="center">
    <!-- Do 
not remove this copyright notice -->
    
$vbphrase[powered_by_vbulletin]
    <!-- Do 
not remove this copyright notice -->
    </
div>
    
    <
div class="smallfont" align="center">
    <!-- Do 
not remove $cronimage or your scheduled tasks will cease to function -->
    
$cronimage
    
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
    
    
$vboptions[copyrighttext]
    </
div>
</
div>

</
form>

<if 
condition="$show['dst_correction']">
<!-- 
auto DST correction code -->
<
form action="profile.php" method="post" name="dstform">
    <
input type="hidden" name="s" value="$session[sessionhash]/>
    <
input type="hidden" name="do" value="dst" />
</
form>
<
script type="text/javascript">
<!--
    var 
tzOffset $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
    var 
utcOffset = new Date().getTimezoneOffset() / 60;
    if (
Math.abs(tzOffset utcOffset) == 1)
    {    
// Dst offset is 1 so its changed
        
document.forms.dstform.submit();
    }
//-->
</script>
<!-- / 
auto DST correction code -->

</if>
<
script type="text/javascript">
<!--
    
// Main vBulletin Javascript Initialization
    
vBulletin_init();
//-->
</script>__________________ 


WritersBeat 09-30-2006 05:22 AM

That's completely different from my templates. Wouldn't that mess everything up?

And yes I want a border around the page. Just like http://www.talklosangeles.com http://www.writersbeat.com and the default vb skin. Hmm

hotwheels 09-30-2006 06:24 AM

my post didn't come out right

hold on a minute
This will probably be easier to do if you go here..... http://www.vbulletin.com/forum/showt...ht=side+border

WritersBeat 10-01-2006 04:28 AM

Alright I did it so that it has the affect I want, except I want the footer to be in that box to. hmm

hotwheels 10-01-2006 02:16 PM

k, let me look at your site again and i will see what we can do....

where it say's "time and vbulletin"?

WritersBeat 10-01-2006 07:43 PM

Quote:

Originally Posted by hotwheels
k, let me look at your site again and i will see what we can do....

where it say's "time and vbulletin"?

I figured it out. Thank you for the help though :)

hotwheels 10-01-2006 11:08 PM

not a problem, you are very welcome


All times are GMT. The time now is 11:34 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.01801 seconds
  • Memory Usage 1,793KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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