From: <re...@ki...> - 2005-02-23 20:29:24
|
> Date: Wed, 23 Feb 2005 11:44:14 +0000 > To: php...@li... > Reply-To: php...@li... > > Any module can add it's own user specific variables to that > table. The=20= > > data is serialized - go look at serialize() on php.net. If > you just=20 added extra columns to the table it wouldn't be > general purpose or=20 extendable. > > You set and get them using setUserVar() and getUserVar() Well, that I've been writing about. Add a variable "rememberme" and a variable "language" instead of a serialized "cookie". I didn't think about new columns, that would take away the flexibility. > This is all in the user module developer docs.=20 > /mod/users/docs/devdoc.txt Thank you, will have a look into that. On a second thought, I'll better wait on how 1.0 turns out. :-) Let's hope, there will be less serialized stuff in it. Doing sql-joins / filtering with serialized stuff is... almost impossible... Rene |