I use this php code in showthread_complete hook and work in SHOWTHREAD template
PHP Code:
if(stristr($thread[mycustomfield], $vbulletin->userinfo['username']) == TRUE)
{
$userok = TRUE;
}
but I need the result of $userok in postbit template... and when I use a hook like "showpost_post" I can't read $thread[mycustomfield]...
some idea? I need the variable $userdok created using my custom field in thread table.. and that result use to in postbits template..... and I not want to make a SQL sentency for know that field of the table for each postbit
Thank You