Source for file ips_register.inc.php
Documentation is available at ips_register.inc.php
require_once(ipbwi_BOARD_PATH . 'admin/applications/core/modules_public/global/register.php' );
// load login handler. these functions are the base for login and logout
$this->DB = $this->registry->DB();
$this->settings = $this->registry->fetchSettings();
$this->request = $this->registry->fetchRequest();
$this->lang = $this->registry->getClass('class_localization');
ipsRegistry::getClass('class_localization')->loadLanguageFile(array('public_register'), 'core');
$this->member = $this->registry->member();
$this->memberData = $this->registry->member()->fetchMemberData();
$this->cache = $this->registry->cache();
$this->caches = $this->registry->cache()->fetchCaches();
// set request for registration
public function create($request){
$this->settings['reg_auth_type'] = $request['reg_auth_type']; // set validation
$this->settings['bot_antispam_type'] = $request['bot_antispam_type'];
@$this->registerProcessForm(); // @ todo: check notices from ip.board
// catch registration errors
|