NO ERRORS ANYMORE READ LAST AREA :P
############################# original post ###############
hmm getting a parse error in this snippit
Code:
$vbulletin->input->clean_gpc('r', 'invitation', TYPE_NOHTML);
if ($vbulletin->GPC['invitation']){$invitegroupid = $db->query_first_slave("SELECT NewusergroupID FROM " . TABLE_PREFIX . "vbinvitationcode WHERE invitation = " . $db->escape_string($vbulletin->GPC['InvitationCODE'])}
{
$userdata->set('usergroupid', $invitedgroupid);
}
else
{
$userdata->set('usergroupid', $newusergroupid);
}
Things i suspect, is that
{} dont fit in the if (){} ?
and not really sure that else can be used here, maybe ?