Forums / Setup & design / How todisable user/login and user/register ?

How todisable user/login and user/register ?

Author Message

Paulo Almeida

Saturday 29 March 2003 5:04:26 pm

Even if in templates doesn't use login and register buttons, the user can always write the address in browser.
I can disable it creating an empty template in user module of design, or even redirecting with mod_rewrite, but is there anything like CanRegister=False and CanLogin=False or RedirectLogin=/content..... RedirectRegister=/content.....

Regards
Paulo Almeida

PACPI.COM Internet Consulting
http://pacpi.com

Jan Borsodi

Monday 31 March 2003 12:23:34 am

You can use the SiteAccessRules group in site.ini. It's not in the standard site.ini but you can find an example in settings/siteaccess/demo/site.ini.append or settings/siteaccess/sdk/site.ini.append.
Here you can specify which modules are allowed to run and which aren't, you can then disable the user module.

Module/view enabling/disabling is not supported yet.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Paulo Almeida

Monday 31 March 2003 3:52:37 am

Thank you, it worked.
SiteAccess is something that i still have some problems. Like URIMatch.... and so on.
In sdk, is there [SitePrecheckRule], I didn't found anything about that in documentation, can you explain me what it is? Or documentation will shortly include that information.

Best Regards
Paulo Almeida

PACPI.COM Internet Consulting
http://pacpi.com

eZ debug

Timing: Jan 18 2025 02:21:16
Script start
Timing: Jan 18 2025 02:21:16
Module start 'content'
Timing: Jan 18 2025 02:21:16
Module end 'content'
Timing: Jan 18 2025 02:21:16
Script end

Main resources:

Total runtime0.8296 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 588.9609180.8125
Module start 'content' 0.00880.7033 769.7734543.7031
Module end 'content' 0.71210.1175 1,313.4766332.7422
Script end 0.8296  1,646.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4754210.0002
Check MTime0.00150.1768210.0001
Mysql Total
Database connection0.00090.105810.0009
Mysqli_queries0.763692.03721940.0039
Looping result0.00180.22141920.0000
Template Total0.796496.020.3982
Template load0.00250.300120.0012
Template processing0.793995.698520.3970
Template load and register function0.00010.012810.0001
states
state_id_array0.00100.125510.0010
state_identifier_array0.00090.103520.0004
Override
Cache load0.00180.2124200.0001
Sytem overhead
Fetch class attribute can translate value0.00120.138630.0004
Fetch class attribute name0.00080.097750.0002
XML
Image XML parsing0.00110.137930.0004
class_abstraction
Instantiating content class attribute0.00000.001360.0000
General
dbfile0.00250.2977340.0001
String conversion0.00000.000730.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs