Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Show similar threads below first post
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: Show similar threads below first post
$posts is an aggregation of all posts, so if you want to stick something in the middle of them, you'd need the postbit template.

However, $similar_threads is only evaluated after posts are generated, so it probably won't work simply placing the variable there.  What you may be able to do is place this conditionally in the postbit template

HTML Code
<!-- SIMILAR_POSTS -->

and use the following in the showthread template

Code:
<?=str_replace('<!-- SIMILAR_POSTS -->', $similar_posts, $posts)?>

instead of just using {$posts}


My Blog
02-28-2013 09:43 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Show similar threads below first post - ZiNgA BuRgA - 02-28-2013 09:43 AM

 Standard Tools
Forum Jump: