I created a new temp for my product but faulty:
Code:
Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\forum\includes\class_core.php(4633) : eval()'d code on line 90
this is code my temp test:
Code:
<div class="blockrow">
<label for="pmrecips_ctrl" class="floatcontainer full">
{vb:rawphrase recipients}:
<span class="hidden" onclick="return swapbcc(this);" id="bccspan">[<a href="javascript://" >{vb:rawphrase bcc}</a>]</span>
</label>
<script type="text/javascript" src="clientscript/vbulletin_ajax_suggest.js?v={vb:raw vboptions.simpleversion}"></script>
<div id="pmrecips" class="popupmenu nomouseover noclick nohovermenu">
<textarea class="primary full textbox popupctrl" id="pmrecips_ctrl" name="recipients" rows="{vb:if is_browser('mozilla'), 1, 2}" cols="50" tabindex="1">{vb:raw pm.recipients}</textarea>
</div>
<script type="text/javascript">
<!--
recip_sugg = new vB_AJAX_NameSuggest('recip_sugg', 'pmrecips_ctrl', 'pmrecips');
<vb:if condition="$show['sendmultiple']">recip_sugg.allow_multiple = true;</vb:if>
//-->
</script>
<p class="singledescription">{vb:rawphrase recipients_desc}</p>
</div>
And this code plugin:
Code:
$templater = vB_Template::create('test');
$test .= $templater->render();
$vbulletin->templatecache['newthread'] = str_replace('\' . $messagearea . \'', '<div class="blockrow">' . $test . '</div>\' . $messagearea . \'', $vbulletin->templatecache['newthread']);