XF 2.3 Merge threads redirect to go the the top of the newer thread, not the older one.

Mr Lucky

Well-known member
When I merge thread A (newer thread) into thread B (older thread) I want thread A’s redirect to go the the first post of thread A within the merged thread. But it doesn’t, the redirect goes to the top of the merged thread, ie the first post of what was thread B.

Is there any way to have the redirect go to what was the OP of A?

Hope that makes sense, thanks for any solutions.
 
hehe yeah this is kind of annoying. but i have been on xf so long that i am not sure the behavior was any different on vb. xenforo clearly does not keep track of the post number when threads are merged. so it points to the merged thread itself so the user lands on first page.
 
I have a reasonable use case for this and thought I had the solution.

I wanted to post in a thread (B) but I want to have everyone watching the forum get a notification whether they are still watching that thread or not (all members are watching the forum)

  • Post new thread A
  • Before anyone replies I merge into old thread B (no redirect) so the thread A pst becomes thread B post#21
  • Set up htaccess to redirect thread A to thread B post #21
  • The email notification follows the redirect to thread B but not to post#21

This is because the URL from email notification is appended with unread?new=1

So all I need is to make the htaccess redirect strip out unread?new=1

Maybe someone knows how to do that?
 
Back
Top Bottom