Black Pearl

All 3.0.x styles released in our Styles Database can be found here. All discussion or support regarding an individual style should take place in that style's own area in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of releases and/or updates for styles. Any style support should be obtained through the Customisations Database in the support area designated for each style.

A direct link to support for each Style is in the first post of the respective topic.
User avatar
TheIlluminative
Former Team Member
Posts: 2451
Joined: Thu Jun 26, 2003 11:34 pm
Location: Egypt
Name: Mahmoud

Re: Modify Overall Header problem

Post by TheIlluminative »

Could you please post a link to your board please ?
AmonRA
Registered User
Posts: 2
Joined: Wed Oct 25, 2006 8:00 pm

Re: Modify Overall Header problem

Post by AmonRA »

TheIlluminative wrote:Could you please post a link to your board please ?
The link is: http://andree.amadej.si/souljaheaven/index.php
User avatar
RATT
Registered User
Posts: 734
Joined: Fri Aug 19, 2005 6:27 am

Re: Modify Overall Header problem

Post by RATT »

AmonRA wrote:Ok this used to be simple in phpBB2 but now i just dont get it what the problem is.

I just added the "Black Pearl" style to my phpBB3 forum, it works fine but it has a 150x150 logo and the site name and description for a banner. I whant to replace both with a banner of my own (a 1024 wide pic specialy designed for the style). Now here the problems start. I opened the overall_header.html file, deleted the code for the txt and merged that row together. Than went replaced the banner on my filesystem (kept the name). Now the pic does show up but the forum get's all distorted. (the body of the forum (that, as far as i know, has nothing to do with overall_header.html) all of a sudden streches to full screen (insted of the pre-fixed 1024) and a part of the designe (the part that i presume is in the overall header) dispaers.
Below are the full original file and the little part i whant to change.

ORIGINAL FILE:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
<!-- INCLUDE _mg_config.html -->

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" /></head>
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<script type="text/javascript" src="{T_TEMPLATE_PATH}/scripts.js"></script>
<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
		popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
	}
<!-- ENDIF -->

function popup(url, width, height, name)
{
	if (!name)
	{
		name = '_popup';
	}

	window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

function jumpto()
{
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var perpage = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';

	if (page !== null && !isNaN(page) && page > 0)
	{
		document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage);
	}
}

/**
* Find a member
*/
function find_username(url)
{
	popup(url, 760, 570, '_usersearch');
	return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
	var parent = document.getElementById(id);
	if (!parent)
	{
		eval('parent = document.' + id);
	}

	if (!parent)
	{
		return;
	}

	var rb = parent.getElementsByTagName('input');
	
	for (var r = 0; r < rb.length; r++)
	{
		if (rb[r].name.substr(0, name.length) == name)
		{
			rb[r].checked = state;
		}
	}
}

<!-- IF ._file -->

	/**
	* Play quicktime file by determining it's width/height
	* from the displayed rectangle area
	*
	* Only defined if there is a file block present.
	*/
	function play_qt_file(obj)
	{
		var rectangle = obj.GetRectangle();

		if (rectangle)
		{
			rectangle = rectangle.split(',')
			var x1 = parseInt(rectangle[0]);
			var x2 = parseInt(rectangle[2]);
			var y1 = parseInt(rectangle[1]);
			var y2 = parseInt(rectangle[3]);

			var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
			var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
		}
		else
		{
			var width = 200;
			var height = 0;
		}

		obj.width = width;
		obj.height = height + 16;

		obj.SetControllerVisible(true);

		obj.Play();
	}
<!-- ENDIF -->

// ]]>
</script>
<!--[if lt IE 7]>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/pngfix.js"></script>
<![endif]-->
</head>
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>

<!-- <div id="wrapper"> -->
<div style="width:{$MG_GLOBAL_WIDTH};clear:both;margin: 0 auto;">
<table width="100%" align="center" cellspacing="0" cellpadding="0" border="0">
	<tr>
		<td class="leftshadow" width="9" valign="top"><img src="{T_THEME_PATH}/images/spacer.gif" alt="" width="9" height="1" /></td>
		<td class="np-body" width="100%" valign="top">
<div id="top_logo">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="150" align="left" valign="middle"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
<td align="center" valign="middle"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td>
<td align="right" valign="top">&nbsp;</td>
</tr>
</table>
</div>

<!-- INCLUDE menu_block.html -->

<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --><span style="color:#CC3333;">{L_BOARD_DISABLED}</span><!-- ENDIF -->

<div id="wrapcentre">

<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
<div style="margin-top:50px;margin-bottom:50px;text-align:center;clear:both;"><div class="popuppm-new"><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></div></div>
<!-- ENDIF --></div></td></tr></table></div></body></html>
AmonRA wrote: MODIFICATION I MADE:

Code: Select all

<div id="top_logo">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="150" align="left" valign="middle"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
</tr>
</table>
</div>
Sorry for my bad english, and i hope you can help :D

You need to also edit the _mg_config.html file to allow the board to stretch to 1024 if you wish for the image to display that wide. You also left the alignment in your data table in your modification to reflect a left alignment rather than a center alignment.

Change your modification to:

Code: Select all

<div id="top_logo">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="150" align="center" valign="middle"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
</tr>
</table>
</div>
Unless you edit the image size in your acp you will also need to edit your imageset.cfg file to display the default image dimensions you wish for it to display. If you renamed your image to sitelogo_small.png and overwrote the original file then find this line and change the pixels to match your pixels:
img_site_logo = sitelogo_small.png*150*150
oglach
Registered User
Posts: 498
Joined: Sun Apr 22, 2007 5:58 pm

Re: Black Pearl

Post by oglach »

Im updating forum, how do i update my black pearl skin, its the 3.0.0 version.

What do i download/change for when i change forum to phpbb 3.0.2
User avatar
g729
Registered User
Posts: 13
Joined: Wed Sep 10, 2008 3:11 pm

Re: Black Pearl

Post by g729 »

Hi Mighty Gorgon,

Great design in black pearl, I really appreciate your effort...
what about subsilver pearl? :)

By the way, we would like to ask a favor if you've time to modify for a new version of subsilver2 with same color combination and icons, with fix width from header to footer like black pearl. Subsilver2 is cool to the eye, simple with great color combination. thanks in advance and more power to the team...
Hearron
Registered User
Posts: 70
Joined: Wed Feb 28, 2007 12:38 am

Re: Black Pearl

Post by Hearron »

When posting a post, where you add an attachment, that white box, next to the browse button, How do I go about changing that box to a different color or the text to a different color? Thank You again for another great design.
User avatar
Mighty Gorgon
Registered User
Posts: 616
Joined: Thu May 23, 2002 2:56 pm
Location: Italy
Name: Luca Libralato

Re: Black Pearl

Post by Mighty Gorgon »

g729 wrote:Hi Mighty Gorgon,

Great design in black pearl, I really appreciate your effort...
what about subsilver pearl? :)

By the way, we would like to ask a favor if you've time to modify for a new version of subsilver2 with same color combination and icons, with fix width from header to footer like black pearl. Subsilver2 is cool to the eye, simple with great color combination. thanks in advance and more power to the team...
I have designed White Pearl, but only for another platform so far. When I have some time I will port it to phpBB 3.
Hearron wrote:When posting a post, where you add an attachment, that white box, next to the browse button, How do I go about changing that box to a different color or the text to a different color? Thank You again for another great design.
I will try to check... but no sure if that can be changed.
User avatar
spaceace
Registered User
Posts: 1999
Joined: Wed Jan 30, 2008 8:50 pm

Re: Black Pearl

Post by spaceace »

Mighty Gorgon wrote:I have designed White Pearl, but only for another platform so far. When I have some time I will port it to phpBB 3.
that would be awesome :D :D
juniorcleff
Registered User
Posts: 11
Joined: Fri Sep 19, 2008 5:31 pm

Black Pearl Forum Table Title

Post by juniorcleff »

In Black Pearl, the first table is titles "Forum" but the list directly beneath it also says "Forum". Is there a way to change the Table's title? I looked and thought it may be in the forumlist_body.html, but could not find the answer. Can someone help with this?
User avatar
TheIlluminative
Former Team Member
Posts: 2451
Joined: Thu Jun 26, 2003 11:34 pm
Location: Egypt
Name: Mahmoud

Re: Black Pearl Forum Table Title

Post by TheIlluminative »

In forumlist_body.html, find:

Code: Select all

			<th colspan="2">&nbsp;{L_FORUM}&nbsp;</th>
change {L_FORUM} to the title you want.
juniorcleff
Registered User
Posts: 11
Joined: Fri Sep 19, 2008 5:31 pm

Re: Black Pearl Forum Table Title

Post by juniorcleff »

TheIlluminative wrote:In forumlist_body.html, find:

Code: Select all

			<th colspan="2">&nbsp;{L_FORUM}&nbsp;</th>
change {L_FORUM} to the title you want.

Not that table actually, the one that that table is within.
User avatar
TheIlluminative
Former Team Member
Posts: 2451
Joined: Thu Jun 26, 2003 11:34 pm
Location: Egypt
Name: Mahmoud

Re: Black Pearl

Post by TheIlluminative »

The one you're referring to should show the category's title, it's inside forumlist_body.html, find:

Code: Select all

<!-- IF forumrow.S_IS_CAT --><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a><!-- ELSE -->{L_FORUM}<!-- ENDIF -->
This is the code that shows it.
juniorcleff
Registered User
Posts: 11
Joined: Fri Sep 19, 2008 5:31 pm

Re: Black Pearl

Post by juniorcleff »

Perfect! Thanx!
viglirolo12
Registered User
Posts: 1
Joined: Wed Sep 24, 2008 10:20 pm

Re: Black Pearl

Post by viglirolo12 »

how can i change my header?


and how can i change the font color?

aox-gaming.com/forum is the site
skeletor29
Registered User
Posts: 7
Joined: Thu Sep 25, 2008 8:28 pm

Re: Black Pearl

Post by skeletor29 »

Ok, this is the second style ive installed that has no register button...but when I got to sites that others have installed this theme...its there! Thanks.
Image

Return to “[3.0.x] Styles Database Releases”