Joeychgo 03-29-2006, 09:57 PM This is something that always irks me.
I like a little space after the post and before the signature. I just think things are a bit too crowded otherwise.
If you would like to do this also....
This is a simple template change. VERY simple.
In your postbit or bostbit_legacy (depending on which you use, vB FAQ uses Legacy)
The controlling piece of code is this:
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
Just add the <br /> in like this - add as many as you like.
<if condition="$post['signature']">
<!-- sig -->
<div>
<br /><br /><br />
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
Thats it! Just for those who dont know, <br /> = line break in HTML.
Peggy 03-29-2006, 11:11 PM Can you do that after the line as well so that the signature isn't smack up against the bottom of that line? THAT irks me
Joeychgo 03-29-2006, 11:13 PM Yes.... Just add as many as you like
<if condition="$post['signature']">
<!-- sig -->
<div>
<br /><br /><br />
__________________<br /><br /><br />
$post[signature]
</div>
<!-- / sig -->
</if>
Or - take the whole line out so there is no line....
<if condition="$post['signature']">
<!-- sig -->
<div>
<br /><br /><br />
$post[signature]
</div>
<!-- / sig -->
</if>
Or - Replace the line with something else
<if condition="$post['signature']">
<!-- sig -->
<div>
<br /><br /><br />
********************<br /><br /><br />
$post[signature]
</div>
<!-- / sig -->
</if>
Peggy 03-29-2006, 11:20 PM sweeeeeeeeet... thanks hun
BamaStangGuy 03-30-2006, 12:35 AM Never thought of doing this! Good idea
Elsie 06-22-2006, 08:24 AM i know i'm a bit behind the times, but thanks for this!! :)
can i center my dividing line too? and if so whereabouts does the <center> need to be?
... or even use <p> several times....
Elsie 06-22-2006, 08:37 AM what about centering? :)
what about centering? :)Try
<span class="center">_________________</span>
Here's an excellent resource: http://www.yourhtmlsource.com/fullindex/
Elsie 06-22-2006, 08:45 AM nope that didn't do it......
Elsie 06-22-2006, 08:46 AM aha
plain old <center>______________</center> did tho :)
Ah well... nearly there then. Glad you got it sorted.
Peggy 06-22-2006, 12:01 PM John thank you for that link! The section on CSS is going to be very helpful to me. Just about every other CSS resource I've googled was so confusing. THIS one I can understand. Strange that I didn't find it in a google search :(
Elsie 06-22-2006, 03:17 PM looks useful :) i'm just coming to the end of a short html course, so this will be handy for further development! thanks.
Might be a good idea to start some tests eh!!
Peggy 06-22-2006, 04:33 PM uugghhh I'm so BAD at tests :rolleyes:
Norman 06-22-2006, 05:15 PM Really nice idea! :D
Thanks!
Peggy 06-22-2006, 05:20 PM speaking of which.... Joey, would you put another <br /> beneath the line so the sig isn't right up against it? puleeeeeeaaaaaaase? :p
Boofo 06-22-2006, 11:29 PM ... or even use <p> several times....
How would you do this with the paragraph tags and what would be the difference between that and the breaks?
Hi Boofo, it was my understanding that the <p> tage puts a space between it and the next line, so rather than just using two <br />'s could you not use just on <p>...?
Elsie 06-23-2006, 03:08 AM in my experience of coding (which is limited, i know) i've never used a <br />. it's always just been <br>. can anyone tell me what the difference is, if there is one?!
Boofo 06-23-2006, 09:21 PM Hi Boofo, it was my understanding that the <p> tage puts a space between it and the next line, so rather than just using two <br />'s could you not use just on <p>...?
True, I think. How would you do it with the paragraph tags then, as an example?
Peggy 06-23-2006, 10:26 PM True, I think. How would you do it with the paragraph tags then, as an example?
One <p> gives you the same result as 2 <br>'s or <br />'s
so rather than using <br /><br />, you'd use one <p> = same result
Elsie 06-24-2006, 01:53 AM is having the / inside the brackets the same as going without?
Peggy 06-24-2006, 03:47 AM <br> is html and <br /> is xhtml. Both codes produce the same results. But the latter is better used.
XHTML is a reformulation of html. You can read about it here (http://webdesign.about.com/od/html101classes/a/bl_xclass1_3a.htm). I'm just learning xhtml myself, as I've been writing webpages with html for years.
Elsie 06-24-2006, 10:51 AM oooooooooo-k!! lol. thanks!
i think i'll carry on with the basics of html for now!! one thing at a time!
Peggy 06-24-2006, 10:52 AM lol... I do the same most of the time. I'm learning the xhtml a little at a time.
Elsie 06-24-2006, 11:03 AM just glancing at those tips, i do a lot of them already, so that's handy!! :)
Peggy 07-06-2006, 08:43 PM back on topic....
I put a couple of <br />'s after the line as well. I hate for the signatures to be smack up underneath that divider line.
Elsie 07-07-2006, 03:50 AM yeah i've done that too :)
Angels 06-22-2007, 01:26 PM Thanks, it works great. Just a word though, I'm using the old Postbit thing, the vBulletin 2 one, but I still had to edit my Postbit_Legacy template. The normal postbit one didn't do anything, so either you can only edit one of those, or you made a typo :)
Joeychgo 06-22-2007, 01:47 PM You only need to edit one or the other - whichever your using.
popowich 06-27-2007, 05:39 PM Thank you. I added the extra br to break away under the line.
Mf.RUb 09-15-2007, 01:50 PM capsssssssssss
|