shagreel shagreel
  • Just popping in
  • Just popping in
  • Joined: 2003/1/17 17:57
  • Group: Registered Users
  • Posts: 13
  • Posted on: 2004/2/9 12:01
generated user uid #1
I really need to be able to specify the uid of users that I create. I wonder if the code to assign a users id could be changed to something like the following.

if ($user->isNew()) {
if($user->getVar('uid'))
$uid = $user->getVar('uid');
else
$uid = $this->db->genId($this->db->prefix('users').'_uid_seq');

How to effectively post a question in the Xoops forums? - Read here...
Design by: XOOPS UI/UX Team