Results 1 to 8 of 8
-
24th Feb 2010, 07:52 PM #1OPMemberWebsite's:
StoneArcade.comHelp with this i hope
Hi guys im lookin for a bit of help
i am using phpbb2 and want to embed it onto my site,well at least make it look as tho it is.
i have read in tuts its as simple as editting the overallheader.tpl and adding the style of my site.. im a n00b coder tho,and was hoping for a bit of help
thanksiMage Reviewed by iMage on . Help with this i hope Hi guys im lookin for a bit of help i am using phpbb2 and want to embed it onto my site,well at least make it look as tho it is. i have read in tuts its as simple as editting the overallheader.tpl and adding the style of my site.. im a n00b coder tho,and was hoping for a bit of help thanks Rating: 5
-
24th Feb 2010, 08:00 PM #2MemberWebsite's:
reddit.comWell.. always depends on the structure of your site..
If you have no idea, better hire a professional to do it for you..
-
24th Feb 2010, 08:05 PM #3OPMemberWebsite's:
StoneArcade.comya know anyone that can do this? that wont break my bank acct that is
-
24th Feb 2010, 08:09 PM #4Member
You might want to paste your header and overallheader.tpl code too.
-
24th Feb 2010, 08:20 PM #5OPMemberWebsite's:
StoneArcade.comHeader
PHP Code:{* Smarty *}<!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 profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$sitetitle}</title>
<meta name="description" content="{$metadesc}" />
<meta name="keywords" content="{$metakeywords}" />
<link href=".{$themepath}default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src=".{$themepath}dropdown.js"></script>
{if $RSSon == '1'}
<link rel="alternate" type="application/rss+xml" title="{$sitetitle}" href="./rss.php" />
{/if}
{php}
am_27theme(); // loads <head></head> stuff required for 2.7 themes
{/php}
{$headload}
</head>
<body{$bodyload}>
<div id="wholecontainer">
<div id="maincontainer">
<div id="pagecontainer">
<div class="headerpart">
<div class="logo">
<a href="./index.php"><img src=".{$themepath}images/logo.png" /></a>
</div>
<div class="header_top">
<div class="header_con">
<div class="top_rightcon">
<div class="top_searchpart">
<form action="index.php" name="searchbox" id="searchbox" method="get">
<div class="top_searchbox"><input type="text" name="searchstring" id="searchstring" value="Search Games" onblur="if(this.value=='') this.value='Search Games';" onfocus="if(this.value=='Search Games') this.value='';" /></div>
<div class="top_searchbtn">
<input type="hidden" name="loadpage" value="./includes/search.php" />
<input type="submit" id="searchbtn" name="searchbtn" value="SEARCH" title="SEARCH" />
</div>
</form>
</div>
<div class="top_loginpart">
<div class="login_toppart">
{php}
global $tokens;
if ($tokens == 1)
{
$tokentext = $_SESSION['tokens_remaining'].' Tokens Left before signup. ';
} else {
$tokentext = ' ';
{/php}
{php} } {/php}
<div class="tokentxt">{php}echo $tokentext; {/php} </div>
<div class="newusertxt_bg"><a href="./index.php?loadpage=./includes/register.php">New User?<br/><span>Signup</span></a></div>
<div class="loginbg">
{php}
if ($_SESSION['reguser'] != "")
{
{/php}
<div class="existusertxt">
Welcome back <span style="color:#D7CB0D;">{php}echo $_SESSION['reguser']{/php}</span>
</div>
<div class="logincon">
<div style="padding:3px 0px; height:10px;">
<a href="./index.php?loadpage=./includes/profile.php" style="color:#99BF2F;"><b>View Profile</b></a>
<span style='padding-left:15px;'>Join Date : {php} echo am_getuserjoindate($_SESSION['reguser']) {/php}
</div>
<div style="padding:3px 0px; height:10px;"><a href="./includes/logout.php" style="color:#BD003B;"><b>Logout</b></a></div>
</div>
{php}
}
else
{
{/php}
<form action="./index.php" method="post">
<div class="existusertxt">Existing User</div>
<div class="logincon">
<div class="useridbox"><input type="text" name="name" id="name" value="Enter User ID" onblur="if(this.value=='') this.value='Enter User ID';" onfocus="if(this.value=='Enter User ID') this.value='';" /></div>
<div class="useridbox">
<input type="password" name="pass" id="pass" value="Enter Password" onblur="if(this.value=='') this.value='Enter Password';" onfocus="if(this.value=='Enter Password') this.value='';" />
</div>
<div class="loginbtn">
<input type="hidden" name="asfsagrg4" value="d76fghhjda" />
<input type="submit" name="loginbtn" id="loginbtn" value="LOGIN" title="LOGIN" />
</div>
</div>
<div class="loginbtm">
<div class="rempart">
<div class="rembox"><input type="checkbox" name="rememb" id="rememb" /></div>
<div class="remtxt">Remember Me</div>
</div>
<div class="forgottxt"><a href="./index.php?loadpage=./includes/forgotpassword.php">Forgot Password?</a></div>
</div>
</form>
{php}
}
{/php}
</div>
</div>
</div>
</div>
<div class="topmenupart">
<div class="menu">
<div class="mleft"> </div>
<div class="mcon"><a href="./index.php">Home</a></div>
<div class="mright"> </div>
</div>
<div class="menu">
<div class="mleft"> </div>
<div class="mcon"><a href="http://forum.play4freearcade.net/" target="_blank">Forum</a>
</div>
<div class="mright"> </div>
</div>
<div class="menu">
<div class="mleft"> </div>
<div class="mcon"><a href="./memberlist.php">Member List</a></div>
<div class="mright"> </div>
</div>
<div class="menu">
<div class="mleft"> </div>
<div class="mcon"><a href="./advertise.php">Advertise</a></div>
<div class="mright"> </div>
</div>
<div class="menu">
<div class="mleft"> </div>
<div class="mcon"><a href="./trophies.php">Trophies</a></div>
<div class="mright"> </div>
</div>
<div class="menu">
<div class="mleft"> </div>
<div class="mcon"><a href="./index.php?loadpage=./includes/linkexchange.php">Exchange Links</a></div>
<div class="mright"> </div>
</div>
<div class="menu">
<div class="mleft"> </div>
<div class="mcon"><a href="./contactus.php">Contact us</a></div>
<div class="mright"> </div>
</div>
</div>
</div>
</div>
<div class="mainmenupart">
<div class="mainmenu_left"><img src=".{$themepath}images/mainmenu_left.jpg" width="10" height="43" alt="" /></div>
<div class="mainmenu_con">
<ul>
{php}am_listgamecats($db, 'list'); {/php}
</ul>
</div>
<div class="mainmenu_right"><img src=".{$themepath}images/mainmenu_right.jpg" width="10" height="43" alt="" /></div>
</div>
</div>
Overallheader.tpl
PHP Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<!-- link rel="stylesheet" href="templates/subSilver/{T_HEAD_STYLESHEET}" type="text/css" -->
<style type="text/css">
<!--
/*
The original subSilver Theme for phpBB version 2+
Created by subBlue design
http://www.subBlue.com
NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
theme administration centre. When you have finalised your style you could cut the final CSS code
and place it in an external file, deleting this section to save bandwidth.
*/
/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
background-color: {T_BODY_BGCOLOR};
scrollbar-face-color: {T_TR_COLOR2};
scrollbar-highlight-color: {T_TD_COLOR2};
scrollbar-shadow-color: {T_TR_COLOR2};
scrollbar-3dlight-color: {T_TR_COLOR3};
scrollbar-arrow-color: {T_BODY_LINK};
scrollbar-track-color: {T_TR_COLOR1};
scrollbar-darkshadow-color: {T_TH_COLOR1};
}
/* General font families for common tags */
font,th,td,p { font-family: {T_FONTFACE1} }
a:link,a:active,a:visited { color : {T_BODY_LINK}; }
a:hover { text-decoration: underline; color : {T_BODY_HLINK}; }
hr { height: 0px; border: solid {T_TR_COLOR3} 0px; border-top-width: 1px;}
/* This is the border line & background colour round the entire page */
.bodyline { background-color: {T_TD_COLOR2}; border: 1px {T_TH_COLOR1} solid; }
/* This is the outline round the main forum tables */
.forumline { background-color: {T_TD_COLOR2}; border: 2px {T_TH_COLOR2} solid; }
/* Main table cell colours and backgrounds */
td.row1 { background-color: {T_TR_COLOR1}; }
td.row2 { background-color: {T_TR_COLOR2}; }
td.row3 { background-color: {T_TR_COLOR3}; }
/*
This is for the table cell above the Topics, Post & Last posts on the index.php page
By default this is the fading out gradiated silver background.
However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
background-color: {T_TD_COLOR2};
background-image: url(templates/subSilver/images/{T_TH_CLASS3});
background-repeat: repeat-y;
}
/* Header cells - the blue and silver gradient backgrounds */
th {
color: {T_FONTCOLOR3}; font-size: {T_FONTSIZE2}px; font-weight : bold;
background-color: {T_BODY_LINK}; height: 25px;
background-image: url(templates/subSilver/images/{T_TH_CLASS2});
}
td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
background-image: url(templates/subSilver/images/{T_TH_CLASS1});
background-color:{T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; height: 28px;
}
/*
Setting additional nice inner borders for the main table cells.
The names indicate which sides the border will be on.
Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
height: 29px;
border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
font-weight: bold; border: {T_TD_COLOR2}; border-style: solid; height: 28px;
}
td.row3Right,td.spaceRow {
background-color: {T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid;
}
th.thHead,td.catHead { font-size: {T_FONTSIZE3}px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow { border-width: 0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right { border-width: 0px 1px 0px 0px; }
th.thLeft,td.catLeft { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom { border-width: 0px 1px 1px 1px; }
th.thTop { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }
/* The largest text used in the index page title and toptic title etc. */
.maintitle {
font-weight: bold; font-size: 22px; font-family: "{T_FONTFACE2}",{T_FONTFACE1};
text-decoration: none; line-height : 120%; color : {T_BODY_TEXT};
}
/* General text */
.gen { font-size : {T_FONTSIZE3}px; }
.genmed { font-size : {T_FONTSIZE2}px; }
.gensmall { font-size : {T_FONTSIZE1}px; }
.gen,.genmed,.gensmall { color : {T_BODY_TEXT}; }
a.gen,a.genmed,a.gensmall { color: {T_BODY_LINK}; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover { color: {T_BODY_HLINK}; text-decoration: underline; }
/* The register, login, search etc links at the top of the page */
.mainmenu { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT} }
a.mainmenu { text-decoration: none; color : {T_BODY_LINK}; }
a.mainmenu:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }
/* Forum category titles */
.cattitle { font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : {T_BODY_LINK}}
a.cattitle { text-decoration: none; color : {T_BODY_LINK}; }
a.cattitle:hover{ text-decoration: underline; }
/* Forum title: Text and link to the forums used in: index.php */
.forumlink { font-weight: bold; font-size: {T_FONTSIZE3}px; color : {T_BODY_LINK}; }
a.forumlink { text-decoration: none; color : {T_BODY_LINK}; }
a.forumlink:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }
/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
a.nav { text-decoration: none; color : {T_BODY_LINK}; }
a.nav:hover { text-decoration: underline; }
/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2 { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT}; }
a.topictitle:link { text-decoration: none; color : {T_BODY_LINK}; }
a.topictitle:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.topictitle:hover { text-decoration: underline; color : {T_BODY_HLINK}; }
/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
/* Location, number of posts, post date etc */
.postdetails { font-size : {T_FONTSIZE1}px; color : {T_BODY_TEXT}; }
/* The content of the posts (body of text) */
.postbody { font-size : {T_FONTSIZE3}px; line-height: 18px}
a.postlink:link { text-decoration: none; color : {T_BODY_LINK} }
a.postlink:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.postlink:hover { text-decoration: underline; color : {T_BODY_HLINK}}
/* Quote & Code blocks */
.code {
font-family: {T_FONTFACE3}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR2};
background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}
.quote {
font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR1}; line-height: 125%;
background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}
/* Copyright and bottom info */
.copyright { font-size: {T_FONTSIZE1}px; font-family: {T_FONTFACE1}; color: {T_FONTCOLOR1}; letter-spacing: -1px;}
a.copyright { color: {T_FONTCOLOR1}; text-decoration: none;}
a.copyright:hover { color: {T_BODY_TEXT}; text-decoration: underline;}
/* Form elements */
input,textarea, select {
color : {T_BODY_TEXT};
font: normal {T_FONTSIZE2}px {T_FONTFACE1};
border-color : {T_BODY_TEXT};
}
/* The text input fields background colour */
input.post, textarea.post, select {
background-color : {T_TD_COLOR2};
}
input { text-indent : 2px; }
/* The buttons used for bbCode styling in message post */
input.button {
background-color : {T_TR_COLOR1};
color : {T_BODY_TEXT};
font-size: {T_FONTSIZE2}px; font-family: {T_FONTFACE1};
}
/* The main submit button option */
input.mainoption {
background-color : {T_TD_COLOR1};
font-weight : bold;
}
/* None-bold submit button */
input.liteoption {
background-color : {T_TD_COLOR1};
font-weight : normal;
}
/* This is the line in the posting page which shows the rollover
help line. This is actually a text box, but if set to be the same
colour as the background no one will know ;)
*/
.helpline { background-color: {T_TR_COLOR2}; border-style: none; }
/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("templates/subSilver/formIE.css");
-->
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
<a name="top"></a>
<table width="728" cellspacing="0" cellpadding="10" border="0" align="center">
<tr>
<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
<td align="center" width="100%" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br /> </span>
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a></span><span class="mainmenu"> <a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a> <a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a> <a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>
<!-- BEGIN switch_user_logged_out -->
<a href="{U_REGISTER}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span>
<!-- END switch_user_logged_out -->
</td>
</tr>
<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a> <a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a> <a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a> </span></td>
</tr>
</table></td>
</tr>
</table>
</div>
<br />
-
24th Feb 2010, 08:43 PM #6BannedWebsite's:
seekingw.com uwddl.com generalgamers.co.uk motivatedgamerz.comDo you want to include your fourm on a extrenal page?
I've never used phpbb, try:
<?php include("forum.php"); ?>
-
24th Feb 2010, 09:17 PM #7Member
the 1st thing i would do is upgrade to phpbb3, then edit the theme to use your header/footer.
-
25th Feb 2010, 01:48 AM #8OPMemberWebsite's:
StoneArcade.comim not interested in using phpbb3 i prefer 2
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
fun-hope.com
By samrock in forum Site ReviewsReplies: 4Last Post: 18th Sep 2010, 10:58 PM -
New Hope from Epassporte
By karlu in forum Webmasters, Money MakingReplies: 0Last Post: 17th Sep 2010, 04:43 AM -
i hope...
By chris hoppus in forum General DiscussionReplies: 4Last Post: 1st Jul 2010, 03:06 AM -
My Third Design hope it will be better than the first :(
By iR0ck in forum General DiscussionReplies: 19Last Post: 9th Feb 2010, 06:04 AM -
Any hope against Brein?
By jay in forum Legal IssuesReplies: 2Last Post: 21st Dec 2009, 06:33 PM
themaCreator - create posts from...
Version 3.51 released. Open older version (or...