Forums / Setup & design / How to stop sitemap, and what is Rules[],SitePrecheckRules ,PolicyOmitList[] ?!?

How to stop sitemap, and what is Rules[],SitePrecheckRules ,PolicyOmitList[] ?!?

Author Message

Selmah Maxim

Saturday 24 May 2003 11:03:18 am

HI ...

any1 know how to stop sitemap ?

what i found in site.ini PolicyOmitList[] , what is it ?
also Rules[] , and SitePrecheckRules how to use ?
can i stop for by rules ??!

Selmah Maxim

Sunday 25 May 2003 1:20:18 am

Hi.. agian ...

what`s up ?
all ZZZZZZzzzzzzz ... or ?

anyway, i coudn`t find the way, so i i had this lines to kernel/content/view.php

if($ViewMode =="sitemap" And $UserGroup[0] !='12') // Admin Group id is 12 //
{
$ViewMode="full";
}
so now the sitemap viewmode is just for the admins !

but any better way ?!

Am wondering why ez team didn`t write more info about Rules,PolicyOmitList and SitePrecheckRules .. any1 know ?

Paul Borgermans

Sunday 25 May 2003 4:09:12 am

Hey,

It's weekend after all :-)

PolicyOmitList is an array where you can specify the modules and/or modules/actions where no role+policy checking is done (=the reverse of disabling).

Rules[] is used to convert from one file format to another, only used for images now (see image.ini).

SitePrecheckRules is new (even unknown to me).

Disabling modules and or modules/actions is for 3.1

hth

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Selmah Maxim

Sunday 25 May 2003 5:36:27 am

Hi :)

maybe u right .. weekend :)

about Rules[], it`s not for files .. etc ..

check user/site.ini :

[SiteAccessRules]
Rules[]
Rules[]=Access;enable
Rules[]=ModuleAll;true
Rules[]=Access;disable
Rules[]=Module;sdk

maybe i`ll stop working on this version.. waiting the next version ... or i`ll try with this version , i had changed in php code, i found many unneeded code, and also some bugs, even i don`t remember what bug i had fixed, coz i didn`t checked the ez.no just after 1 week from starting with ez32, and i had made some changes for my site .

now, i found this that the registred user can agian register, try this :
user/register .. must check if user is loged in or not, it`s can be done via the template, but with this way u make the links hidden, that mean if i write will run !

and the new fix for user editing ... i think also buged, coz no user can edit his account !

eZ debug

Timing: Jan 30 2025 16:30:02
Script start
Timing: Jan 30 2025 16:30:02
Module start 'content'
Timing: Jan 30 2025 16:30:02
Module end 'content'
Timing: Jan 30 2025 16:30:03
Script end

Main resources:

Total runtime0.4932 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0109 588.3125370.2422
Module start 'content' 0.01090.0147 958.55471,005.6719
Module end 'content' 0.02570.4674 1,964.22663,893.9141
Script end 0.4931  5,858.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00501.0154200.0003
Check MTime0.00160.3157200.0001
Mysql Total
Database connection0.00090.183110.0009
Mysqli_queries0.343769.68631410.0024
Looping result0.00200.39551390.0000
Template Total0.467094.710.4670
Template load0.00090.177210.0009
Template processing0.466194.509710.4661
Override
Cache load0.00060.127510.0006
Sytem overhead
Fetch class attribute can translate value0.00270.539310.0027
XML
Image XML parsing0.00020.047110.0002
General
dbfile0.03266.6197200.0016
String conversion0.00000.001030.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs