The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adding a page break
Take a look at this: http://img2.pict.com/99/e4/27/fe9639...q8/capture.png
I am basically trying to add a page break or some form of line separation from the top line of the vBulletin Message header and the navbar, as you can see they're touching. But looking at the templates, I'm having difficulty in identifying where to put it. |
#2
|
||||
|
||||
One of the STANDARD_ERROR templates.
|
#3
|
|||
|
|||
I've put a </p> in the STANDARD_ERROR template but nothing is happening, is this right
HTML Code:
<title>$pagetitle</title> $headinsert </head> <body> $header <if condition="$navbar"> $navbar <else /> <br /><br /><br /> </p> </if> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="70%" align="center"> <tr> <td class="tcat">$vbphrase[vbulletin_message]</td> </tr> <tr> <td class="panelsurround" align="center"> <div class="panel"> <div align="$stylevar[left]"> <if condition="$show['permission_error']"> <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script> <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])"> |
#4
|
||||
|
||||
Adding </p> into some html is not proper html at all. And, you added it to the <else /> part of your statement which would not be correct either since it is obvious the navbar is showing. So, if you want a break after your navbar, you would need to add it into the part of your if statement that resolves to the $navbar
|
#5
|
|||
|
|||
What do you mean by a statement that resolves to the $navbar?
HTML Code:
<title>$pagetitle</title> $headinsert </head> <body> $header <if condition="$navbar"> $navbar <else /> <br /><br /><br /> <p></p> </if> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="70%" align="center"> <tr> <td class="tcat">$vbphrase[vbulletin_message]</td> </tr> <tr> <td class="panelsurround" align="center"> <div class="panel"> <div align="$stylevar[left]"> <if condition="$show['permission_error']"> <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script> <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])"> |
#6
|
||||
|
||||
It looks to me like the navbar code is showing on that page - is it not? That means that this if statement is showing the navbar:
HTML Code:
<if condition="$navbar"> $navbar <else /> <br /><br /><br /> <p></p> </if> |
#7
|
|||
|
|||
HTML Code:
<if condition="$navbar"> $navbar <p></p> <else /> <br /><br /><br /> </if> --------------- Added [DATE]1245704285[/DATE] at [TIME]1245704285[/TIME] --------------- Okay, that appeared to have worked. Thanks. But I don't know if I have to do it to all the other standard error templates? |
#8
|
||||
|
||||
If the space isn't there and you want it to be, then yes you do. The other option would be to add it to the bottom of the navbar template.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|