ahja.. {vb:raw comments} = {vb:rawphrase comments}
have to look better and take more time it seems
Added it right next to <!-- threadstats -->
But still nothing hsown
just add {vb:rawphrase comments} in the threadbit template -> worked
as a test i tried something different:
PHP Code:
$myplugin_output = "This is my plugin";
$templater = vB_Template::create('Testtemplate');
$templater->register('myplugin_output', $myplugin_output);
$templatevalues['insert_var1'] = $templater->render();
vB_Template::preRegister('threadbit', $templatevalues);
and a template with only
PHP Code:
{vb:raw myplugin_output}
in it..
in threadbit i added
PHP Code:
<li>{vb:rawphrase comments}:{vb:raw insert_var1} </li>
it worked great.
so i guess my problem is somewhere else. (maybe with the if condition)
thanx for the great help so far
edit: since iam not sure.. do i have to make a different register for "threadbit_reputation" since its nen Array?
Edit2: ha got it.. the if sequence is somehow "broken" for me. If i delete it, i see all comments. also all where the count is zero but hey.. getting better
edit3: Beginnerstyle programming: Just understood your comment about the threadbit_reputation_given. Now its working fine
Note to myself.. Learn to read englisch carefully