Disable User Registration

Author Message

Neo Pixel

Friday 01 January 2010 5:29:04 am

I have a client who wants to set up the user accounts for their users manually.

What's the easiest way to disable the built in user registration form?

Thanks in advance :-)

Asking stupid questions so you don't have to!

Steven E. Bailey

Friday 01 January 2010 7:07:47 am

Add this to the site.ini for appropriate site access/accesses:

[SiteAccessRules]
Rules[]=access;disable
Rules[]=module;user/register

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

Neo Pixel

Saturday 09 January 2010 9:32:19 am

Thanks Steven, I'll give it a go! :)

Asking stupid questions so you don't have to!

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 02:11:49
Script start
Timing: Jan 18 2025 02:11:49
Module start 'layout'
Timing: Jan 18 2025 02:11:49
Module start 'content'
Timing: Jan 18 2025 02:11:49
Module end 'content'
Timing: Jan 18 2025 02:11:49
Script end

Main resources:

Total runtime0.0147 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.0053 588.0156152.6250
Module start 'layout' 0.00530.0026 740.640639.4453
Module start 'content' 0.00790.0050 780.085989.3516
Module end 'content' 0.01280.0018 869.437534.3047
Script end 0.0147  903.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002718.6665140.0002
Check MTime0.00138.8215140.0001
Mysql Total
Database connection0.00063.816310.0006
Mysqli_queries0.002516.700730.0008
Looping result0.00000.074610.0000
Template Total0.001510.410.0015
Template load0.00085.415510.0008
Template processing0.00074.938710.0007
Override
Cache load0.00063.931510.0006
General
dbfile0.00021.617080.0000
String conversion0.00000.045440.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