• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Can I add 'Recent Posts' to index route?

#1
I can add '/find-new/7687437/posts' to my index route to show all new unread posts on the homepage.

But I want to show all recent posts, read or unread.

I guess I can't add '/find-new/posts?recent=1' as it's technically a search query?

Anyway I can work around this to show all recent posts?

(please don't suggest the Widget Framework New Threads add-on as it doesn't work very well)
 

wang

Well-known member
#2
I do not think that you can accomplish this with adding the link only. Most likely that will need custom developement.
 
#3
I agree.

I don't get how it works though.

I can use the Widget Framework to add a template, but this doesn't have it's own template which would run the query does it?
 

wang

Well-known member
#4
I agree.

I don't get how it works though.

I can use the Widget Framework to add a template, but this doesn't have it's own template which would run the query does it?
I do not know if it does it or not, because I am not using that add on.
 

James

Well-known member
#8
Yeh but that doesn't display 'read' threads. Users get confused when the ones they've read dissappear
That's how the URL is designed to work so without custom development you're going to have to either:
  • Use find-new/posts and deal with 'read' threads disappearing
  • Use find-new/posts?recent=1 and display recent posts (read or unread)
  • Use recent-activity/ and display the forum's recent activity (shows everything not just posts)