Forums / Developer / sign up users: urgent!
Rinze Cats
Wednesday 12 May 2004 3:02:16 am
Hi,
i have a specific user group I want to add users that register through the site to.Hi can I set the sign up functionality to add users to this group?
this a very urgent problem, all pointers are much appreciated!
Paul Forsyth
Wednesday 12 May 2004 3:52:06 am
Read this document. It discusses the user/register process and which variables you need to change to alter placement.
http://ez.no/ez_publish/documentation/incoming/tutorial_using_userregister
--http://www.visionwt.com
Wednesday 12 May 2004 7:02:20 am
thanx for the quick reply,
i have read this manual but don't really know what to do,
I have made an override for the register.tpl and ezuser.tpl.
what code do I need to add to create the user in the user group that has for instance node id 100?
Wednesday 12 May 2004 7:04:47 am
should I alter/override the content attribute array? And if so, where can I find it?
Wednesday 12 May 2004 7:32:26 am
I get this error when registering users (in default mode)
Fatal error: Call to a member function on a non-object in c:\ezpublish\ezpublish\kernel\content\ezcontentoperationcollection.php on line 221 Fatal error: eZ publish did not finish it's request The execution of eZ publish was abruptly ended, the debug output is present below
Vivek Chopra
Wednesday 12 May 2004 9:02:13 am
Last Night I updated my site to 3.3 and I am also getting the same error message when someone tries to regsiter on the site.
Vivek
Thursday 13 May 2004 2:24:45 am
is this a bug then?
please post If you find the problem / solution!
greetzrinze
Thursday 13 May 2004 1:36:04 pm
During the update, the cleanup script somehow deleted some parts of the user registration process.
Thats all I know. My Hosting company (Marlabs) fixed this for me.
Did you get answer to oyur original question - adding users to a specific user group?you need this in your site.ini.append file
[UserSettings]DefaultUserPlacement=YOUR_USER_GROUP_NODE_ID
Friday 14 May 2004 4:48:01 am
Hi vivek,
I had add some settigns in the ini, but didn't get around to testing it cause the register function generates a php error. Maybe if I insert only this parameter it will function ;-). Looks like somewhere a file got screwed up, just gotta figure out which one I guess?
thanx for the responserinze