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 09-28-2005, 12:11 AM
revlimiter's Avatar
revlimiter revlimiter is offline
 
Join Date: Sep 2005
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 10-19-2005, 10:49 PM
revlimiter's Avatar
revlimiter revlimiter is offline
 
Join Date: Sep 2005
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump
Reply With Quote
  #3  
Old 10-19-2005, 11:11 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've not checked it but this should work

https://vborg.vbsupport.ru/showthrea...tegory+spacing
Reply With Quote
  #4  
Old 10-20-2005, 02:45 AM
revlimiter's Avatar
revlimiter revlimiter is offline
 
Join Date: Sep 2005
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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/
Reply With Quote
  #5  
Old 10-20-2005, 11:34 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 10-20-2005, 11:14 PM
revlimiter's Avatar
revlimiter revlimiter is offline
 
Join Date: Sep 2005
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #7  
Old 10-20-2005, 11:21 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 03:21 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.04189 seconds
  • Memory Usage 2,216KB
  • Queries Executed 11 (?)
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
  • (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_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