Quote
Frank also enabled the addition of a generic object attribution (a very nice feature of the ObjectUtil) for the users table. Using this, one can add any datafield to the users table (as long as it is a string with max. 255 characters icon_wink )
e.g. it is possible for pnForum now to store user related data this way, which makes its own user table obsolete. If you, as a module developer, need a new datafield, just add it and it is there.
Example: You have an attribute 'someattribute' with 'somevalue'. The array returned by pnUserGetVars() now contains an item '__ATTRIBUTES__' which is an associative array itself with key 'someattribute' and value 'somevalue'.
More information and code snippets can be found in the Wiki after the coding has completed.
Does anyone know if this has been implemented in the the .8 codebase yet? If so, how would you do it? I need this for a .8 module I'm working on so I don't have to keep myown user tables.
Thanks,
cyber_wolf
--
cyber_wolf
www.bkbsolutions.com - My Zikula module development site.
