The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
SOLVED. - formulating a if sentence
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); } {} dont fit in the if (){} ? and not really sure that else can be used here, maybe ? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|