Hi guys, I've been working on this for a few hours, but haven't come up with any result yet. The problem is displaying global phrases - no problem, but any custom phrase group - won't display.
I've looked in member.php which is also displaying my custom phrase group - but I can't see anything that is in there that isn't in my code. I've tried loads of different combinations and haven't got it to work.
Consider this code placed at the top of a plugin which fires at login_verify_success:
Code:
global $vbulletin, $vbphrase;
$phrasegroups = array('cprofilefield', 'arcade');
print $vbphrase['field1_title'];
print $vbphrase['field1_desc'];
print $vbphrase['arcade_end'];
print $vbphrase['accept'];
I've double checked that all the variable names are correct, but the only output I get is from the final print statement - as this is a global phrase.
Am I missing something obvious here?