Let me try and explain this.
I'll rewrite it so you can see why you need
eval('print_output("' . fetch_template('shell_blank') . '");');
PHP Code:
<?php
while($thisuser = $vbulletin->db->fetch_array($sql))
{
$gettitle = $thisuser['ttitle'];
$getforumtitle = $thisuser['ftitle'];
$jb_bits .= "This text goes into the template "jb_bit";
}
$html = "This goes into the template "jb";
?>
If you notice the variables aren't being echoed. So you have to add a line to echo them out.
PHP Code:
<?php
while($thisuser = $vbulletin->db->fetch_array($sql))
{
$gettitle = $thisuser['ttitle'];
$getforumtitle = $thisuser['ftitle'];
$jb_bits .= "This text goes into the template "jb_bit";
}
$html = "This goes into the template "jb";
echo "show us the contents of $jb_bits and $html";
?>
I know it's not a very good explanation but hopefully you now understand how it works.