From Pbwow.com
Ice wrote:For those using Board3 Portal 1.0.3 and above, this config may be useful.
_block_config.zip
Stick it in styles/pbwow/template/portal/ overwriting any that may already be there.
Despairz: You have added the news block twice, did you mean to overwrite main_menu.html with the pbwow menu design rather than the news design?
Hi,
I have made some custom stuff to the main portal of yours, but i think I've messed up something (not sure tho that it was me

).
On the portal everything runs fine except one tiny thing. Text formatting. It applies only one style modification to the text even if there is more than one. And thats for the entire portal site, no matter which block, i can use a topic, or even the welcome msg, it applies only one style.
text is formatted with bbcodes like this:
Code: Select all
[center][size=200][color=#D38D01]Large colored text[/size][/color]
[color=white]colored text[/color]
default text no change[/center]
this is my current _block_config.html
Code: Select all
<!--version $Id: _block_config.html 479 2009-03-15 11:19:27Z kevin74 $ //-->
<!-- Config for the left and right blocks //-->
<!-- DEFINE $LR_BLOCK_H_L = '<div id="container" style="clear:both"><div class="border" style="margin: 0 auto;"><div class="im1"><div class="im2"><div class="im3"><div class="im4"><div class="im5"><div class="im6"><div class="im7"><div class="im8"><div style="background: none; width: 100%; display: block;"><div style="margin: 0 auto; padding: 20px 35px 45px 35px" class="index-page"><div class="indexingportal"><h3>' -->
<!-- DEFINE $LR_BLOCK_H_R = '</h3>' -->
<!-- DEFINE $LR_BLOCK_F_L = '' -->
<!-- DEFINE $LR_BLOCK_F_R = '</div></div></div></div></div></div></div></div></div></div></div></div></div>' -->
<!-- Config for the center blocks //-->
<!-- DEFINE $C_BLOCK_H_L = '<div class="forabg"><div class="inner"><span class="corners-top"><span></span></span><ul class="topiclist"><li class="header"><dl class="icon">' -->
<!-- DEFINE $C_BLOCK_H_R = '</dl></li></ul>' -->
<!-- DEFINE $C_BLOCK_F_L = '' -->
<!-- DEFINE $C_BLOCK_F_R = '<span class="corners-bottom"><span></span></span></div></div><br style="clear:both" />' -->
<!-- Images-URL //-->
<!-- DEFINE $NO_AVATAR_IMG = '/images/no_avatar.gif' -->
<!--<div class="panel bg3"><div class="inner"><span class="corners-top"><span></span></span><h3>-->
<!--<span class="corners-bottom"><span></span></span></div></div><br style="clear:both" />-->
<!--<div class="forabg"><div class="inner"><span class="corners-top"><span></span></span><ul class="topiclist"><li class="header">-->
<!--</li></ul>-->
<!--<span class="corners-bottom"><span></span></span></div></div><br style="clear:both" />-->
And I also found some code that made the text appear as it should:
Code: Select all
<!--version $Id: _block_config.html 601 2010-01-01 19:01:08Z marc1706 $ //-->
<!-- Config for the left and right blocks //-->
<!-- DEFINE $LR_BLOCK_H_L = '<div class="panel bg3"><div class="inner"><span class="corners-top"><span></span></span><h3>' -->
<!-- DEFINE $LR_BLOCK_H_R = '</h3>' -->
<!-- DEFINE $LR_BLOCK_F_L = '' -->
<!-- DEFINE $LR_BLOCK_F_R = '<span class="corners-bottom"><span></span></span></div></div><br style="clear:both" />' -->
<!-- Config for the center blocks //-->
<!-- DEFINE $C_BLOCK_H_L = '<div class="forabg"><div class="inner"><span class="corners-top"><span></span></span><ul class="topiclist"><li class="header"><dl class="icon">' -->
<!-- DEFINE $C_BLOCK_H_R = '</dl></li></ul>' -->
<!-- DEFINE $C_BLOCK_F_L = '' -->
<!-- DEFINE $C_BLOCK_F_R = '<span class="corners-bottom"><span></span></span></div></div><br style="clear:both" />' -->
<!-- Images-URL //-->
<!-- DEFINE $NO_AVATAR_IMG = '/images/no_avatar.gif' -->
<!-- Vertical distance between left/right and center Blocks -->
<!-- DEFINE $BLOCK_DISTANCE = '10px' -->
<!-- show Icons in left/right Blocks? 0=no 1=yes -->
<!-- DEFINE $S_BLOCK_ICON = 1 -->
<!-- postbody top (default 1 by prosilver) 0=no 1=yes -->
<!-- DEFINE $S_POSTBODY_TOP = 1 -->
<!-- override the column width settings of the ACP for this style? 0=no 1=yes -->
<!-- DEFINE $S_COLUMNS_WIDTH_OVERRIDE = 0 -->
<!-- override the column width settings of the ACP - set the width if enabled -->
<!-- DEFINE $PORTAL_LEFT_COLUMN_OVERRIDE = '200' -->
<!-- DEFINE $PORTAL_RIGHT_COLUMN_OVERRIDE = '200' -->
but the last one messes up the entire layout of the blocks, but there is something that make the text appear correctly. I have copied for endless hours now, but I cant figure out what it makes the text appear correctly.
Could someone maybe tell me what i should copy to the old _block_config.html from the new one?
It is no option to update to the new portal [RELEASE] Board3 Portal 1.0.5 - English since there are lot of mods in the current installation

.
http://pbwow.com/forum/viewtopic.php?f= ... 254#p10254