The Arcive of vBulletin Modifications Site. |
|
Signature Backgrounds Details »»
|
|||||||||||||||||||||||||||
This mod will allow users to add backgrounds to their signatures. It requires 3 new fields and 1 template edit. This mod requires some experience in editing templates.
First field is X-1: Type: Single-Line Textbox Name: Signature Background Details: Choose a color or image for your background The rest is default. On this field color names, hex values or links can be used. ie., black, white, #000000, #FFFFFF, ![]() ![]() Second field is X-2: Type: Single-Line Textbox Name: Signature Background Border Color Details: Choose a color for the border if any The rest is default. The third is X-3: Type: Multiple-Selection Checkbox Name: Signature Background Link ? Details: If you used a link to an image check yes here. Options: Yes The rest is default. This field tells it if it's a link or not and switches the codes accordingly. Now for the templates open postbit/postbit_legacy and find: Code:
<!-- sig --> Code:
<!-- Signature Background -->
<if condition="$post['fieldX-1']">
<div style="<if condition="$post['fieldX-2']">border:$post[fieldX-2] 1px solid;</if> background:<if condition="$post['fieldX-3']">url($post[fieldX-1]);<else />$post[fieldX-1]; </if> align:center"><br /> <br />
$post[signature]
<else />
<div>________________<br />
$post[signature]
</if>
</div>
<!-- / Signature Background -->
I am just learning all of this stuff so if i did something wrong in my coding please for give me. But this works great on my board. Screenshots
Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Nice one
|
|
#3
|
|||
|
|||
|
Great
|
|
#4
|
|||
|
|||
|
thank you for this iwill try later
|
|
#5
|
||||
|
||||
|
very good
|
|
#6
|
|||
|
|||
|
Ok, got the fields made but I'm obviously doing something wrong here.
Instruction says: Quote:
Like this ['field10-1'] Or this: ['field10'] Any help would be appreciated. Thanks |
|
#7
|
|||
|
|||
|
Quote:
Thanks for the mod |
|
#8
|
|||
|
|||
|
the only thing is that when the board isn't fixed, the images tile horizontally
|
|
#9
|
|||
|
|||
|
Quote:
You'll need to enlarge your picture in Paint or Photoshop to fit your space. Even then it might not look right to other. Only took me 5 or 6 adjustments to get mine right. |
![]() |
|
|