The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
$options array
Hi,
I'm looking at register.php and noticed the $options array which contains all sorts of user options (enable PM, invisible mode, etc..) Is adminemail also saved in this array? (and then in the database) The onlyl thing I could find about adminemail is: if ($errorlist) { $checkedoff['adminemail'] = iif($options['adminemail'], HTML_CHECKED); $checkedoff['showemail'] = iif($options['showemail'], HTML_CHECKED); } else { $checkedoff['adminemail'] = iif(bitwise(REGOPTION_ADMINEMAIL, $vboptions['defaultregoptions']), HTML_CHECKED); $checkedoff['showemail'] = iif(bitwise(REGOPTION_RECEIVEEMAIL, $vboptions['defaultregoptions']), HTML_CHECKED); } in request['do'] = 'register'. How does adminemail get in the $options array? since the user has to select it when registereing why isn't $_POST['adminemail'] used in $request['do'] = 'addmember'? Is $options global? Thanks Also, can anyone tell me where $vboptions['defaultregoptions'] is defined? Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|