The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
New Neater Signature Style Details »» | |||||||||||||||||||||||||||
This is my very first mod post so be gentle lol
I re-arranged how the signatures display on my forum as I don't like the default....and would like to give back to the community by sharing **Please save your original template code before modifying** In Postbit Templates For postbit_legacy: Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
For postbit: Find: PHP Code:
PHP Code:
The code contains the word signature which can be changed to your language if different, just find and edit: PHP Code:
PHP Code:
Find: PHP Code:
PHP Code:
***Revision 4th December: Removed unnecessary table cell code from postbit replacement plus border style from table cell in postbit_legacy ***Revision 4th December: Added code to change for newpost_preview template ***Revision 3rd January: Thanx to ChopSuey and Warlord for this little change if you want to give your members a link to edit their signature in the legend title: Change: PHP Code:
PHP Code:
Screenshots
Show Your Support
|
Comments |
#2
|
|||
|
|||
nice thank you
|
#3
|
|||
|
|||
You're welcome
|
#4
|
|||
|
|||
I think this stuff is already in some of the custom skins. Nice anyways.
|
#5
|
|||
|
|||
Probably, I daresay I'm hardly the first person to think of putting the signature inside a fieldset and table cell LOL I've always skinned my own forums though and this is the way I changed it on mine...thanx for posting
|
#6
|
||||
|
||||
I was wondering if you could help me out with this problem:
Using your CSS code, specifically by putting "#eaeadb" for background, I was able to make the color inside the Signature block/box match the color of the post area above it. However, the area directly around the outside of the signature block remains the same color. I do not know how to change that. |
#7
|
|||
|
|||
Hi, if that screenshot is from the url in your signature here, just add class="alt1" into this line of the code:
Code:
<td style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px" align="center" valign="bottom"> Code:
<td style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px" class="alt1" align="center" valign="bottom"> Code:
$template_hook[postbit_signature_start] |
#8
|
||||
|
||||
Thanks.
The screen shot was indeed from that URL. Unfortunately, though the change you suggest helps, there are still some problems. Below are two screen shots, first with your modification, the second without: Comparing the two, you can see two problems: 1. The greenish/brownish border outside and directly to the left and right of the signature block/box is thicker than the border around the rest of the post area. 2. Below the signature, the area is still darker than the rest of the post area. Sorry my template is so troublesome. I assume you may need me to post some code from my template. Please let me know if that is so, and from what file. |
#9
|
||||
|
||||
Oh, and above the signature block/box, I notice another border separating the signature area from the post area. I was wondering if that could be removed, too.
|
#10
|
|||
|
|||
Since you're using postbit and not postbit legacy, and your alt classes have borders styled into them that will make those borders show, try just adding the signature inside a fieldset without adding it into a new table cell as well:
Replace: Code:
$template_hook[postbit_signature_start] $ad_location[ad_showthread_firstpost_sig] <if condition="$post['signature']"> <!-- sig --> <div> __________________<br /> $post[signature] </div> <!-- / sig --> </if> $template_hook[postbit_signature_end] Code:
$ad_location[ad_showthread_firstpost_sig] <if condition="$post['signature']"><br /> <!-- sig --> <fieldset class="signature"> <legend>Signature</legend> $post[signature] </fieldset> <!-- / sig --> </if> $template_hook[postbit_signature_end] |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|