Chris Radford
Active member
Code:
<xen:if is="{$message.position} == {$xenOptions.messagesPerPage} - 1 OR {$message.position} == {$thread.reply_count}">
<!--AD CODE HERE -->
</xen:if>
I'm aware the above will show an advert underneath the last post of each page. I am trying to modify it to only show to the visitors usergroup, using {$visitor.user_id} but wherever I place it, it causes a line code error and the threads do not display.
Where am I messing up? All help is greatly appreciated.