Opserty,
Thanks for the constant replies. I'm a bit confused here. The updateprofilefields phrase is called inside the global.php page when vBulletin recognizes that a required field is empty. What I need to do is change the link that shows up in the phrase text. I've edited the phrase code as you detailed above but now I'm not quite sure where the PHP code goes. Inside global.php, I have this code:
PHP Code:
// #############################################################################
// check required profile fields
if ($vbulletin->session->vars['profileupdate'] AND THIS_SCRIPT != 'login' AND THIS_SCRIPT != 'profile')
{
$vbulletin->options['useforumjump'] = 0;
if ($vbulletin->userinfo['usergroupid'] == '9') {
if (empty($vbulletin->userinfo['field6']) OR empty($vbulletin->userinfo['field7']) OR empty($vbulletin->userinfo['field9']) OR empty($vbulletin->userinfo['field12'])) {
eval(standard_error(fetch_error('updateprofilefields', $vbulletin->session->vars['sessionurl'])));
}
}
else {
eval(standard_error(fetch_error('updateprofilefields', $vbulletin->session->vars['sessionurl'])));
}
}
Where should the PHP code go and how do I make the call to $thephrase in conjunction to the eval(standard_error(fetch_error('updateprofilefiel ds', $vbulletin->session->vars['sessionurl']))); code that is already in there calling the 'updateprofilefields' phrase?