eZ Publlish - would the following be possible

Author Message

Jozsef Wittek

Wednesday 02 April 2008 6:39:30 pm

I have been reviewing the ezpublish documentation online prior to making my final decision to move forward with ez-publish.

Requirements for section:
<b>1. members only download section</b>
- members can sign up for a login and id
- login and pass emailed to member
- member verifies login (verification function optional)
- member given access to downloads section

<b>2. members profile update section</b>
- members are registered by the site admin
- login and id emailed to member
- member verifies login (verification function optional)
- member has access to create own profile based on profile requirements fields (include image upload and text fields)
- member can update own profile at any time
- profile is displayed on a member page either viewable by all visitors or members only(permissions can be changed by admin at any time)
- profiles are searchable and categorizable (optional)

I understand that this may not be possible without some customization, if anyone has had experience with this type of settings for ezpublish, it would be great to get some feedback.

Thanks in advance

Mark Marsiglio

Wednesday 02 April 2008 8:39:12 pm

If the member account is created by an admin, the verification is not required (not sure if it is even possible out of the box). Some of the features relating the profile management (searching, viewing) will require configuration, and possibly customization. For instance, you would need to allow members to see objects in the User section, or move the Users to the Content section, or add a location in the Content section (can be done via an automated workflow). Everything else looks like it is easy/default.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Jozsef Wittek

Thursday 03 April 2008 1:42:44 am

If the member account is created by an admin, the verification is not required (not sure if it is even possible out of the box). 

Thank you for the great feedback, I found some of your other feedback on this forum very useful. I have a few followup points, hopefully you would be able to help.

For the members only download section, the users would be able to register themselves as opposed to admin creating them. Are there any tutorials or modules available that would make for easier customization? I have had a brief look at the developer documentation however haven't been all that successful at finding specific content related to this feature.

Some of the features relating the profile management (searching, viewing) will require configuration, and possibly customization. For instance, you would need to allow members to see objects in the User section, or move the Users to the Content section, or add a location in the Content section (can be done via an automated workflow). Everything else looks like it is easy/default.

For the profile management section, I guess the same would apply.

It seems relatively easy to add a new user and give them a role to edit a certain page. Each new user that would be registered would be able to edit their unique page. These profiles would be viewable by all users, is probably the easiest setting.

Thanks again

Mark Marsiglio

Thursday 03 April 2008 6:12:44 am

For the members only download section, the users would be able to register themselves as opposed to admin creating them. Are there any tutorials or modules available that would make for easier customization? I have had a brief look at the developer documentation however haven't been all that successful at finding specific content related to this feature.

The default installation with the eZ Webin extension (select it during install wizard) includes a section called "Restricted". Look in the admin interface under Setup > Sections. You can apply this to the "members only download" area and it will be invisible until a user logs in. By default, users who register on the site using the default registration function will be added to the group that has access to this section.

This is a great general tutorial that provides some info on the setup. http://ez.no/developer/articles/how_to_configure_an_ez_publish_site

For the profile management section, I guess the same would apply.
It seems relatively easy to add a new user and give them a role to edit a certain page. Each new user that would be registered would be able to edit their unique page. These profiles would be viewable by all users, is probably the easiest setting.

Once a user is registered, the default ezwebin templates provide a login link that, once a user is logged in, changes to say something like Logout (Jozsef Wittek) and next to that will be a button that says My Profile. This will allow each user to edit their own profile.

The user class is a regular content object in ez publish, which means you can change the structure of it and add fields as needed (Setup > Classes > User). Once you do, the My Profile page (as well as the user registration page) will automatically show the new attributes.

Hope that helps!

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Luc Chase

Thursday 03 April 2008 11:11:53 am

Jozsef, most of what you want is out-of-the-box.

The Web Application Service Provider

Wei Dai

Monday 13 October 2008 10:21:30 am

Hi, Mark Marsiglio,
You said:

...or add a location in the Content section (can be done via an automated workflow).

I would like to know how to set up the automated workflow for this. This can add another location to an user class object in the content structure tree?

Certified eZ Publish 4 developer looking for develop information & collaboration.

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 07:28:41
Script start
Timing: Jan 31 2025 07:28:41
Module start 'layout'
Timing: Jan 31 2025 07:28:41
Module start 'content'
Timing: Jan 31 2025 07:28:42
Module end 'content'
Timing: Jan 31 2025 07:28:42
Script end

Main resources:

Total runtime1.1205 sec
Peak memory usage4,096.0000 KB
Database Queries70

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.2578151.2266
Module start 'layout' 0.00500.0026 739.484436.6797
Module start 'content' 0.00771.1120 776.16411,045.8594
Module end 'content' 1.11970.0008 1,822.023415.8125
Script end 1.1204  1,837.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2710160.0002
Check MTime0.00120.1113160.0001
Mysql Total
Database connection0.00080.075010.0008
Mysqli_queries1.053694.0341700.0151
Looping result0.00080.0722680.0000
Template Total1.088497.120.5442
Template load0.00190.173120.0010
Template processing1.086496.963020.5432
Template load and register function0.00140.126610.0014
states
state_id_array0.00210.188910.0021
state_identifier_array0.00210.184220.0010
Override
Cache load0.00170.1542470.0000
Sytem overhead
Fetch class attribute can translate value0.00080.075040.0002
Fetch class attribute name0.00260.234370.0004
XML
Image XML parsing0.00220.194040.0005
class_abstraction
Instantiating content class attribute0.00000.001880.0000
General
dbfile0.00420.3757150.0003
String conversion0.00000.000640.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 29
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs