I have a question ... although I think I know the answer ...
In the API documentation ( http://docs.postnuke…w&f=pnapi/re50.html ) it says:
Quote
Other (user) variables will be made available in future releases of the API. You can register new user variables with the register_user_var module API function included in Modules module.
The register_user_var is not implemented yet and its been a while as I can see on these forum posts:
http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=33357&highlight=registeruservar
http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=13629&highlight=registeruservar
http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=8751&highlight=registeruservar
Is there a new way of registering user variables since then?
Or
do i have to create a function that adds that manually
or even create my own table with such variables
or maybe use a hook everytime user gets created? (please give me more info on this one cause I do not know much about hooks)
In any case I think it would be good if "register_user_var" was implemented as it is a very important function ... you just have to define some sort of naming convention to ensure that the module defined variables do not have the same name with future Postnuke defined user variables.
Alexan
