Forums / Developer / update user class??

update user class??

Author Message

Fabricio Guerrero

Tuesday 29 March 2005 4:34:34 am

i've modified the user class and customized the login form and additional forms to require all the additional fields..

now i need to update this class... the idea is to permit the user update his contact info and personal stuff.. is there a way to update the user class via ezPublish? creating a class perhaps with certain permissions?? or is this doable only via handscripting? how would the form action be??

please anybody help on this.. im still new to ezPublish.. this is my first time on it.

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

Ɓukasz Serwatka

Wednesday 30 March 2005 12:48:29 am

Hi Fabricio,

is there a way to update the user class via ezPublish?

Of course, go to Setup->Classes in admin interface. Next choose Users class group. Then click edit button on the right for User class and add new attributes.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Fabricio Guerrero

Wednesday 30 March 2005 2:19:48 am

sorry i didnot explain myself correctly...

i meant is there a way a registerd user can modify his details. im storing all there info in the user class. til now i can only see how to create forms and permit users interact with classes if these are defined as content classes. but i've modified the user class instead and wish users to modify there info on this class. is there anyway to do this? and if it has to be hand coded how do i indicate ezPublish to read the template i've created for it?

thanks for your help.

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

K259

Wednesday 30 March 2005 7:27:17 am

Fabricio:
you can enter the role where the users are stored and add rights to user modul, then choose the policy "selfedit". Choose password if they shall be able to change their own password.

Hope this works..never tested it before.

Fabricio Guerrero

Thursday 31 March 2005 12:38:41 am

ok.. i found a way... searching the forum i found that you can permit an user to edit their profile by linking them to /base/user/edit/userid/.

this is pretty much what i needed.. with some custom work i'll get it towards what the client needs.. thanks.

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

eZ debug

Timing: Jan 18 2025 19:39:16
Script start
Timing: Jan 18 2025 19:39:16
Module start 'content'
Timing: Jan 18 2025 19:39:17
Module end 'content'
Timing: Jan 18 2025 19:39:17
Script end

Main resources:

Total runtime1.0790 sec
Peak memory usage4,096.0000 KB
Database Queries202

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 587.6094180.8438
Module start 'content' 0.00560.9677 768.4531605.4219
Module end 'content' 0.97320.1057 1,373.8750337.3828
Script end 1.0789  1,711.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3585210.0002
Check MTime0.00150.1366210.0001
Mysql Total
Database connection0.00060.059310.0006
Mysqli_queries1.011993.78222020.0050
Looping result0.00170.16112000.0000
Template Total1.055697.820.5278
Template load0.00190.178820.0010
Template processing1.053697.650720.5268
Template load and register function0.00010.008910.0001
states
state_id_array0.00090.085910.0009
state_identifier_array0.00060.057220.0003
Override
Cache load0.00160.1444250.0001
Sytem overhead
Fetch class attribute can translate value0.00100.090840.0002
Fetch class attribute name0.00100.092170.0001
XML
Image XML parsing0.00130.119440.0003
class_abstraction
Instantiating content class attribute0.00000.001590.0000
General
dbfile0.00190.1736350.0001
String conversion0.00000.000430.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs