PDA

View Full Version : How Do i..


ZombieAndy
01-01-2005, 06:42 PM
insert a page break into my main forum page by the FORUMHOME template? ive just used a HTML <br> but its done nothing.

Dan
01-01-2005, 06:43 PM
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

ZombieAndy
01-01-2005, 06:53 PM
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

<!-- 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 &amp; NAVBAR

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>

Guy G
01-01-2005, 07:06 PM
try this

<!-- 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 &amp; NAVBAR

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>

ZombieAndy
01-01-2005, 07:09 PM
not sure what you've changed there but its not worked, there is still no space between the navbar and the welcome message :(

darnoldy
01-01-2005, 07:30 PM
The code in red below will not work...

<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:


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

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

<!-- / guest welcome message -->
</if>
</thead>

Guy G
01-01-2005, 07:40 PM
i saw ur site.... it doesnt look all that bad really... pretty good.

ZombieAndy
01-01-2005, 08:11 PM
The code in red below will not work...

<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:


<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

Guy G
01-01-2005, 08:24 PM
try replace what he made to <br>

ZombieAndy
01-01-2005, 08:29 PM
you mean to change it to


<tr>
<td><br></td> .
</tr>


??

i changed it to that and still see the purple bar :(

SVTBlackLight01
01-01-2005, 08:37 PM
have done it the way you said and now there's just a big purple bar across where i want the space :SThat's because the cells have to have a class unless you put them in a new table.

Try adding the line breaks to the navbar template instead.

ZombieAndy
01-01-2005, 08:41 PM
what put the

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


in the navbar template? where-abouts? at the top?..

Guy G
01-01-2005, 09:03 PM
Replace this:

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

with this

<br><br>


no reason it wont work.

ZombieAndy
01-01-2005, 09:07 PM
Replace this:

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

with this

<br><br>


no reason it wont work.
no reason, but it still dosn't as god just hates me :)

replaced as you said but now the purple bar has gone, and the navbar and guest message have squashed themselves together again :'(

darnoldy
01-01-2005, 09:18 PM
have done it the way you said and now there's just a big purple bar across where i want the space :S

It picking the background color up from one of the style sheets.

<tr style="color:#ffffff;">
<td>&nbsp;</td> .
</tr>
will turn the bar to white. If you want it a different color, you have to change the hex color-value code.

--don

darnoldy
01-01-2005, 09:21 PM
no reason it wont work.

The reason it won't work is that you can't put stuff into a table between rows.

ZombieAndy
01-01-2005, 09:30 PM
ok it now reads


<!-- 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>
<tr style="color:#CCCCFF;">
<td>&nbsp;</td>
</tr>
<!-- / guest welcome message -->
</if>
</thead>


and still it dosn't work :mad:

(#CCCCFF being my forums page background colour btw)

SVTBlackLight01
01-01-2005, 09:56 PM
Do you have link or a screenshot?

darnoldy
01-01-2005, 11:35 PM
Yoda-

I mistyped. The line should be:

<tr style="bgcolor:#CCCCFF;">


Feel the force...

--don