The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
quick postbit hints please
Hi guys,
I am struggling to get my postbit to do exactly what I want it to and am wrangling custom user profile fields mapped to images. What I want to be able to do is create a block based on their selections (or lack thereof) The attachment shows four images on the right two columns of two rows. They are 120x90 and 120x30 per column so each column is 120x120. I will change these values as I get closer to my idea fit for the graphics but in the mean time I want to be able to get rid of the gutter between the columns. When playing around I have been having much confusion about how rows and columns work in the postbit and I am far from comfortable with the html that implements it. Here is what puts what I have: Code:
$template_hook[postbit_userinfo_left] <td width="100%"> <!-- / helis and modes start --> <if condition="$post[field10]"><img src="images/helicopters/$post[field10].gif"></if> <if condition="$post[field7]"><img src="images/modes/$post[field7].gif"></if> <!-- / helis and modes end --> </td> <td width="100%"> <!-- / motors start --> <div> <if condition="$post[field11]"><img src="images/motors/$post[field11].gif"></if> </div> <!-- / motors end --> <!-- / radios start --> <div> <if condition="$post[field9]"><img src="images/radios/$post[field9].gif"></if> </div> <!-- / radios end --> </td> <td width="100%"> Do I call a different table type or set the tdclass, border or something within that code? When they are hard up against each other I can form the graphics so that they weld and use blanks to ensure that the layout works if the user has not selected. Thanks for help guys. Will |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|