Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Web Coding

Reply
 
LinkBack Thread Tools
Old 06-07-08   #1 (permalink)
New to Overclock.net
 
Teini's Avatar
 
Join Date: Jun 2008
Location: Iceland
Posts: 5

Rep: 0 Teini Unknown
Unique Rep: 0
Trader Rating: 0
Default phpbb3 into page

Hi
well, i got site running, and phpbb3 forum and i am trying to integrate or "wrap" my site around the forum by editing overall_header and footer, if someone can help me with this
Teini is offline   Reply With Quote
Old 06-07-08   #2 (permalink)
Case Modder
 
max302's Avatar
 
intel nvidia

Join Date: Oct 2007
Location: Trois-Rivieres, QC
Posts: 1,011
Blog Entries: 22

Rep: 90 max302 is acknowledged by some
Unique Rep: 75
Folding Team Rank: 106
Hardware Reviews: 3
Trader Rating: 11
Default

You can do this easily with a frame, but otherwise, you'll have to create a theme from scratch. If you've never done that kind of stuff it can easily become overwhelming. I've modded quite a bunch of PHPBB2 themes for numerous game clans and an RV community, but PHPBB3 is harder to work with.

Care to link what you've got so far?

System: Fr0stByte
CPU
Core 2 Duo e6750 @ 3.4
Motherboard
EVGA 680i SE SLI
Memory
Corsair XMS2 TWIN2X2048-6400C4
Graphics Card
EVGA 8800 GT (SSC Bios-mod)
Hard Drive
Seagate 7200.10 320 gig
Sound Card
Built-in HD 7.1 Azalia
Power Supply
Ultra X-Finity 600 watt active PFC, ULT40066
Case
Thermaltake Armor Jr.
CPU cooling
Thermaltake V1, custom control knob
GPU cooling
TT Duorb
OS
Windows XP Pro x64
Monitor
LG Flatron Wide 19"
max302 is offline I fold for Overclock.net   Reply With Quote
Old 06-07-08   #3 (permalink)
New to Overclock.net
 
Teini's Avatar
 
Join Date: Jun 2008
Location: Iceland
Posts: 5

Rep: 0 Teini Unknown
Unique Rep: 0
Trader Rating: 0
Default

Hi
this is my site http://www.almennt.com and here i have emty http://www.almennt.com/nytt.php page that i like to wrap it around the forum.

The forum is located here http://www.almennt.com/phpBB3 as now, i am using iframe on page http://www.almennt.com/spjall.php dont like it, that why i like to integrate or wrap it around the forum, if someone can help with this.

i have purchased a license for php melody

Last edited by Teini : 06-07-08 at 01:53 PM.
Teini is offline   Reply With Quote
Old 06-07-08   #4 (permalink)
Programmer
 
xtascox's Avatar
 
intel nvidia

Join Date: Jul 2007
Location: Dallas, PA
Posts: 157

Rep: 8 xtascox Unknown
Unique Rep: 8
Folding Team Rank: 940
Trader Rating: 0
Default

You could edit the header and footer of PHPBB to look like your custom header and footer.

System: SVT
CPU
P4 631 Cedar Mill 3.0 GHZ @ 4.0
Motherboard
Asus P5N-E SLI
Memory
2GB Dual Channel G. Skill
Graphics Card
8600GTS
Hard Drive
160GB WD IDE, 160GB Seagate Barracuda 7200 SATA
Sound Card
Onboard Realtek ALC883
Power Supply
550W Rosewill
Case
Chenming 901A
CPU cooling
Arctic Chiller 7 + Arctic Silver 5
GPU cooling
Stock Heatsink and fan
OS
Windows XP Pro SP3
Monitor
Acer 19" Widescreen
xtascox is offline I fold for Overclock.net   Reply With Quote
Old 06-07-08   #5 (permalink)
New to Overclock.net
 
Teini's Avatar
 
Join Date: Jun 2008
Location: Iceland
Posts: 5

Rep: 0 Teini Unknown
Unique Rep: 0
Trader Rating: 0
Default

Quote:
Originally Posted by xtascox View Post
You could edit the header and footer of PHPBB to look like your custom header and footer.
Yes i know, i have been doing that, without of luck, been trying to add header from page to header of the phpbb3.

Here is overall_header from phpbb3
Code:
<!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 ca_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="2002-2006 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} - <!-- IF S_IN_MCP -->{L_MCP} - <!-- ELSEIF S_IN_UCP -->{L_UCP} - <!-- ENDIF -->{PAGE_TITLE}</title>

<!-- IF T_STYLESHEET_LINK -->
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<!-- ELSE -->
<style type="text/css">
{T_THEME_DATA}
</style>
<!-- ENDIF -->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="{T_THEME_PATH}/ie7.css" />
<![endif]-->

<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(/&amp;/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(/&amp;/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 -->

if(navigator.userAgent && navigator.userAgent.indexOf('Mac OS X') > 0)
{
	document.write('<link rel="stylesheet" href="{T_THEME_PATH}/mac.css" type="text/css" />');
}

// ]]>
</script>
</head>
<body class="{S_CONTENT_DIRECTION}">
<div id="wrapper">

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

<table border="0" cellspacing="0" cellpadding="0" width="{$CA_WIDTH}" id="maintable" align="center">
<tr>
	<td id="logorow" align="center">
		<a href="{U_INDEX}">{SITE_LOGO_IMG}</a>
	</td>
</tr>
<tr>
	<td class="navtd">
		<div class="navrow">
			<div class="navrow-right">
				<a href="{U_FAQ}">{L_FAQ}</a>
				<!-- IF U_RESTORE_PERMISSIONS --> • <a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
				<!-- IF S_DISPLAY_SEARCH --> • <a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
				<!-- IF not S_IS_BOT -->
					<!-- IF S_DISPLAY_MEMBERLIST --> • <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
				<!-- ENDIF -->
				<!-- IF not S_IS_BOT --> • <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- ENDIF -->
			</div>
			<!-- IF not S_IS_BOT -->
				<!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}">{L_PROFILE}</a><!-- ENDIF -->
				<!-- IF S_USER_LOGGED_IN -->
					<!-- IF S_DISPLAY_PM --> • <a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a><!-- ENDIF -->
				<!-- ELSEIF S_REGISTER_ENABLED --><a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF -->
			<!-- ENDIF -->
		</div>
	</td>
</tr>
<tr>
	<td id="contentrow">

<!-- IF not S_IS_BOT && not $CA_SKIP_PM_NOTIFY && S_USER_LOGGED_IN && S_DISPLAY_PM -->
	<!-- IF S_USER_NEW_PRIVMSG -->
		<div class="pm-notify-new"><div class="pm-notify-header">{L_PRIVATE_MESSAGES}</div><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a></div>
	<!-- ELSEIF S_USER_UNREAD_PRIVMSG -->
		<div class="pm-notify-unread"><div class="pm-notify-header">{L_PRIVATE_MESSAGES}</div><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a></div>
	<!-- ENDIF -->
<!-- ENDIF -->  

<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
	<div class="pm-notify-new"><div class="pm-notify-header">{L_INFORMATION}</div>{L_BOARD_DISABLED}</div>
<!-- ENDIF -->

<table width="100%" cellspacing="0">
<tr>
	<td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
	<td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td>
</tr>
</table>

	<!-- IF S_DISPLAY_SEARCH -->
	<p class="searchbar">
		<span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>
		<!-- IF S_USER_LOGGED_IN -->
		<span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
		<!-- ENDIF -->
	</p>
	<!-- ENDIF -->

	<br style="clear: both;" />

	<!-- INCLUDE breadcrumbs.html -->

	<br />
and the header of the page
Code:
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>{$meta_title}</title>
{if $no_index == '1'}
<meta name="robots" content="noindex,nofollow">
<META NAME="GOOGLEBOT" CONTENT="NOINDEX, NOFOLLOW">
{/if}
<link href="{$smarty.const._URL}/templates/{$template_dir}/style.css" rel="stylesheet" type="text/css" />
{if $show_js == '1'}
<link rel="stylesheet" type="text/css" href="{$smarty.const._URL}/js/ajaxtabs/ajaxtabs.css" />
<script>
var MELODYURL = "{$smarty.const._URL}";
</script>
<script type="text/javascript" src="{$smarty.const._URL}/js/comments_pag/comments_pag.js"></script>

<script type="text/javascript" src="{$smarty.const._URL}/rating.js"></script>
<script type="text/javascript" src="{$smarty.const._URL}/js/popup.js"></script>
<script type="text/javascript" src="{$smarty.const._URL}/js/ajaxtabs/ajaxtabs.js"></script>
{/if}
<script type="text/javascript" src="{$smarty.const._URL}/js/general.js"></script>
</head>
<body>
<a name="top" id="top"></a>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><img src="{$smarty.const._URL}/templates/{$template_dir}/images/limiter_1.gif" alt="" width="932" height="12" /></td>
  </tr>
  <tr>
    <td>
	<div id="wrapper">
		<div id="logo_search">
		<div id="logo">
		<a href="{$smarty.const._URL}/index.{$smarty.const._FEXT}"><img src="{$smarty.const._URL}/templates/{$template_dir}/images/logo.gif" border="0" /></a>
		</div>
		<div id="search_form">
					<form action="{$smarty.const._URL}/search.php" method="get" id="search" name="search" onsubmit="return validateSearch('true');">
			<input name="keywords" type="text" value="" class="search_keywords"  />  
			<input name="btn" value="Leita" type="submit" class="search_bttn" />
			</form>	
		</div>
		</div>
		<div id="menu">
			<div id="menu_links">
			<ul>
				<li><a href="{$smarty.const._URL}/index.{$smarty.const._FEXT}">Heim</a></li>
				<li><a href="{$smarty.const._URL}/topvideos.{$smarty.const._FEXT}">Topp myndbönd</a></li>
				<li><a href="{$smarty.const._URL}/newvideos.{$smarty.const._FEXT}">Ný myndbönd</a></li>
				{if $logged_in == '1'}
				<li><a href="{$smarty.const._URL}/profile.php?u={$s_username}">Minn prófíll</a></li>
				<li><a href="{$smarty.const._URL}/favorites.php?a=show">Mín myndbönd</a></li>
				<li><a href="{$smarty.const._URL}/suggest.{$smarty.const._FEXT}">Mæla með myndbandi</a></li>
				<li><a href="{$smarty.const._URL}/login.php?do=logout">Útskrá</a></li>
				{/if}
				<li><a href="{$smarty.const._URL}/contact_us.{$smarty.const._FEXT}">Samband</a></li>
                <li><a href="{$smarty.const._URL}/spjall.{$smarty.const._FEXT}">Spjall</a></li>
				{if $logged_in != '1'}
				<li><a href="{$smarty.const._URL}/register.{$smarty.const._FEXT}">Skráning</a></li>
				{/if}
			</ul>
			</div>
		</div>

		{if $ad_1 != ''}
			<div align="center">{$ad_1}</div>
		{/if}
If someone can help me put this together, because i am lost.

Last edited by Teini : 06-07-08 at 02:54 PM.
Teini is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 05:22 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.14567 seconds with 9 queries