Quote:
Originally Posted by Alex_
From the hook on:
Code:
($hook = vBulletinHook::fetch_hook('showthread_postbit_create')) ? eval($hook) : false;
$postbit_obj =& $postbit_factory->fetch_postbit($fetchtype);
if ($fetchtype == 'post')
{
$postbit_obj->highlight =& $replacewords;
}
$postbit_obj->cachable = $post_cachable;
$post['islastshown'] = ($post['postid'] == $lastpostid);
$post['attachments'] =& $postattach["$post[postid]"];
$parsed_postcache = array('text' => '', 'images' => 1, 'skip' => false);
$postbits .= $postbit_obj->construct_postbit($post);
Hmhm, I don't understand it... does the postbit constructer change something?!
|
It looks the same as mine. postbit_obj->construct_postbit($post) generates the actual code for the postbit.
Perhaps that has been changed.
In
includes/class_postbit.php
The postbit functions are defined.
There should be a section of code something like:
/**
* Parses the post for BB code.
*/
function parse_bbcode()
{
$this->post['message'] = $this->bbcode_parser->parse($this->post['pagetext'], $this->forum['forumid'], $this->post['allowsmilie']);
}
Maybe that refers to a different variable.