Page 1 of 2
Help Finishing Config File for Extreme Dark Red
Posted: 29. December 2010 16:52
by victory1
Extreme Dark Red was an old Subsilver2 style that has not been updated since phpBB 3.2; it was recently re-develop by vinny for phpBB 3.0.8 but in Prosilver. I'm working in implementing it on my site so far I got my Board3 Portal to align correctly. I need help in implementing the footer image. It's the same red bar on BP picture (see 2nd link below) and it's in my theme folder as 3 images (rcbl-left, rcbm-middle, rcbr-right).
Here's what I came up with so far but I don't know how to implement a footer image for Prosilver style (So I need help adding to the bottom - rcbl-left, rcbm-middle, rcbr-right).
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="forabg"><div class="inner"><ul class="topiclist"><li class="header"><dl><dt style="padding: 0px 0px 2px; white-space: nowrap; margin-bottom: 0px; margin-top: 0px;">' -->
<!-- DEFINE $LR_BLOCK_H_R = '</dt></dl></li></ul><ul class="topiclist forums"><li><dl><dd style="border-left: 0px; width: 100%; background-color:#222222"><div style="text-align: left; margin: 5px 5px 5px 5px">' -->
<!-- DEFINE $LR_BLOCK_F_L = '</div></dd></dl></li></ul>' -->
<!-- DEFINE $LR_BLOCK_F_R = '</div></div><br style="clear:both" />' -->
<!-- Config for the center blocks //-->
<!-- DEFINE $C_BLOCK_H_L = '<div class="forabg"><div class="inner"><ul class="topiclist"><li class="header"><dl class="icon">' -->
<!-- DEFINE $C_BLOCK_H_R = '</dl></li></ul></div></div>' -->
<!-- DEFINE $C_BLOCK_F_L = '' -->
<!-- DEFINE $C_BLOCK_F_R = '<span class="corners-bottom"><span></span></span><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 = 1 -->
<!-- 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' -->
It look like this now (ignore the light gray background - that will be changed)
http://i475.photobucket.com/albums/rr12 ... Portal.jpg
(Also 2 cosmetic change, how do I move up the entire portal closer to the menu and how to I remove the padding on my center block text to have it all the way to the right?)
I want it to look like this
http://i475.photobucket.com/albums/rr12 ... Portal.jpg
Re: Help Finishing Config File for Extreme Dark Red
Posted: 29. December 2010 19:58
by archivar
Hi,
can you give me a link to download the Style?
I can see no difference between the images.
I think the style is "Black_Pearl.
Style Download:
http://www.icyphoenix.com/styles/styles ... _id=phpbb3
Portal Demo Black Pearl:
http://area51.mikevil.de/portal.php?style=3
Re: Help Finishing Config File for Extreme Dark Red
Posted: 30. December 2010 04:47
by victory1
Sorry about that. I post the wrong link for the 1st picture!
I fixed it now and here's the 1st link here also.
http://i475.photobucket.com/albums/rr12 ... Portal.jpg
This one here is Prosilver style that's made to look like a Subsilver style. Here's a link of the Demo
http://phpbb4.com.br/demo/styledemo/index.php?style=5
Re: Help Finishing Config File for Extreme Dark Red
Posted: 30. December 2010 20:48
by archivar
Hi,
try this:
------->
extremedarkred (prosilver-Basis)
and search in overall_header.html:
Code: Select all
<div id="navmenu">
<a href="{U_INDEX}">{L_INDEX}</a>
• <a href="{U_FAQ}">{L_FAQ}</a>
<!-- IF S_DISPLAY_SEARCH --> • <a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
<!-- IF not S_IS_BOT and S_DISPLAY_MEMBERLIST --> • <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
<!-- IF U_RESTORE_PERMISSIONS --> • <a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
<!-- IF not S_IS_BOT --><!-- IF not S_USER_LOGGED_IN --> • <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ELSE -->
<!-- IF S_DISPLAY_PM --> • <a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
• <a href="{U_PROFILE}">{L_PROFILE}</a><!-- ENDIF -->
• <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a> <!-- ENDIF -->
</div>
<br />
<div id="content">
<div id="nav">
<div class="breadcrumbs">
<img src="{T_THEME_PATH}/images/icon_home.gif" alt="{L_INDEX}" /> <a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>»</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks -->
<div style="float: right;">
<ul class="linklist">
<li class="rightside"><a href="#" onclick="fontsizeup(); return false;" onkeypress="return fontsizeup(event);" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li>
<!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF -->
<!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
</ul>
</div>
</div>
</div>
<br />
replace:
Code: Select all
<div id="navmenu">
<!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> • <!-- ENDIF -->
<a href="{U_INDEX}">{L_INDEX}</a>
• <a href="{U_FAQ}">{L_FAQ}</a>
<!-- IF S_DISPLAY_SEARCH --> • <a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
<!-- IF not S_IS_BOT and S_DISPLAY_MEMBERLIST --> • <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
<!-- IF U_RESTORE_PERMISSIONS --> • <a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
<!-- IF not S_IS_BOT --><!-- IF not S_USER_LOGGED_IN --> • <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ELSE -->
<!-- IF S_DISPLAY_PM --> • <a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
• <a href="{U_PROFILE}">{L_PROFILE}</a><!-- ENDIF -->
• <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a> <!-- ENDIF -->
</div>
<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
<br />
<!-- ENDIF -->
<div id="content">
<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
<div id="nav">
<div class="breadcrumbs">
<img src="{T_THEME_PATH}/images/icon_home.gif" alt="{L_INDEX}" /> <!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> » <!-- ENDIF --> <a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>»</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks -->
<div style="float: right;">
<ul class="linklist">
<li class="rightside"><a href="#" onclick="fontsizeup(); return false;" onkeypress="return fontsizeup(event);" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li>
<!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF -->
<!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
</ul>
</div>
</div>
</div>
<br />
<!-- ENDIF -->
Re: Help Finishing Config File for Extreme Dark Red
Posted: 31. December 2010 09:56
by victory1
Thanks, I'm almost there. I copied everything exactly but there's a slight problem with Latest Global Announcement & Globe Counter Block located at the bottom right hand. The middle part of bottom image for Latest Global Announcement is on Globe Counter block and it also did not do the round corners at the bottom.
Here's a screen-shot
ExtremeDark Red Portal
Here's a direct link to the portal
http://www.sonyreaderboards.com/portal.php?style=6
Re: Help Finishing Config File for Extreme Dark Red
Posted: 31. December 2010 10:43
by archivar
You have to put the blocks in the ACP Compact.------>
acp_demo/en/
In the blocks:
announcements_compact.html
news_compact.html
you can remove that line:
Code: Select all
<dd class="lastpost" style="width: 25%"><span>{L_LAST_POST}</span></dd>
Another solution I have not unfortunately.
Show me the code for the counter block.
Re: Help Finishing Config File for Extreme Dark Red
Posted: 31. December 2010 11:09
by victory1
Removing that line in both blocks don't help, still the same issue. It's working on the Black Pearl Style.
Anyway I post the code for the counter block below.
This is the code for the Globe Block:
Code: Select all
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{T_THEME_PATH}/images/portal/portal_links.png" width="16" height="16" alt="" /> <!-- ENDIF -->Globe Counter{$LR_BLOCK_H_R}
<table class="tablebg" cellspacing="1" width="100%">
<tr class="row1">
<td>
<script type="text/javascript" src="http://jd.revolvermaps.com/r.js"></script>
<script type="text/javascript">rm_f1st('0','180','true','false','242323','3mh71483c41','true','ff0000');</script>
<noscript><applet codebase="http://rd.revolvermaps.com/j" code="core.RE" width="180" height="180" archive="g.jar"><param name="cabbase" value="g.cab" /><param name="r" value="true" /><param name="n" value="false" /><param name="i" value="3mh71483c41" /><param name="m" value="0" /><param name="s" value="180" /><param name="c" value="ff0000" /><param name="v" value="true" /><param name="b" value="242323" /><param name="rfc" value="true" /></applet></noscript>..
</td>
</tr>
</table>
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
Re: Help Finishing Config File for Extreme Dark Red
Posted: 31. December 2010 11:12
by archivar
That have not yet done:
announcements_compact.html
news_compact.html
archivar wrote:You have to put the blocks in the ACP Compact.------>
acp_demo/en/
Re: Help Finishing Config File for Extreme Dark Red
Posted: 31. December 2010 11:21
by victory1
archivar wrote:That have not yet done:
announcements_compact.html
news_compact.html
archivar wrote:You have to put the blocks in the ACP Compact.------>
acp_demo/en/
Do you mean checking yes for compact in news? I don't understand because when I click on the link, mine portal in the ACP is just like the link except for the fact that I don't have all the blocks in general settings set to yes.
Re: Help Finishing Config File for Extreme Dark Red
Posted: 31. December 2010 11:36
by archivar
archivar wrote:That have not yet done:
announcements_compact.html
news_compact.html
archivar wrote:You have to put the blocks in the ACP Compact.------>
acp_demo/en/
acp_demo/en/announcements.php.html
acp_demo/en/news.php.html
and put it here "Display the number of replies and views:" to "no".
That's what you need on your board.
Re: Help Finishing Config File for Extreme Dark Red
Posted: 31. December 2010 11:42
by archivar
victory1 wrote:Globe Counter block and it also did not do the round corners at the bottom.
try this:
Code: Select all
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{T_THEME_PATH}/images/portal/portal_links.png" width="16" height="16" alt="" /> <!-- ENDIF -->Globe Counter{$LR_BLOCK_H_R}
<div class="inner"><span class="portal-corners-top-inner"></span>
<div class="postbody" style="width: 100%">
<script type="text/javascript" src="http://jd.revolvermaps.com/r.js"></script>
<script type="text/javascript">rm_f1st('0','180','true','false','242323','3mh71483c41','true','ff0000');</script>
<noscript><applet codebase="http://rd.revolvermaps.com/j" code="core.RE" width="180" height="180" archive="g.jar"><param name="cabbase" value="g.cab" /><param name="r" value="true" /><param name="n" value="false" /><param name="i" value="3mh71483c41" /><param name="m" value="0" /><param name="s" value="180" /><param name="c" value="ff0000" /><param name="v" value="true" /><param name="b" value="242323" /><param name="rfc" value="true" /></applet></noscript>
</div>
<span class="portal-corners-bottom-inner"></span></div>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
I have not tested.
Re: Help Finishing Config File for Extreme Dark Red
Posted: 31. December 2010 17:39
by victory1
It's fixed by simply displaying Global announcements block in compact view and also adding the new code for the Globe Counter Block. I don't know why this style needs the compact view for Global announcements to display correctly when my other styles does not (
This is a screenshot of the Black Pearl style with the Global Announcements not in compact view and it display correctly with the same base image.
Black Pearl Portal). I actually prefer the Global announcements in the non-compact view but I'm OK with the compact view since it fixed the problem in the ExtremeDark Red style. Thank you.
Screenshots:
ExtremeDark Red Portal
Re: Help Finishing Config File for Extreme Dark Red
Posted: 31. December 2010 18:27
by archivar
Unfortunately, the style of the structure very different from the standard style "prosilver".
The portal blocks are built on "prosilver".
Therefore, it can unfortunately not all style are adapted correctly.
You should do this also:
acp_demo/en/news.php.html
and put it here "Display the number of replies and views:" to "no".
Re: Help Finishing Config File for Extreme Dark Red
Posted: 31. December 2010 20:04
by victory1
Re: Help Finishing Config File for Extreme Dark Red
Posted: 31. December 2010 20:20
by archivar
Your problem is that you have the style made "extremedarkred" narrow. The style is not designed, so it comes to the shift.