Posted February 24, 201015 yr Anyone know the template conditional to display something after the first post only? I thought I wrote a list a long time ago before I sold the site but now I can't find it.
February 24, 201015 yr Administrators 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.
February 25, 201015 yr Author 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§ion=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.
March 14, 201014 yr Thank you! I was just about to ask this question in a few days when I was ready to figure this out lol
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.