1. 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

Rather than a popup preview, it is inline in the thread listing.

  1. Jake Bunce
    Compatible XF 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.

Recent Reviews

  1. otaku
    otaku
    5/5,
    great hack
  2. time
    time
    5/5,
    Like
  3. Alex__
    Alex__
    5/5,
    awesome :)
  4. ge66
    ge66
    4/5,
    This is doing almost exactly what I want, and Jake Bunce is as always very helpful.