Modifying User Profile on public site

Author Message

H-Works Agency

Thursday 02 March 2006 5:16:38 am

Hi all,

Anonymous users can create accounts on my website to participate to the forum and publish reviews.

What is the way to handle the "Modify my account" function ?

The problem i am facing is with the "version" system. I mean if someone click the "Modify my account" and then hit the back button, the next time he'll click this button he will fall on the version pages.

I don't think this concept will be understood by most of my users so is there a way not to create a version until the "publish" button has been hit on the account details form ?

Thanx for the help.

EZP is Great

Samuel Sauder

Thursday 02 March 2006 8:17:51 am

I read somewhere that there are some changes coming to the draft logic. Maybe this is what I remember
"eZ publish - Draft Trap" training module
http://www.visionwt.com/training

Sergiy Pushchin

Thursday 02 March 2006 9:00:25 am

Hi, Martin.
In you user siteaccess in site.ini.append try to set:

[ContentSettings]
# Use 'showversions' to select which version to edit, or 'usecurrent' to always edit the current version.
EditDirtyObjectAction=usecurrent

H-Works Agency

Thursday 02 March 2006 9:23:56 am

Thanx a lot - I am gonna try this.

Martin

EZP is Great

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 16:05:12
Script start
Timing: Jan 18 2025 16:05:12
Module start 'layout'
Timing: Jan 18 2025 16:05:12
Module start 'content'
Timing: Jan 18 2025 16:05:13
Module end 'content'
Timing: Jan 18 2025 16:05:13
Script end

Main resources:

Total runtime0.7044 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.0059 588.0313152.6406
Module start 'layout' 0.00600.0028 740.671939.4766
Module start 'content' 0.00880.6941 780.1484581.2422
Module end 'content' 0.70280.0015 1,361.390612.1406
Script end 0.7043  1,373.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4909160.0002
Check MTime0.00130.1846160.0001
Mysql Total
Database connection0.00110.158910.0011
Mysqli_queries0.651892.5374620.0105
Looping result0.00060.0820600.0000
Template Total0.671995.420.3360
Template load0.00220.305220.0011
Template processing0.669895.087020.3349
Template load and register function0.00010.014510.0001
states
state_id_array0.00140.204110.0014
state_identifier_array0.00120.166920.0006
Override
Cache load0.00180.2560230.0001
Sytem overhead
Fetch class attribute can translate value0.00050.077830.0002
Fetch class attribute name0.00110.159560.0002
XML
Image XML parsing0.00130.181930.0004
class_abstraction
Instantiating content class attribute0.00000.002170.0000
General
dbfile0.00180.2568230.0001
String conversion0.00000.001240.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/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: 16
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs