Fork me on GitHub

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 4 6 Abuse admin Android AntiHarvesting AntiSpam API Apple Battlefield Blocks Bootstrap Captcha cell cent chronolabs Clicks Cloud content CĂN demo download Dresses facebook Fat for free Gateway giải Google Guide herre Honeypot html5 Human HỘ IP iPhone jQuery Language Law Legal List Loss module modules Monster new newbb news NHÀ online PARK Payment phone PHP Prevention profile project Protector publisher RESIDENCE responsive review Rights rmcommon Room security Sentry Signatures Signed site Smartphone Smarty Smoking Solution Spam Studio support tag tags tdmcreate The Theme themes tháp User userlog web weight xoops Xortify XPayment ZendFramework

New Users

Registering user

# 138242

Irfan

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  |  Register To Post



#1 Posted on: 2004/2/9 11:01 generated user uid
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');



Top

shagreel
Joined:
2003/1/17 16:57
Group:
Registered Users
Posts: 13
(Show More) (Show Less)







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You can vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]