XenForo Minimal example of how to extend Thread

  • Thread starter Thread starter ChristianA
  • Start date Start date
C

ChristianA

Guest
Hi there.
I need a minimal example of how to setup a Listener.php and an event listener to extend the Thread class in XF\Pub\Controller.
That's because I want to iterate all posts on the first page of a Thread to manipulate the html output in every post.

Background info: I can do that via template modification, but it is very ineffective to iterate every post via my own functions and classes. And the showstopper ultimatively is that I am not able to get other return vars than string from...

Read more

Continue reading...