zoldos Well-known member Mar 6, 2014 #1 What conditional code can I use to display certain content only if a user is a member of a particular secondary user group? It's for ads. If there is an easier way, or some kind of banner advertisement add-on, please let me know! Thanks!
What conditional code can I use to display certain content only if a user is a member of a particular secondary user group? It's for ads. If there is an easier way, or some kind of banner advertisement add-on, please let me know! Thanks!
LordsKing Active member Mar 6, 2014 #2 <xen:if is="{xen:helper ismemberof, $visitor, 3, 4}"> Change the numbers by the ID of groups users ! Upvote 0 Downvote
P Paul B XenForo moderator Staff member Mar 6, 2014 #3 Some related resources: Conditional Statements Responsive AdSense Upvote 0 Downvote
zoldos Well-known member Mar 6, 2014 #4 Thanks! What is the closing tag? <xen:/if> ? Upvote 0 Downvote
LordsKing Active member Mar 6, 2014 #5 zoldos said: Thanks! What is the closing tag? <xen:/if> ? Click to expand... </xen:if> Upvote 0 Downvote
zoldos Well-known member Mar 6, 2014 #6 Brogan said: Some related resources: Conditional Statements Responsive AdSense Click to expand... Cool, thanks! Upvote 0 Downvote
Brogan said: Some related resources: Conditional Statements Responsive AdSense Click to expand... Cool, thanks!