David McHenry Posted February 24, 2010 Posted February 24, 2010 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. Quote
Administrators AWS Posted February 24, 2010 Administrators Posted February 24, 2010 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. Quote
David McHenry Posted February 25, 2010 Author Posted February 25, 2010 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. 1 Quote
AzzidReign Posted March 14, 2010 Posted March 14, 2010 Thank you! I was just about to ask this question in a few days when I was ready to figure this out lol Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.