Jump to content

Recommended Posts

  • Administrators
Posted
That is something I just starting to get my head around. I am making a list of them as I go along and will add them soon. I just haven't got to that point yet.
Posted

Here we go, this is what I used for showing something after the first post to guests only.

 

<if test="showAds:|:$post['post']['post_count'] % $this->settings['display_max_posts'] == 1 && $this->memberData['member_id'] == 0">
<div align="center"><a href="http://apertureforums.com/index.php?app=core&module=global&section=register" title="Register Now For Free" rel="nofollow"><img src="/images/register.png" alt="Please register" /></a></div>
</if>

I have no clue what the showAds:|: part does, but it wouldn't work without it.

  • Like 1
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...