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

Add preview text for first post in thread list

Compatible XF 1.x versions
1.2
library/XenForo/ControllerPublic/Forum.php

Add the red code:

Code:
	protected function _getThreadFetchElements(array $forum, array $displayConditions)
	{
		$threadModel = $this->_getThreadModel();
		$visitor = XenForo_Visitor::getInstance();

		$threadFetchConditions = $displayConditions +...
You do not have permission to view the full content of this resource. Log in or register now.
Author
Jake Bunce
First release
Last update
Rating
4.75 star(s) 4 ratings

More resources from Jake Bunce

Latest reviews

great hack
Like
awesome :)
This is doing almost exactly what I want, and Jake Bunce is as always very helpful.