• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

  • 0
Sign in to follow this  

IP.Board Show Only In First Post.

Question

ho0kz    10

Hey guys + gals of Neowin.

 

What I'm trying to do is only show the postControls in the first post. So therefor I'm only wanting members to be able to quote, multi-quote, reply from the main post of the topic.

 

Here for instance I've taken an image of posts here at Neowin.

 

I'm only wanting the "Quote, Reply, Edit ) bit to show on the first post in the topic.

 

81de0750ac6028e0e7b7ee6167a8709b.png

 

and so you understand me a little more I've inspect elemented the post and deleted the postControls from the second post so it only shows in the first.

 

b75a5e35044e294f608aa035d300aa81.png

 

Would love some help with this feature.

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
ho0kz    10

problem solved.

 

used the following;

<if test="$post['post']['post_count']%$this->settings['display_max_posts'] == 1">
    First post
</if>
  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.