Hmm, that's mean that the condition of the if is not TRUE and exit it, or the condition inside just don't work. One way to know it is to comment out the exec_header_redirect(); and write echo ('this condition is true'); under $userdata->save(); If the blank page is white, the first if ($show['member'])) is not TRUE.
If it echoing, try the other if above, move the echo under $userdata->set('styleid', $vbulletin->GPC['newstyleset']);. If it still not echoing then try it on else{}.
Also, which version of vB please you have?
|