PDA

View Full Version : Postbit Legacy - Signature Inside a Cell


Boosted Panda
27 Oct 2008, 17:51
Ever hate the horizontal line in the signatures? Well here is a great way to separate your signatures and give your forum a nice and clean vertical look. This is for the Postbit_Legacy template layout. I will help with this mod. I am not an expert coder so if anyone wants to give advice it is totally welcomed in a constructive fashion. Enjoy!!!

Find:

$template_hook[postbit_signature_start]

Remove Code in Between Here

$template_hook[postbit_signature_end]
Find:

$template_hook[postbit_controls]
<!-- / controls -->
</td>
</tr>
</table>
Add Below:

<table class="signature" width="100%">
<if condition="$post['signature']">
<tr>
<td class="alt2">
<!-- sig -->
<div>
$post[signature]
</div>
<!-- / sig -->
</td>
</tr>
</if>
</table>
Add in the additional CSS Area of Your Template

.signature {
border-left: solid 1px #0B198C;
border-right: solid 1px #0B198C;
border-bottom: solid 1px #0B198C;
background: #FFFFFF;
}
For the above code I suggest matching this with your .tborder values. Enjoy!


</span></span>

Leo Brazil
28 Oct 2008, 12:43
Great Idea. Installed !!!

lazydesis
28 Oct 2008, 13:07
thats looks very good :)

dmknights
12 Nov 2008, 17:06
does this work on 3.7.4?

Leo Brazil
12 Nov 2008, 18:13
Yes, it does work on 3.7.4

eTiKeT™
13 Nov 2008, 05:33
good ınstalled :)

Knightmane
18 Dec 2008, 02:19
Great mod. This is running smoothly. Thanks a lot.

DarkGizmo
18 Dec 2008, 03:26
Looks crappy, sorry but I won't be installing this one.

Boosted Panda
19 Dec 2008, 19:19
Looks crappy, sorry but I won't be installing this one.

Its not for everyone.

Keesa
29 Dec 2008, 06:54
this is awesome! Thanks for your work!

ragtek
29 Dec 2008, 06:58
hi
i would also take the templatehooks into the modification!

RTMdotORG
30 Dec 2008, 17:04
how can i make the border not as wide? I Got It...

the border color looks better the same as background color

Boosted Panda
30 Dec 2008, 19:41
Thanks everyone, if people want to post there variation, post it up here in the thread. This is a super simple but clean way of organizing those pesky signatures.

Vaupell
12 Feb 2009, 11:21
tx installed, but moved it all inside the post table, but below the reply bottons.

lovely.

trulylowcarb
16 Feb 2009, 22:34
Thanks everyone, if people want to post there variation, post it up here in the thread. This is a super simple but clean way of organizing those pesky signatures.
Thanks so much for your post, and your graciousness too.
I ultimately used your post as pointers on where to change the stock signature. I wasn't totally happy with the changes as you wrote them, so I haven't marked as installed, but I used your post to help me modify the signature to look better.... I always hated that stupid __________ line, and always wanted a different background, so instead of doing just as you said, and adding anything to the exra css, I simply changed the postbit legacy code a bit, and I am much happier with the appearance now.

As per your encouragement to share, here is my template hook for the sig now:
$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]
<if condition="$post['signature']">
<!-- sig --><br /><br />
<div span class='alt2'>
<hr>
$post[signature]
</div>
<!-- / sig -->
</if>
$template_hook[postbit_signature_end]


This is what mine looks like now - I also moved it to above the controls.

Boosted Panda
19 Feb 2009, 22:34
Thanks so much for your post, and your graciousness too.
I ultimately used your post as pointers on where to change the stock signature. I wasn't totally happy with the changes as you wrote them, so I haven't marked as installed, but I used your post to help me modify the signature to look better.... I always hated that stupid __________ line, and always wanted a different background, so instead of doing just as you said, and adding anything to the exra css, I simply changed the postbit legacy code a bit, and I am much happier with the appearance now.

As per your encouragement to share, here is my template hook for the sig now:
$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]
<if condition="$post['signature']">
<!-- sig --><br /><br />
<div span class='alt2'>
<hr>
$post[signature]
</div>
<!-- / sig -->
</if>
$template_hook[postbit_signature_end]


Good pointer! I actually used some CSS code to put a height contrained box with scroll bars for sigs. Nice and clean! That ______ is so annoying! Ever replacing with an HR makes it looks cleaner.

Leo Brazil
20 Feb 2009, 10:55
Hi guys, do you mind in sharing screenshoots for your new ideas ? May be not all will use but would be nice to have even more new ideas, you know, like people say: images "say" more than words.

Tks

trulylowcarb
20 Feb 2009, 16:10
Hi guys, do you mind in sharing screenshoots for your new ideas ? May be not all will use but would be nice to have even more new ideas, you know, like people say: images "say" more than words.Tks
You are right!
I just added a screenshot to my original post with the applicable code. If you like the avatar block's look, check out the Postbit Tabs mod by Digital Jedi that I incorporated at the same time. I just need to make myself some smaller control buttons now, and I think I will be happy/done for a while. :)

Leo Brazil
02 Mar 2009, 14:53
Thanks trulylowcarb for screeny, great idea and thank you for sharing.

matrixc0d3
02 Mar 2009, 18:11
thx good work :)

l_amhed
10 Mar 2009, 13:29
Hi, this is my version with very very few modifications :

<table class="tborder" width="100%" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
<if condition="$post['signature']">
<tr>
<td width="175" class="alt2">
&nbsp;
</td>
<td class="alt2">
<!-- sig -->
<div>
$post[signature]
</div>
<!-- / sig -->
</td>
</tr>
</if>
</table>


I put an already existent class so no need to add an extra CSS part.

Boosted Panda
27 Mar 2009, 19:53
Don't forget those who use the <HR> that property is not very mature.