black_pearl

Kein Support auf phpBB Styles direkt!
No support directly to phpBB Styles!

Post Reply

Topic author
MadTaffy
Active Member
Posts: 17
Joined: 2. December 2010 02:29
phpBB.com User: MadTaffy

black_pearl

Post by MadTaffy »

Sorry for the dumb question Mike but where should this code go please? :oops:

Thanks in advance

MT
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: black_pearl

Post by archivar »

Hi,
open: styles/black_pearl/template/portal/_block_config.html
replace with:
;)
V.G. archivar
sorry for my bad english

Topic author
MadTaffy
Active Member
Posts: 17
Joined: 2. December 2010 02:29
phpBB.com User: MadTaffy

Re: black_pearl

Post by MadTaffy »

Thanks for the prompt reply archivar :D

Topic author
MadTaffy
Active Member
Posts: 17
Joined: 2. December 2010 02:29
phpBB.com User: MadTaffy

Re: black_pearl

Post by MadTaffy »

Wonder if you could help me out with something else,

I was hoping this would sort out the portal link on the board index page but unfortunately i haven't got a portal tab like in the demo,

Any pointers would be much appreciated

Portal link: http://ubermpower.co.uk/uberv2/portal.php?style=3
Board index link: http://ubermpower.co.uk/uberv2/index.php?style=3

Cheers MT

Topic author
MadTaffy
Active Member
Posts: 17
Joined: 2. December 2010 02:29
phpBB.com User: MadTaffy

Re: black_pearl

Post by MadTaffy »

Not sure if this helps but unlike subsilver2 where its all in the overall_header the Black _pearl style has a menu_block.html

If possible i would like the portal button next to the forum button exactly like in the demo, (FIXED)

Here is the original styles/black_pearl/templates/menu_block.html where i guess the changes must be made,

Code: Select all

<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
	<td class="forum-buttons" colspan="3" width="100%">
		<!-- IF not S_IS_BOT -->
			<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --><a href="{U_REGISTER}">{L_REGISTER}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
			<a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;
			<!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}">{L_PROFILE}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
		<!-- ENDIF -->
		<!-- IF U_RESTORE_PERMISSIONS --><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
		<a href="{U_INDEX}">{L_FORUM}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;
		<!-- IF not S_IS_BOT -->
			<!-- IF S_USER_LOGGED_IN -->
				<!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a><!-- IF PRIVATE_MESSAGE_INFO_UNREAD --><a href="#"> / </a><a href="{U_PRIVATEMSGS}" class="pm-new-link">{PRIVATE_MESSAGE_INFO_UNREAD}</a><!-- ENDIF -->&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
			<!-- ENDIF -->
			<!-- IF S_DISPLAY_MEMBERLIST --><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
		<!-- ENDIF -->
		<!-- IF S_DISPLAY_SEARCH --><a href="{U_SEARCH}">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
		<a href="{U_FAQ}">{L_FAQ}</a>
	</td>
</tr>
</table>
Managed to work it out :D

replace with:

Code: Select all

<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
	<td class="forum-buttons" colspan="3" width="100%">
		<!-- IF not S_IS_BOT -->
			<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --><a href="{U_REGISTER}">{L_REGISTER}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
			<a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;
			<!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}">{L_PROFILE}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
		<!-- ENDIF -->
		<!-- IF U_RESTORE_PERMISSIONS --><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
		<a href="{U_INDEX}">{L_FORUM}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;
        <a href="{U_PORTAL}">{L_PORTAL}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;
		<!-- IF not S_IS_BOT -->
			<!-- IF S_USER_LOGGED_IN -->
				<!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a><!-- IF PRIVATE_MESSAGE_INFO_UNREAD --><a href="#"> / </a><a href="{U_PRIVATEMSGS}" class="pm-new-link">{PRIVATE_MESSAGE_INFO_UNREAD}</a><!-- ENDIF -->&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
			<!-- ENDIF -->
			<!-- IF S_DISPLAY_MEMBERLIST --><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
		<!-- ENDIF -->
		<!-- IF S_DISPLAY_SEARCH --><a href="{U_SEARCH}">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
		<a href="{U_FAQ}">{L_FAQ}</a>
	</td>
</tr>
</table>
Cheers MT

EDIT: (tried to replace code myself)
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: black_pearl

Post by archivar »

MadTaffy wrote:Wonder if you could help me out with something else,

I was hoping this would sort out the portal link on the board index page but unfortunately i haven't got a portal tab like in the demo,

Any pointers would be much appreciated

Portal link: http://ubermpower.co.uk/uberv2/portal.php?style=3
Board index link: http://ubermpower.co.uk/uberv2/index.php?style=3

Cheers MT
You must choose the style in the ACP as a standard.
V.G. archivar
sorry for my bad english
Post Reply

Return to “Styles Support”