<?php $result1 = 343; $result2 = 222; ?>
... but PHx is.
$my_var = "56";
modx->setPlaceholder('age', $my_var);
return;
<?php
//Get the global.php file from the vB install
chdir('xxx/xxx/xxx/xx/xx');
require_once('./global.php');
//Fetch the total number of members.
$tmp1 = $vbulletin->db->query_read("SELECT * FROM users");
$members = $vbulletin->db->num_rows($tmp1);
modx->setPlaceholder('members', $members);
//Fetch the total number of topics
$tmp2 = $vbulletin->db->query_read("SELECT * FROM thread");
$topics = $vbulletin->db->num_rows($tmp2);
modx->setPlaceholder('topics', $topics);
?>
[!vbStats!] <a href="#">[+members+]</a> ...etc...
<div id="foo">
{{ChunkName}}
</div>
..etc..
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/gaia/public_html/new_er/manager/includes/document.parser.class.inc.php(748) : eval()’d code on line 10