Quote:
Originally Posted by BirdOPrey5
This is cool but the postbit area can get very 'busy' for some peoples tastes. I added another option to let users disable seeing these at all if they choose:
Make yet another custom user profile field, this time a Single Selection Radio Button...
Options:
Yes
No
Filed Required: Yes at registration...
The rest of the settings same as mentioned for the other fields.
Code:
<if condition="($vbulletin->userinfo['fieldY'] != 'No')">
<div align="center">
<if condition="$post[fieldX] != ''"><img src="images/teams/$post[fieldX].gif" title="$post[fieldX]" align="center" border="0"/></if>
<if condition="$post[fieldX] != ''"><img src="images/teams/$post[fieldX].gif" title="$post[fieldX]" align="center" border="0"/></if>
<if condition="$post[fieldX] != ''"><img src="images/teams/$post[fieldX].gif" title="$post[fieldX]" align="center" border="0"/></if>
</div>
</if>
Replace "fieldY" with the field number of this new option, example: field15
|
Does this work for 4.1.3.?
I got this..
Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 3416
Quote:
The following error occurred when attempting to evaluate this template:
%1$s
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
|
Are we supposed to change/add something to the
red part.?
Thanks