The Enable Blocks option: (APC > PORTAL > Portal Config)
By default this option is checked, that is, all blocks are enabled (viewable).
Of course, while this option is checked, you can set block visibility on an individual basis.
If this option is disabled (unchecked) no block will be displayed, that is, it overrides all individual block options...
Previously, if this option was disabled (unchecked), we did not stop the actual processing of the the block code, we simply hid them from view... We now also disable the processing of the block code to allow faster fault finding... In effect, we have divided the portal code into tow part, a) block processing and b) normal core functions...
The main advantage from this action is the reduction in the amount of code we have to process (divide and concur)... we can now isolate the block generation code from the rest of the portal code, thereby making bugs finding easier...
Real world example:
I am currently chasing a bug where I can't log into the ACP using Firefox while the portal is disabled... mind you, I can with all other browsers...
This is a strange and possibly difficult to find bug... First appearances suggest it's down to firefox but could it be the portal code (at least in relation to firefox)?
At this point in time I simply don't know... but being able to disable all block code has made my job much easier... I can concentrate on the rest of the portal code... more on this later...
Turns out to be a firefox bug, basically add IF STARGATE switch to prevent portal code form loading while portal is once disabled... else we end up a second form being loaded... Fixed! 07 February 2010
A worthwhile exercise nevertheless...
Portal pages not found:
Report of pages not being found while phpBB redoes caching...
Fix = alter path to the files when user in admin... Fixed! 07 February 2010
Guest locked out of site and/or not able to use search engine:
The search block was too restrictive... If user wasn't registered we disable the site... Fixed! 08 February 2010
No message when no public forums exist:
Added portal message to indicate there are no public forums..
The default phpBB no forums message display fine... Fixed! 08 February 2010
Patch file available when I get a chance... in the mean time use these...
Replace file with attached file

,
,








