Thanks for you replies.
I've tried to do this in parse_templates but it won't work:
Code:
$vsa_tlmu_rstr_s = '<a class="title';
$vsa_tlmu_rstr_r = '<a style="{vb:raw thread.vsa_tlmu_css}" class="title';
$vbulletin->templatecache["threadbit"] = str_replace($vsa_tlmu_rstr_s, $vsa_tlmu_rstr_r, $vbulletin->templatecache["threadbit"]);
When I manually add
Code:
style="{vb:raw thread.vsa_tlmu_css}"
to the template, it works perfect.
thread.vsa_tlmu_css is produced in threadbit_process hook.