MyBB Community Forums

Full Version: First post PID from threadlist
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey,

I need a "report post" shortcut in threadlist , is it a way to do that ?


I have try to add this code on "forumdisplay_thread" :
<a href="report.php?pid={$post['pid']}">
<a href="report.php?pid={$thread['pid']}">
But necessarily like that can not work well from threadlist :/
...i want only hook the PID of the firstpost, always the first PID...but i don't find a way :/

See picture if necessary.

Thank you

I discovers mybb from 1 month and it's a amazing forum, really better than phpbb , smf and others. Big Thanks to developpers.
Try:
<a href="report.php?pid={$thread['firstpost']}">Report</a>
Nice, that work Smile

Thank you Destroy666
Thanks for the idea I might use it on my forum.