Adding Social Icons To User Banner / Member Card

Adding Social Icons To User Banner / Member Card 0.1

No permission to download
I've tried to follow your suggestions and this is my code for twitter, facebook and Youtube but when I save this. I get the error below?

<div align="centre" class="socialmemcard1"><br>
<xen:if is="{$user.customFields.facebook}">
<a href="{$user.customFields.Facebook}" target="_blank" ><img src="https://motovlog.com/images/socialicons/facebook.png"></img></a>
</xen:if>
<xen:if is="{$user.customFields.twitter}">
<a href="{$user.customFields.Twitter}" target="_blank" ><img src="https://motovlog.com/images/socialicons/twitter.png"></img></a>
</xen:if>
<xen:if is="{$user.customFields.memYouTube}">
<a href="{$user.customFields.memYouTube}" target="_blank" ><img src="https://motovlog.com/images/socialicons/youtube.png"></img></a>
</xen:if>
</xen:if>
</div>


Resulted in error:

The following templates contained errors and were not saved: message_user_info: 1) Line 93: Template syntax error.

Any suggestion? I'm placing where you said to place it?
 
I've tried to follow your suggestions and this is my code for twitter, facebook and Youtube but when I save this. I get the error below?

<div align="centre" class="socialmemcard1"><br>
<xen:if is="{$user.customFields.facebook}">
<a href="{$user.customFields.Facebook}" target="_blank" ><img src="https://motovlog.com/images/socialicons/facebook.png"></img></a>
</xen:if>
<xen:if is="{$user.customFields.twitter}">
<a href="{$user.customFields.Twitter}" target="_blank" ><img src="https://motovlog.com/images/socialicons/twitter.png"></img></a>
</xen:if>
<xen:if is="{$user.customFields.memYouTube}">
<a href="{$user.customFields.memYouTube}" target="_blank" ><img src="https://motovlog.com/images/socialicons/youtube.png"></img></a>
</xen:if>
</xen:if>
</div>


Resulted in error:

The following templates contained errors and were not saved: message_user_info: 1) Line 93: Template syntax error.

Any suggestion? I'm placing where you said to place it?
Sorry for the delay.... You have a dobule </xen:if> at the end :)

You only need a </xen:if> if there is a <xen:if is="XXXXX"> - they must be equal too (so for every <xen:if is="XX"> you'd need a </xen:if> anymore and you will get a syntax error
 
Thats awesome. I prefer icons

Thank you much needed help
No problem, I think I caused confusion by adding a sprite to the original upload - I'll add icons in future...

You can find so many free to use (and nice looking) icons on Google though :)
 
Back
Top Bottom