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-01-2005, 06:42 PM
ZombieAndy's Avatar
ZombieAndy ZombieAndy is offline
 
Join Date: Oct 2004
Location: UK
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How Do i..

insert a page break into my main forum page by the FORUMHOME template? ive just used a HTML <br> but its done nothing.
Reply With Quote
  #2  
Old 01-01-2005, 06:43 PM
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Location: Titusville, Florida
Posts: 1,787
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by YodaTheCoda
insert a page break into my main forum page by the FORUMHOME template? ive just used a HTML <br> but its done nothing.
try using several <br /> if not give us a better idea of what you are trying to do
Reply With Quote
  #3  
Old 01-01-2005, 06:53 PM
ZombieAndy's Avatar
ZombieAndy ZombieAndy is offline
 
Join Date: Oct 2004
Location: UK
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ive moved my guest welcome message from the FORUMHOME template to the header template, so it shows on everypage instead of just my index.. but there is no space between the new guest message and my navbar, im just trying to insert a space so it looks better.

this is the code i have in my header template so far

PHP Code:
<!-- 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]"><center><img src="$stylevar[titleimage]border="0" alt="$vboptions[bbtitle]/></a></td></center>
    <
td align="$stylevar[right]">
        &
nbsp;
<!--
  NEW 
HEADER &ampNAVBAR
  
  Now that the nav buttons are in the
  navbar template
you can stick whatever
  you like into this space
.

  
This makes it much easier for novice
  admins to customize their header
  template without affecting important
  navigation elements
.
-->
    </
td>
</
tr>
</
table>
<!-- /
logo -->

<!-- 
content table -->
$spacer_open

$_phpinclude_output
<!-- main -->
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
thead>
    <if 
condition="$show['guest']">
    <!-- 
guest welcome message -->
    <
tr>
        <
td class="tcat" colspan="6"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
    </
tr>
    <
tr>
        <
td class="alt1" colspan="6">
            <
phrase 1="faq.php?$session[sessionurl]2="register.php?$session[sessionurl]">$vbphrase[first_visit_message]</phrase>
        </
td>
    </
tr>
        </
br>
        </
br>
    <!-- / 
guest welcome message -->
    </if>
</
thead
Reply With Quote
  #4  
Old 01-01-2005, 07:06 PM
Guy G Guy G is offline
 
Join Date: Nov 2004
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try this
PHP Code:
<!-- 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]"><center><img src="$stylevar[titleimage]border="0" alt="$vboptions[bbtitle]/></a></td></center
    <
td align="$stylevar[right]"
        &
nbsp
<!-- 
  NEW 
HEADER &ampNAVBAR 
   
  Now that the nav buttons are in the 
  navbar template
you can stick whatever 
  you like into this space


  
This makes it much easier for novice 
  admins to customize their header 
  template without affecting important 
  navigation elements

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

<!-- 
content table --> 
$spacer_open 

$_phpinclude_output 
<br />
<
br />
<!-- 
main --> 
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center"
<
thead
    <if 
condition="$show['guest']"
    <!-- 
guest welcome message --> 
    <
tr
        <
td class="tcat" colspan="6"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td
    </
tr
    <
tr
        <
td class="alt1" colspan="6"
            <
phrase 1="faq.php?$session[sessionurl]2="register.php?$session[sessionurl]">$vbphrase[first_visit_message]</phrase
        </
td
    </
tr
        </
br
        </
br
    <!-- / 
guest welcome message --> 
    </if> 
</
thead
Reply With Quote
  #5  
Old 01-01-2005, 07:09 PM
ZombieAndy's Avatar
ZombieAndy ZombieAndy is offline
 
Join Date: Oct 2004
Location: UK
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not sure what you've changed there but its not worked, there is still no space between the navbar and the welcome message
Reply With Quote
  #6  
Old 01-01-2005, 07:30 PM
darnoldy darnoldy is offline
 
Join Date: Dec 2004
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The code in red below will not work...
Code:
<thead> 
    <if condition="$show['guest']"> 
    <!-- guest welcome message --> 
    <tr> 
        <td class="tcat" colspan="6"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td> 
    </tr> 
    <tr> 
        <td class="alt1" colspan="6"> 
            <phrase 1="faq.php?$session[sessionurl]" 2="register.php?$session[sessionurl]">$vbphrase[first_visit_message]</phrase> 
        </td> 
    </tr> 
        </br> 
        </br> 
    <!-- / guest welcome message --> 
    </if> 
</thead>
You must do it this way:

Code:
<thead> 
    <if condition="$show['guest']"> 
    <!-- guest welcome message --> 
    <tr> 
        .
        .
        .
    </tr> 

    <tr> 
        <td>&nbsp;</td>        .
    </tr> 

    <!-- / guest welcome message --> 
    </if> 
</thead>
Reply With Quote
  #7  
Old 01-01-2005, 07:40 PM
Guy G Guy G is offline
 
Join Date: Nov 2004
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i saw ur site.... it doesnt look all that bad really... pretty good.
Reply With Quote
  #8  
Old 01-01-2005, 08:11 PM
ZombieAndy's Avatar
ZombieAndy ZombieAndy is offline
 
Join Date: Oct 2004
Location: UK
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by darnoldy
The code in red below will not work...
Code:
<thead> 
    <if condition="$show['guest']"> 
    <!-- guest welcome message --> 
    <tr> 
        <td class="tcat" colspan="6"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td> 
    </tr> 
    <tr> 
        <td class="alt1" colspan="6"> 
            <phrase 1="faq.php?$session[sessionurl]" 2="register.php?$session[sessionurl]">$vbphrase[first_visit_message]</phrase> 
        </td> 
    </tr> 
        </br> 
        </br> 
    <!-- / guest welcome message --> 
    </if> 
</thead>
You must do it this way:

Code:
<thead> 
    <if condition="$show['guest']"> 
    <!-- guest welcome message --> 
    <tr> 
        .
        .
        .
    </tr> 

    <tr> 
        <td>&nbsp;</td>        .
    </tr> 

    <!-- / guest welcome message --> 
    </if> 
</thead>
have done it the way you said and now there's just a big purple bar across where i want the space :S
Reply With Quote
  #9  
Old 01-01-2005, 08:24 PM
Guy G Guy G is offline
 
Join Date: Nov 2004
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try replace what he made to <br>
Reply With Quote
  #10  
Old 01-01-2005, 08:29 PM
ZombieAndy's Avatar
ZombieAndy ZombieAndy is offline
 
Join Date: Oct 2004
Location: UK
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you mean to change it to

PHP Code:
<tr
        <
td><br></td>        .
    </
tr
??

i changed it to that and still see the purple bar
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 04:18 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04285 seconds
  • Memory Usage 2,311KB
  • 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
  • (3)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete