Author Topic

Frederik Holljen

Monday 04 October 2004 4:37:04 am

Comment41601

This sounds like a bit of a mess to me since you want to both create new users when they create this class of yours together with the ability to identify the creator of the object by adding fields to this class. I think you should stick to one of the methods.
Whichever method you go for you'll have to write some PHP code. If you want users to be generated automatically you'll have to detect in the content module that this is happening and generating the user on the fly. If you want to check user id by fields in the class you'll have to write the code that does the actual comparisment.
I don't really like the idea of mixing any of these solutions into the content module though.
Maybe you are better of with a really simple user creation form which you display within your class template?