@rdn ACP > Advertising > Add advertisement, select "Post below message content" and set the value of HTML to
and then apply save.Code:<xf:if is="$post.Thread && $post.post_id === $post.Thread.first_post_id"> Mozambique here </xf:if>
What is the difference of this 2 code by the way?This will do:<xf:if is="{$__globals.thread} AND {$__globals.post} AND {$__globals.thread.first_post_id} == {$__globals.post.post_id}">
What about targeting last post?This will do:<xf:if is="{$__globals.thread} AND {$__globals.post} AND {$__globals.thread.first_post_id} == {$__globals.post.post_id}">
This will do:<xf:if is="{$__globals.thread} AND {$__globals.post} AND {$__globals.thread.first_post_id} == {$__globals.post.post_id}">
first_post_id
to last_post_id
I already tried this, doesn't work.Or use
and changefirst_post_id
tolast_post_id
We use essential cookies to make this site work, and optional cookies to enhance your experience.