I've set up a series of user profile fields where the members can enter a URL in each one.
The problem is, if they don't include
http://, then the link obviously will be broken, it would end up rendering to
www.myforum.com/www.google.com or
www.myforum.com/google.com etc, you know what I mean.
So I need a way to check each user profile field for if it contains http:// or not, and add it if it doesn't. Can't find a vb:if CONTAINS conditional anywhere or any similar information.
Something along the lines of,
Code:
<vb:if condition="$bbuserinfo['field12'] CONTAINS http:// OR https://;">
<a href="{vb:raw bbuserinfo.field12}">{vb:raw bbuserinfo.field15}</a>
<vb:else />
<a href="http://{vb:raw bbuserinfo.field12}">{vb:raw bbuserinfo.field15}</a>
</vb:if>