HMBeaty
04-22-2011, 11:58 PM
Ok, here's a section of my code I'm trying to convert from vB4 to vB3
if ($vbulletin->GPC['skills'] == '')
{
$errors[] = $vbphrase['usml_staffapp_skillserror'] . '{vb:raw vboptions.bbtitle}.';
}
Now, the phrase works just fine, and obviously the {vb:raw vboptions.bbtitle} prints out on the page as {vb:raw vboptions.bbtitle}. But how do I get it to print out as Site Name?
I've tried all sorts of variations, and none have worked so far. So far, I think I've tried
$errors[] = $vbphrase['usml_staffapp_skillserror'] . '$vboptions[bbtitle].';
$errors[] = $vbphrase['usml_staffapp_skillserror'] $vboptions[bbtitle];
$errors[] = $vbphrase['usml_staffapp_skillserror'] . 'vbulletin->options[bbtitle].';
$errors[] = $vbphrase['usml_staffapp_skillserror'] $vbulletin->options[bbtitle];
and I think that's all. Each of those broke the page (white page). So, any help is appreciated :D
if ($vbulletin->GPC['skills'] == '')
{
$errors[] = $vbphrase['usml_staffapp_skillserror'] . '{vb:raw vboptions.bbtitle}.';
}
Now, the phrase works just fine, and obviously the {vb:raw vboptions.bbtitle} prints out on the page as {vb:raw vboptions.bbtitle}. But how do I get it to print out as Site Name?
I've tried all sorts of variations, and none have worked so far. So far, I think I've tried
$errors[] = $vbphrase['usml_staffapp_skillserror'] . '$vboptions[bbtitle].';
$errors[] = $vbphrase['usml_staffapp_skillserror'] $vboptions[bbtitle];
$errors[] = $vbphrase['usml_staffapp_skillserror'] . 'vbulletin->options[bbtitle].';
$errors[] = $vbphrase['usml_staffapp_skillserror'] $vbulletin->options[bbtitle];
and I think that's all. Each of those broke the page (white page). So, any help is appreciated :D