I have adsense ads on my forums displayed to guests only. However, I have received a request from a member who would like to view the ads when logged in as a member because he finds they are helpful sometimes.
To try to accomodate his request, I added a profile field where a member can select Yes or No to display the ads. No matter what I try though, I can't get the ads (separate from the guest only ads) to show if Yes is selected.
Here are the different things I have tried:
I have also tried the above combinations without the single quotes around field14.
How would I form the conditional to show the ads if the user selects Yes? Any help would be appreciated!
To try to accomodate his request, I added a profile field where a member can select Yes or No to display the ads. No matter what I try though, I can't get the ads (separate from the guest only ads) to show if Yes is selected.
Here are the different things I have tried:
PHP Code:
<if condition="$vbulletin->userinfo['field14'] == 'Yes'">
PHP Code:
<if condition="$bbuserinfo['field14'] == 'Yes'">
PHP Code:
<if condition="($bbuserinfo['field14'] == "Yes")">
How would I form the conditional to show the ads if the user selects Yes? Any help would be appreciated!
Comment