: user_add() : Changes : 1 : William Lang : 2008-09-18 15:41:56 Hey, Great class. But I think you should make some changes to your user_add function. Currently you have hard coded the language to the function. You should include the language in the vars array. To be honest you should include all ...
... :03:51 Its the first time I see a php class methods returning (string)SUCCESS or (string)FAIL instead of (bool)TRUE or (bool)FALSE. Not ideal. The user_add method should integrate tightly into ucp module rather than handling the users variables manually. I ended up not using the class at all. Site ...
... ->init(false); require_once($phpbb_root_path . 'includes/functions_user.' . $phpEx); $error = null; avatar_process_user($error); return $error; } //
user_add public function
user_add($phpbb_vars){ global $phpbb_root_path, $phpEx, $db, $config, $user, $auth, $cache, $template; //fail presumtion $phpbb
...
... Logout act on ANONYMOUS user user_id is ANONYMOUS for both users 2009-02-04 20:23 0 user update correction user update correction 2008-11-19 22:07 1 user_add() Changes 2008-09-18 15:41 0 Congratulations finally there is class for phpbb3 integration 2008-09-18 08:26 0 1 - 10 11 - 19 Site Meter ...