Adding users manually

Author Message

Rémy-Christophe Schermesser

Tuesday 23 May 2006 5:08:31 am

Hi,

I am using eZ publish 3.8 for a project. And I need to add users from another database. So I need to modify the eZ publish database manually.

I have added a user in the table 'ezuser', and in 'ezuser_setting'.

But I did not find where to specify the user group, the

Thanks for your help

Rémy-Christophe

Kristian Hole

Wednesday 24 May 2006 4:37:52 am

Hi,

You need to generate content-object containing the information about the users.

I suggest looking at the contributions:

Here is one example:
http://ez.no/community/contribs/import_export/user_import

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Rémy-Christophe Schermesser

Wednesday 24 May 2006 7:52:12 am

I looked at the UserImport plugin and it seems to use ezpublish kernel classes. What I need is to add users from an external application. Have you any idea ?

Thanks in advance

Kristian Hole

Tuesday 30 May 2006 12:59:48 am

The users require content objects in eZ publish, so i think the best way to do it is with a PHP-script that gets the information from external sources, and generates content in eZ publish (by using kernel-classes).

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

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 18 2025 19:33:49
Script start
Timing: Jan 18 2025 19:33:49
Module start 'layout'
Timing: Jan 18 2025 19:33:49
Module start 'content'
Timing: Jan 18 2025 19:33:50
Module end 'content'
Timing: Jan 18 2025 19:33:50
Script end

Main resources:

Total runtime0.6287 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 587.8906152.6094
Module start 'layout' 0.00550.0028 740.500039.4141
Module start 'content' 0.00830.6188 779.9141542.3750
Module end 'content' 0.62710.0015 1,322.289112.1875
Script end 0.6287  1,334.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4864160.0002
Check MTime0.00130.2030160.0001
Mysql Total
Database connection0.00120.184510.0012
Mysqli_queries0.575491.5179600.0096
Looping result0.00060.1024580.0000
Template Total0.597395.020.2987
Template load0.00210.327020.0010
Template processing0.595394.681920.2976
Template load and register function0.00020.033110.0002
states
state_id_array0.00140.224410.0014
state_identifier_array0.00090.147720.0005
Override
Cache load0.00170.2641220.0001
Sytem overhead
Fetch class attribute can translate value0.00060.098320.0003
Fetch class attribute name0.00130.211250.0003
XML
Image XML parsing0.00060.101020.0003
class_abstraction
Instantiating content class attribute0.00000.002460.0000
General
dbfile0.00200.3162160.0001
String conversion0.00000.002440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs