vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Main Page Spacer?? (https://vborg.vbsupport.ru/showthread.php?t=97036)

revlimiter 09-28-2005 12:11 AM

Main Page Spacer??
 
I would like to get my forum mainpage looking more along the lines of this:
http://www.xbox360forum.com/

where "Forum, Last Post, Threads, Posts" are underneath the Forum Titles and each of the sections are gapped out, to leave space between the Forums (so they do not merge into one another)

p.s. When you click expand on the forums they should leave a 10px or 20px gap ..

Any help is appreciated :cool:

revlimiter 10-19-2005 10:49 PM

bump

peterska2 10-19-2005 11:11 PM

I've not checked it but this should work

https://vborg.vbsupport.ru/showthrea...tegory+spacing

revlimiter 10-20-2005 02:45 AM

Wicked! It works fantastic (with a bit of help)

Now, my next question is: how do I remove that ugly header gap in IE?
http://www.auto-labs.com/forum/

peterska2 10-20-2005 11:34 AM

You mean I have to open IE to have a nose here?????

Ok, I will shortly.

Right I see it. Without seeing your header template code it's a struggle though as I can't see anything on view source to indicate why there is a gap.

/me cries at monitor and goes to revert screen res back to a decent viewable thing after making it tiny to enlarge the page.

revlimiter 10-20-2005 11:14 PM

header:
Code:

<div align="center">
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
    // JavaScript to interpolate random images into a page.
   
    var ic = 14;                    // Number of alternative images
    var i = new Array(ic);          // Array to hold filenames
   
    // Set up the images. These are GIFs, but they don't have to be.
    // You could also save space in your file by including the
    // unchanging part of the image filename (i.e. 'inline/imageSample'
    // and '.gif') in the 'writeln' statement below, and just storing
    // the part of the image name that actually changes. Used this way
    // you could reference a very large number of different images while
    // keeping the file size small.
   
    i[0] = "images/header/1.jpg";
        i[1] = "images/header/2.jpg";
        i[2] = "images/header/3.jpg";
        i[3] = "images/header/4.jpg";
        i[4] = "images/header/5.jpg";
        i[5] = "images/header/6.jpg";
        i[6] = "images/header/7.jpg";
        i[7] = "images/header/8.jpg";
        i[8] = "images/header/9.jpg";
        i[9] = "images/header/10.jpg";
        i[10] = "images/header/11.jpg";
        i[11] = "images/header/12.jpg";
        i[12] = "images/header/13.jpg";
        i[13] = "images/header/14.jpg";
        i[14] = "images/header/15.jpg";
   
    function pickRandom(range) {
        if (Math.random)
            return Math.round(Math.random() * (range-1));
        else {
            var now = new Date();
            return (now.getTime() / 1000) % range;
        }
    }

    // Write out an IMG tag, using a randomly-chosen image name.
   
    var choice = pickRandom(ic);
    document.writeln('<a href="http://www.auto-labs.com/forum/"' + '<TABLE WIDTH=792 HEIGHT=154 ALIGN=CENTER><TR><TD>' +
                                    '<IMG SRC="' + i[choice] +
                    '" HEIGHT="154" WIDTH="792" BORDER=0 id="forumlogo"><' +
                    "/P><" + "/TD><" + "/TR><" + "/TABLE></a>");
// -->
</SCRIPT>
</div>
<!-- content table -->

$spacer_open

$_phpinclude_output

headerinclude
Code:

<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $versionnumber" />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />

<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->

<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
// -->
</script>

<script type="text/javascript" src="clientscript/resizeall.js"></script>

<script type="text/javascript" src="clientscript/vbulletin_global.js"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js"></script></if>


peterska2 10-20-2005 11:21 PM

ok, according to your code, there is no reason for there to be a gap. In IE it is more prominant than in Firefox. The only thing I can think of is that it is something to do with the way in which IE handles Java. I could however be completely wrong in which case someone else will contradict me.


All times are GMT. The time now is 02:41 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.01043 seconds
  • Memory Usage 1,731KB
  • 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_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