populate extisting users with mini site ? HELP

Author Message

michele krammer

Thursday 16 February 2006 3:54:53 am

Is it possible to populate [create] identical mini site for existing users?
I have this problem: we have about 520 artists as registered users, but no pages [mini sites].
Each user needs to have a minisite with identical named mandatory pages: intro, exhibit, bio etc.
We switches from static html pages [mini sites] for each artist to eZPublish, established the artists manually in a temp folder, then logged in as artist [user] to create a mini site and published, so that the user then is able to edit their pages.

But it is impossible for us to create this for each user manually.
Is there a global function, so that we could create those minisites for all registered users at once?

I am desparate to find a solution.
Test is visible at:
http://www.abs-galleries.com/asites/artists/agile_test/agile_introduction

I already have established, when a new user [artist] signs up that those pages are established automatically. But need the existing users to have these pages.
Anyone able to help or have suggestions?
Very much appreciate it.
Thanks

michele

Björn Dieding@xrow.de

Thursday 16 February 2006 5:20:36 am

here is one solution... i would not prefer to create static pages somewhere they should be served over eZ

you need:

1.)
a after publish workflow that creates assigns a role with limitation to a user node

2.) create interfaces that a user can create objects below his node.

That's all.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

michele krammer

Thursday 16 February 2006 5:52:28 am

Thanks for your suggestion.
I don't need/want to publish static html pages.
I need each existing user to get a mini site [empty pages] -
all of these users need to have the exacts same structure of the minisite:
currently all users are existing - but have no minisite.
I have 1 test user as owner of a mini site.
mini site has 7 pages
this exact mini site needs to be created for each existing user.

How can I globally create this 1 existing mini site for each existing [empty] user ?
I am not very good at this, but do have someone that can do the code/class etc. if I just know how and what to tell him to do.
I was hoping to be able to populate the existing users with that mini site.
After each user has their mini site with the content empty pages, the users get notified by email with their login info, then they can go and create their own content, by simply using their existing html pages [in a totally different directory/not in eZ], copy and paste their content in to the eZ pages.
I hope you have a suggestion, how to cretae those mini websites -
because even if I create them manually for each user in admin, then they have no editing privilege by logging in to their mini site, because I am the owner automatically.

Unless I am able to change the owner manually for each user.
thanks so much for your attention.

michele

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 22:32:40
Script start
Timing: Jan 18 2025 22:32:40
Module start 'layout'
Timing: Jan 18 2025 22:32:40
Module start 'content'
Timing: Jan 18 2025 22:32:41
Module end 'content'
Timing: Jan 18 2025 22:32:41
Script end

Main resources:

Total runtime1.2506 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.4766152.6406
Module start 'layout' 0.00600.0035 742.117239.4766
Module start 'content' 0.00951.2399 781.5938555.1016
Module end 'content' 1.24930.0012 1,336.695312.1250
Script end 1.2506  1,348.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2720160.0002
Check MTime0.00130.1077160.0001
Mysql Total
Database connection0.00060.046310.0006
Mysqli_queries1.193195.4000570.0209
Looping result0.00050.0435550.0000
Template Total1.216997.320.6085
Template load0.00220.175920.0011
Template processing1.214797.130120.6073
Template load and register function0.00020.013810.0002
states
state_id_array0.00120.097110.0012
state_identifier_array0.00230.184620.0012
Override
Cache load0.00190.1530430.0000
Sytem overhead
Fetch class attribute can translate value0.00070.054420.0003
Fetch class attribute name0.00130.101550.0003
XML
Image XML parsing0.00240.194920.0012
class_abstraction
Instantiating content class attribute0.00000.001060.0000
General
dbfile0.00230.1821220.0001
String conversion0.00000.000940.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs