Enabling/Disabling Multiple Users.

Author Message

Trevor Clowry

Wednesday 19 October 2005 1:56:17 am

I am trying to use checkboxes to enable and disable multiple users at the same time. I am using the "is_enabled" attribute of the ezuser object to do so.
I have made a test override page, which displays the user details and whether the user is enabled/disabled(using elements of settings.tpl)
If i try to enable/disable 1 user with one checkbox and press submit it works perfectly.
However if i try multiple checkboxes, i think that the settings.php file in the kernel can only allow 1 user to be modified at a time. Do i need to modify the user/settings.php kernel file to get this to work. Or can anyone guide me to a better method of doing this?
Thanks in advance,
Trevor

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 22:28:26
Script start
Timing: Jan 18 2025 22:28:26
Module start 'layout'
Timing: Jan 18 2025 22:28:26
Module start 'content'
Timing: Jan 18 2025 22:28:28
Module end 'content'
Timing: Jan 18 2025 22:28:28
Script end

Main resources:

Total runtime1.5303 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 587.9375152.6250
Module start 'layout' 0.00550.0028 740.562539.4453
Module start 'content' 0.00831.5204 780.0078400.5938
Module end 'content' 1.52880.0015 1,180.60168.1563
Script end 1.5303  1,188.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2284160.0002
Check MTime0.00130.0857160.0001
Mysql Total
Database connection0.00090.057710.0009
Mysqli_queries1.493197.5678460.0325
Looping result0.00050.0324440.0000
Template Total1.497897.920.7489
Template load0.00200.127920.0010
Template processing1.495997.747720.7479
Template load and register function0.00020.014610.0002
states
state_id_array0.00090.059210.0009
state_identifier_array0.00210.137920.0011
Override
Cache load0.00150.100290.0002
Sytem overhead
Fetch class attribute can translate value0.00070.046910.0007
Fetch class attribute name0.00060.040410.0006
XML
Image XML parsing0.00010.007810.0001
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00080.0536100.0001
String conversion0.00000.000540.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs