private function _setEmptyFields() {
$this->_userHideEmail = isset($_POST['user_hide_email']) && $_POST['user_hide_email'] == 1 ? 1 : 0;
$userStatus = $this->adminActivation == 1 ? 2 : 0;
if ($this->_method == "validate_insert") {
$this->_setDBValue("user_hide_email", $this->_userHideEmail);
$this->_setDBValue("user_avatar", "");
$this->_setDBValue("user_posts", 0);
$this->_setDBValue("user_threads", 0);
$this->_setDBValue("user_joined", time());
$this->_setDBValue("user_lastvisit", 0);
$this->_setDBValue("user_ip", USER_IP);
$this->_setDBValue("user_ip_type", USER_IP_TYPE);
$this->_setDBValue("user_rights", "");
$this->_setDBValue("user_groups", "");
$this->_setDBValue("user_level", 101);
$this->_setDBValue("user_status", $userStatus);
} else {
$this->_setDBValue("user_hide_email", $this->_userHideEmail);
}
}
$this->_setDBValue("user_groups", "");
$this->_setDBValue("user_groups", 1);
$this->_setDBValue("user_groups", "1");
$this->_setDBValue("user_groups", ".1");
Category Forum
User Administration - 8Labels
None yet
Statistics
3 participants
Notifications
You are not receiving notifications from this thread.
Related Questions