Forums / Developer / populate extisting users with mini site ? HELP

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

eZ debug

Timing: Jan 19 2025 09:11:29
Script start
Timing: Jan 19 2025 09:11:29
Module start 'content'
Timing: Jan 19 2025 09:11:29
Module end 'content'
Timing: Jan 19 2025 09:11:29
Script end

Main resources:

Total runtime0.1631 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0099 589.0859180.8125
Module start 'content' 0.00990.0070 769.898497.9297
Module end 'content' 0.01690.1461 867.8281527.8750
Script end 0.1631  1,395.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00362.2319200.0002
Check MTime0.00140.8888200.0001
Mysql Total
Database connection0.00171.051410.0017
Mysqli_queries0.111368.22111410.0008
Looping result0.00130.82331390.0000
Template Total0.145689.310.1456
Template load0.00090.540210.0009
Template processing0.144788.734410.1447
Override
Cache load0.00060.378810.0006
Sytem overhead
Fetch class attribute can translate value0.00100.620910.0010
XML
Image XML parsing0.00030.153310.0003
General
dbfile0.00623.7990200.0003
String conversion0.00000.005730.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.0002 secs