Forums / Developer / sign up users: urgent!

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

eZ debug

Timing: Jan 31 2025 03:27:58
Script start
Timing: Jan 31 2025 03:27:58
Module start 'content'
Timing: Jan 31 2025 03:27:58
Module end 'content'
Timing: Jan 31 2025 03:27:58
Script end

Main resources:

Total runtime0.2152 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 587.8281370.3047
Module start 'content' 0.00780.0145 958.13281,005.5000
Module end 'content' 0.02230.1928 1,963.63283,893.6641
Script end 0.2151  5,857.2969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00502.3234200.0003
Check MTime0.00140.6364200.0001
Mysql Total
Database connection0.00080.349010.0008
Mysqli_queries0.115353.56531410.0008
Looping result0.00140.66081390.0000
Template Total0.192389.410.1923
Template load0.00090.419510.0009
Template processing0.191488.947710.1914
Override
Cache load0.00060.282110.0006
Sytem overhead
Fetch class attribute can translate value0.00190.873710.0019
XML
Image XML parsing0.00030.122310.0003
General
dbfile0.01024.7594200.0005
String conversion0.00000.002930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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