Page 4 of 30

Re: Black Pearl

Posted: Fri Sep 05, 2008 5:52 am
by RATT
dilter wrote:Hi. I was wondering if it's possible to ad google adwords to the forum. at the base of it.
and if how I can do it.

Thank you.
This should get you started.
http://www.phpbb.com/kb/article/adverti ... in-phpbb3/

Re: Black Pearl

Posted: Sat Sep 06, 2008 3:35 pm
by ashdaw
Thanks Ratt for the quick reply. I have been able to add the new Skin/Style and it looks BL**DY brilliant. :D

I hope to be able to add a few mods here and there, wish me LUCK :roll:

Re: Black Pearl

Posted: Sat Sep 06, 2008 4:26 pm
by spaceace
ashdaw wrote:Thanks Ratt for the quick reply. I have been able to add the new Skin/Style and it looks BL**DY brilliant. :D

I hope to be able to add a few mods here and there, wish me LUCK :roll:
any mods that need work for styling, just post in here and someone should be able to give you a hand ;)

Re: Black Pearl

Posted: Sun Sep 07, 2008 2:28 am
by Phanatik1
Great Style! But the bright yellow type face for topic names and other headings don't work with my site theme. Where do I change that?


Thanks!

Re: Black Pearl

Posted: Sun Sep 07, 2008 2:57 am
by zoobie
it's usually in the style's stylesheet.css

Re: Black Pearl

Posted: Mon Sep 08, 2008 3:07 pm
by hootienchyna
ok 1 more try. is this normal or is there something wrong

Image

Re: Black Pearl

Posted: Mon Sep 08, 2008 10:14 pm
by TheIlluminative
Yes, I guess the style was designed that way.

Re: Black Pearl

Posted: Tue Sep 09, 2008 11:12 pm
by cocainez
Hi. Can you tell me why my button "NEW TOPIC" isn't there :o every works fine , but nobody can post topics..
Image

Re: Black Pearl

Posted: Tue Sep 09, 2008 11:27 pm
by TheIlluminative
make a new folder inside imageset directory an name it 'ru' and copy images from 'en' into it.

Re: Black Pearl

Posted: Tue Sep 09, 2008 11:34 pm
by cocainez
thanks for the fast reply but I resolve the problem . I changed the language to English and now it's fine.thanks again :)

Re: Black Pearl

Posted: Tue Sep 09, 2008 11:43 pm
by TheIlluminative
Yes, but if a user changes his language into Russian, the buttons won't appear for him also, so you need to add the folder for the buttons to appear for both languages.

Re: Black Pearl

Posted: Tue Sep 09, 2008 11:47 pm
by cocainez
ah thanks a lot :) btw it's bulgarian not russian but never mind :)

Re: Black Pearl

Posted: Wed Sep 10, 2008 12:04 am
by TheIlluminative
Well, sorry, I though it was Russian, I actually didn't know, but I saw the writing was a bit looking alike. Then create a folder named 'bg'.

Modify Overall Header problem

Posted: Wed Sep 10, 2008 9:46 pm
by AmonRA
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>



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

Re: Black Pearl

Posted: Wed Sep 10, 2008 10:54 pm
by cocainez
thanks again . I made it last night :)