Last post of specific topic

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Ideas Centre
Post Reply
User avatar
Kami-sama
Registered User
Posts: 137
Joined: Sat May 26, 2018 3:07 pm

Last post of specific topic

Post by Kami-sama »

Hey everyone!

I am looking for something similar to "Recent Topics", but the idea here is:
- you have 1 specific news topic
- last post of said topic is displayed in header div

I had code for that. But with phpBB 3 it no longer works because of URL.
I used: $.get("/t"+topicID+"-?view=newest", function(data){
This way I would take the data of newest post and would apply it where I need.


Maybe there already is an extension for this?
Or an extension to get topics newest post link? Seams like "?view=newest" does not work here.

I tried following this tutorial as well:
https://wiki.phpbb.com/Practical.Displa ... rnal_pages
But no luck. Guess I am missing something in the code.
Post Reply

Return to “Extension Requests”