Quote:
Originally Posted by final kaoss
|
Thanks!! I think I see my issue. I need to use the $template_hook.
OK - here is my final code.
I used the showthread_post_start hook location instead of the postbit_display_complete. I don't know if it make a difference both are only called once.
Code:
if ($show['fauxcanview'] === true AND $counter == 1 AND $fetchtype == 'post' AND $post['visible'] == 1)
{
$templater = vB_Template::create('postbit_faux');
$templater->register('fauxmessage', $threadinfo['fauxmessage']);
$templater->register('threadid', $threadinfo['threadid']);
$template_hook['postbit_end'] .= $templater->render();
}
Mark
--------------- Added [DATE]1367196421[/DATE] at [TIME]1367196421[/TIME] ---------------
Quote:
Originally Posted by final kaoss
It has the ability to exclude usergroups and forums built in :P
|
This is not an ad. It is a user created post that can summarize a thread. Such as if a thread goes on for 50 pages you can continue to pull the best or updated info to the front. A good example is when some one here posts a mod and then "reserves" the first post after the mod post. You don't have to do that since you will always have that for your use.