The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
I'm wondering.....where would I add it to place it right above the signature (and below that horizontal line)?
I wanted to see if it would look better. Where would I place that? |
#22
|
||||
|
||||
to put it inbetween the horizontal line and the signature, it would be inside a conditional and wouldnt show if the user hasnt got a signature.
what you could do is put it right at the bottom of the signature, or possibly above the line? |
#23
|
||||
|
||||
Gotcha. So, it would be best to have it right above the signature line so that it avoids not showing up those folks that don't have a signature.
Put it above this code, right? Code:
<if condition="$post['signature']"> <!-- sig --> Yikes, that didn't work. I'll wait for the correct place to put it |
#24
|
||||
|
||||
you're on the right track but a new row wouldn't work there as at that point the table has been closed,
right above: Code:
$template_hook[postbit_signature_start] Code:
<if condition="THIS_SCRIPT != 'private'"> <div class="alt2"> <!-- add your content here --> </div> </if> <br /> |
#25
|
||||
|
||||
Okay, so I'm close
Now, I have that 'frame' all the way around the sig field as well. Here's the code I'm using.... Code:
<!-- new row by tipoboy --> <if condition="THIS_SCRIPT != 'private'"> <div class="alt2"> <fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px"> <legend>WDBling</legend> <div> <center>$commerce_icons[ALL]</center> </div> </if> <br /> <!-- end new row by tipoboy --> ...it's from the mod here https://vborg.vbsupport.ru/showthread.php?t=118076 And, I'm guessing that it's something other than "alt2" since it's a darker color than the post area background. --------------- Added [DATE]1243209224[/DATE] at [TIME]1243209224[/TIME] --------------- Got it, removed the <div> and now I just have to do some adjustments with the line breaks |
#26
|
||||
|
||||
Quote:
Code:
<!-- new row by tipoboy --> <if condition="THIS_SCRIPT != 'private'"> <div class="alt2"> <fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px"> <legend>WDBling</legend> <div> <center>$commerce_icons[ALL]</center> </div> </fieldset> </div> </if> <br /> <!-- end new row by tipoboy --> |
#27
|
||||
|
||||
Dave, I had already removed the <div> tag and then added some line breaks before the code and removed the one after so it wasn't so far from the sig line. I also changed the alt2 to alt1, IIRC, to make it match the background of the posting area.
Was I okay to remove that <div> tag that followed </legend>? --------------- Added [DATE]1243216383[/DATE] at [TIME]1243216383[/TIME] --------------- Oh, just noticed something. The 'frame' around it shows even if someone doesn't have any of the icons. What kind of "if statement" do I add for it not to show if there isn't one showing? |
#28
|
||||
|
||||
I'm unsure about that arny, you could possibly ask the original author of the mod if the code can be used in a if condition
|
#29
|
||||
|
||||
Yup, good advice Dave. I've already posed the question. Hopefully I'll have a solution soon enough.
Thanks again for your help my friend! :up: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|