Questions concerning groups, setup, and custom pages

Author Message

Dave Polcino

Wednesday 21 April 2004 12:58:10 pm

Hi, I've been testing and installing about 942 different CMS systems! ezPublish installed very easily and looks great. I just have some questions:

I have to install a template site (a shop, corporate, gallery, etc) on startup and it warns me that these use different databases. Can't I have a shop with a gallery that is also a corporate blog? This confused me a little. Is this just a starting point? Can I make my own site once I learn the basics that has everything I want in it?

Users and groups. Can I make custom groups like GroupA and GroupB. GroupA is a basic member and he/she can see menu items 1 and 2, while menu 3 is not even visible in the list. GroupB is a premium member and they have access to menu items 1,2 and 3. Is this possible?

Next, when someone signs up (or buys a subscription) can the signup form be customized to add a field like "which group would you like to join?" and then a dropdown of say GroupA and GroupB. Then that info gets sent to the admin (or even better, is automated). So when I allow their account I can put them in the group of their choice.

Thanks!

Dave Polcino

Tuesday 27 April 2004 12:16:26 pm

Bump plus one.

I need to offer member pages as well, where they can enter info, a bio, a photo and maybe even a file. The member would also be able to give their url out to people so visitors can see their particular page. Can something like this be coded into ez?

I also need to hire someone for some custom code, like a 2checkout gateway for the cart and the above things. Anybody?

Mark Marsiglio

Tuesday 27 April 2004 6:43:54 pm

Dave - I believe that all of the things that you are asking can be done with ez.

If you have a month or so before you need to go live, you can install the 3.4 alpha 3 which allows you select funtionality to include in your install, and it combines all the functions into one site. If you can't wait, these functions can be created in one site, but it is a lot more work. You can also add and customize each datatype with quite a bit of control. If the user setup does not suit your needs, you can just edit the user "class" by adding some more fields or options. I do not think a drop down is an option, but check boxes, multiselects, and several other options can handle that.

Based on the user group, you can control their access. The access control scheme is very powerful, and allows for a great degree of control. The menus are invisible if you have not given that user (or their group) read permissions to that type of content, section of content, or page of content.

All forms can be customized, in this case the register.tpl (when they sign up). I am not sure what the best way would be to auto-assign them to a particular group, but my guess is to have two registration pages, one for each type. Otherwise, you can use the workflow function to handle the registration process and automate the grouping process.

I have found that ez works very well in these situations, and though the template code is a bit tough to a non-programmer, there are lots of snippets of sample code that can be cobbled together to get things done.

To your new question, you can give users in a particular group the ability to self-edit, which means that they can only edit their own user record. This seems like it is the type of function that you need. Normally I think this is used to change your password for admin users, but the permission can be applied to an user. You just have to give them access to their page with an edit template.

Hope that helps....

Mark

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

Heath

Friday 26 October 2007 4:38:03 pm

Hello,

Great brief conversation. Here is some related news (follow up)

Brookins Consulting has recently released a similar solution as described in the above conversation. http://projects.ez.no/bcsimplesubscription

<i>@Dave Polcino</i>

The Open Funding Payment Gateway Project has prioritized the creation support for the 2checkout gateway.

http://ez.no/developer/open_funding/suggestions_for_new_functionality/payment_gateways_pack

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

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 19 2025 00:54:44
Script start
Timing: Jan 19 2025 00:54:44
Module start 'layout'
Timing: Jan 19 2025 00:54:44
Module start 'content'
Timing: Jan 19 2025 00:54:45
Module end 'content'
Timing: Jan 19 2025 00:54:45
Script end

Main resources:

Total runtime0.8779 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 590.4141152.6406
Module start 'layout' 0.00560.0034 743.054739.4766
Module start 'content' 0.00900.8674 782.5313593.0078
Module end 'content' 0.87640.0015 1,375.539116.1250
Script end 0.8779  1,391.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3895160.0002
Check MTime0.00140.1592160.0001
Mysql Total
Database connection0.00090.106310.0009
Mysqli_queries0.808292.0598620.0130
Looping result0.00080.0929600.0000
Template Total0.834295.020.4171
Template load0.00200.231720.0010
Template processing0.832294.785320.4161
Template load and register function0.00020.025410.0002
states
state_id_array0.00190.211110.0019
state_identifier_array0.00190.215520.0009
Override
Cache load0.00170.1926320.0001
Sytem overhead
Fetch class attribute can translate value0.00110.122830.0004
Fetch class attribute name0.00140.160060.0002
XML
Image XML parsing0.00760.866130.0025
class_abstraction
Instantiating content class attribute0.00000.001560.0000
General
dbfile0.00981.1190220.0004
String conversion0.00000.001040.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