MyBB Community Forums

Full Version: Retrieve First and Last Post ID's from a thread?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Does MyBB provide these variables / If not how would this be possible

Ex: 
Instead of: /showthread.php?tid=1&action=lastpost
It would just show what lastpost shows without without having to click on the link: /showthread.php?tid=1&pid=2#2
instead of such method this plugin might be useful => First/Last Post/PM Preview
(2016-06-04, 12:59 PM).m. Wrote: [ -> ]instead of such method this plugin might be useful => First/Last Post/PM Preview

This isn't exactly what I want, but I'll use this plugin since I like the feature haha.

I'm asking for variables to distinguish posts in threads. I'm making a Newest Threads/Newest Posts column and the problem is that whenever a new thread is posted it shows as a new thread and new posts. So to remove the message about the post I'm thinking a simple statement (pseudo code) <if {$lastpostid} != {$firstpostid}> output recent posts </if> would work.
Open showthread.php and find the code that runs for the action=lastpost input.