I'm trying to automate the selection of the background images based on two profile fields the users selects. I was able to do this in the 3.8 version with this code:
Code:
<if condition="$post[field#] == 'Option'">
<elseif condition="$post[field#] == 'Option'">
<td class="postbitbg7" width="175" style="border: $stylevar[cellspacing]px solid $stylevar [tborder_bgcolor]; border-top: 0px; border-bottom: 0px id="td_post_$post[postid]">
<else />
Changing the red # to the field number you want to use as well as the red Option, which is the text for that field.
I would like to be able to do this same thing on vB4 now. However, the vastly increased amount of code has put this beyond me. I would not need the size/border coding as above, I've got it working and looking good with the current code (based on usergroups, not fields like I would like)
Can anyone help with this?
Thanks in advance,
Keith