• 0

IP.Board Show Only In First Post.


Go to solution Solved by ho0kz,

Question

ho0kz

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.

Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
ho0kz

problem solved.

 

used the following;

<if test="$post['post']['post_count']%$this->settings['display_max_posts'] == 1">
    First post
</if>
  • Like 1
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
  • Recently Browsing   0 members

    No registered users viewing this page.