Page 5 of 30

Re: Modify Overall Header problem

Posted: Wed Sep 10, 2008 11:10 pm
by TheIlluminative
Could you please post a link to your board please ?

Re: Modify Overall Header problem

Posted: Thu Sep 11, 2008 2:52 pm
by AmonRA
TheIlluminative wrote:Could you please post a link to your board please ?
The link is: http://andree.amadej.si/souljaheaven/index.php

Re: Modify Overall Header problem

Posted: Sat Sep 13, 2008 1:39 am
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

Re: Black Pearl

Posted: Mon Sep 15, 2008 4:17 pm
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

Re: Black Pearl

Posted: Thu Sep 18, 2008 5:33 am
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...

Re: Black Pearl

Posted: Thu Sep 18, 2008 9:38 pm
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.

Re: Black Pearl

Posted: Thu Sep 18, 2008 9:53 pm
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.

Re: Black Pearl

Posted: Thu Sep 18, 2008 11:59 pm
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

Black Pearl Forum Table Title

Posted: Mon Sep 22, 2008 4:40 pm
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?

Re: Black Pearl Forum Table Title

Posted: Mon Sep 22, 2008 5:48 pm
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.

Re: Black Pearl Forum Table Title

Posted: Mon Sep 22, 2008 6:20 pm
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.

Re: Black Pearl

Posted: Mon Sep 22, 2008 7:43 pm
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.

Re: Black Pearl

Posted: Mon Sep 22, 2008 9:31 pm
by juniorcleff
Perfect! Thanx!

Re: Black Pearl

Posted: Wed Sep 24, 2008 10:44 pm
by viglirolo12
how can i change my header?


and how can i change the font color?

aox-gaming.com/forum is the site

Re: Black Pearl

Posted: Thu Sep 25, 2008 8:31 pm
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.