RE: LiveUser custom fields not working

From: Date: Thu, 16 Mar 2006 16:26:23 +0000
Subject: RE: LiveUser custom fields not working
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23309@lists.php.net to get a copy of this message
It does work with standard properties, and that's why I'm so confused with it. And yes, I have added the custom field to the database. Does it make any difference if its in the liveuser_users table? Should it be in the liveusers_perm_users table instead? That's the only other thing I can think of... Is there any different example out there with custom fields, or is that code wrong? I have been able to get a workaround with it using the DB_DataObject connections and using the auth_user_id to pull the record I need, but it'd be nice to get a 'proper' method working. Thanks for any help Zane -----Original Message----- From: Lukas Smith [mailto:lsmith@php.net] Sent: Wednesday, March 15, 2006 2:20 AM To: pear-general@lists.php.net Subject: Re: LiveUser custom fields not working Wright Zane A A1C 30 IS/DOMM wrote: > But for whatever reason I CANNOT get it to return it when I use the > getProperty() function. I'd post my relevant config sections in here but > its on a different network and I'm not allowed to copy information over. > It would be right to say that I have EXACTLY what they use in their code > sections, just instead of 'name' I use 'orgtype_id' and where it uses Well without seeing the code its kinda hard to help. Does it work for standard properties like? var_dump($LU->getProperty('auth_user_id')); var_dump($LU->getProperty('perm_user_id')); > 'text' I use 'integer'. Also, the last comment of the page about > synchronizing your storage container, I have no idea what they are > talking about, and that may be the problem. But could somebody clarify If you add custom properties, you also need to add them to your database. Using the install.php you can simply tell the install script to do the necessary alterations in the database for you, based on your configuration. > if that could cause my issue? SOOoo can anybody help? Also, if anybody > CAN help can they cc me directly? My email system seems to kick out > about half the digest posts. Thanks for any help!

« previous php.pear.general (#23309) next »