Approve users - how?

Author Message

Anders Eriksen

Wednesday 11 October 2006 1:12:54 pm

How do I set up ez so that an Administrator User will have to approve a new user who has registered?

I do not want users to register and then login immediately without being approved.

Kristian Hole

Thursday 12 October 2006 7:58:39 am

Hi Anders,

Welcome to the forum.

For this you should set up an approval workflow.

Look at the following documentation:

http://ez.no/doc/ez_publish/technical_manual/3_8/reference/workflow_events/approve
http://ez.no/doc/ez_publish/technical_manual/3_8/concepts_and_basics/workflows

To only approve users, you need to combine a multiplexer with the approve workflow:
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/workflow_events/multiplexer

You also need to set up the cronjob to run the workflow processing.

This is done by running something like:
php runcronjobs.php
from the root of the ezpublish installation.

Setting it up using crontab is described here:
http://ez.no/products/ez_publish/documentation/installation/the_cronjob_script

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 20 2025 04:05:50
Script start
Timing: Jan 20 2025 04:05:50
Module start 'layout'
Timing: Jan 20 2025 04:05:50
Module start 'content'
Timing: Jan 20 2025 04:05:50
Module end 'content'
Timing: Jan 20 2025 04:05:50
Script end

Main resources:

Total runtime0.0216 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 589.1563152.6250
Module start 'layout' 0.00500.0036 741.781339.4453
Module start 'content' 0.00860.0107 781.226689.3359
Module end 'content' 0.01930.0023 870.562530.3047
Script end 0.0216  900.8672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.007032.2521140.0005
Check MTime0.005224.2622140.0004
Mysql Total
Database connection0.00052.383110.0005
Mysqli_queries0.002913.206230.0010
Looping result0.00000.078310.0000
Template Total0.00188.110.0018
Template load0.00104.405410.0010
Template processing0.00083.678310.0008
Override
Cache load0.00073.160910.0007
General
dbfile0.004621.323180.0006
String conversion0.00000.046340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs