Quote:
Originally Posted by Chuck S Of course that would do nothing that I am aware of. You can not use vbulletin conditonals in Photopost templates. They use a function to define an html if clause which of course they decode into php and analyse. Now regular conditionals would work but also you need to verify your actual variables to see if they are present. Is the bbuserinfo styleid variable present on the page your using? If it isn't you will not get any type of code to work.
a proper php conditional would look like this. Now note I also put in the print statements to bypass between html and php so you can drop the whole thing right where you want it to print. Code: Content visible to verified customers only.
|
Thanks, but that did not work. I insert the code exactly as you wrote, and it simply removed the ad altogether. I checked the Style ID twice, too, and 4 is the ID listed in the
VB control panel.
Here's the larger context of where this code is going. Maybe there are some hints here:
Code:
Content visible to verified customers only.
Any ideas? Thanks.