sign up users: urgent!

Author Message

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

Rinze Cats

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?

Rinze Cats

Wednesday 12 May 2004 7:04:47 am

should I alter/override the content attribute array? And if so, where can I find it?

Rinze Cats

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

Rinze Cats

Thursday 13 May 2004 2:24:45 am

is this a bug then?

please post If you find the problem / solution!

greetz
rinze

Vivek Chopra

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

Vivek

Rinze Cats

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 response
rinze

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 05:59:28
Script start
Timing: Jan 31 2025 05:59:28
Module start 'layout'
Timing: Jan 31 2025 05:59:28
Module start 'content'
Timing: Jan 31 2025 05:59:28
Module end 'content'
Timing: Jan 31 2025 05:59:28
Script end

Main resources:

Total runtime0.0195 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.0391151.1953
Module start 'layout' 0.00570.0027 739.234436.6172
Module start 'content' 0.00840.0091 775.851694.1406
Module end 'content' 0.01750.0019 869.992237.9922
Script end 0.0194  907.9844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002412.2290140.0002
Check MTime0.00115.6466140.0001
Mysql Total
Database connection0.00105.270610.0010
Mysqli_queries0.002512.613630.0008
Looping result0.00000.087010.0000
Template Total0.00157.510.0015
Template load0.00115.605010.0011
Template processing0.00041.890010.0004
Override
Cache load0.00073.750510.0007
General
dbfile0.003316.824780.0004
String conversion0.00000.041640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs