Hi kh99,
That's exactly what I did last night found this bit:
Code:
$templater = vB_Template::create($vbulletin->options[cat_yars_postbit_style]);
$templater->register('post', $post);
$templatevalues['awardimages'] = $templater->render();
vB_Template::preRegister('postbit_legacy', $templatevalues);
That is definitely referencing the image but it's location is postbit_display_complete, which makes me think it's not actually rendering the image here, rather just referencing it to add as a variable for postbit_legacy.
If order to enable these images in PMs, I did to find the conditional statement that starts the execution and add this to it:
Code:
<vb:if condition="THIS_SCRIPT == 'private'">
....
</vb:if>
but I'm not sure yet. Setting up a dev site right now to test out changes to plugins without messing things up too much so I can't try it yet but I think I have some better understanding of why PMs don't automatically get the same things to use that posts do, despite looking the same. Plugins usually call on a condition like $post[thing] = something and if I am not mistaken, the $post[''] code won't reference PM content.
Any comments?