Intergrate page with forum

Discussion in 'Web Development and Programming' started by Disa, May 25, 2008.

  1. Disa

    Disa Regular Member

    Joined:
    May 25, 2008
    Messages:
    9
    Likes Received:
    0
    Hi
    Can someone help me.
    I got this site almennt.com and i have forum installed, i am trying to integrate my site with the forum, by editing overall_header and footer, but i am not sure how to do this, my forum is located here almennt.com/spjall.

    any1 .............thx
    :shock:
     
  2. Adam

    Adam Regular Member

    Joined:
    Mar 17, 2008
    Messages:
    164
    Likes Received:
    0
    Location:
    USA - oursrc.com
    I can help you with this. Your wanting the forum header and footer to match the existing site? or just the logo or what all part do you want to match?
     
  3. Disa

    Disa Regular Member

    Joined:
    May 25, 2008
    Messages:
    9
    Likes Received:
    0
    Hi and thx for that.
    Here i have add forum with iframe, dont like it :D http://www.almennt.com/spjall.php
    so, i am trying to edit header and footer so the forum match to page.
    (Hope you understand me) :shock:
     
  4. Adam

    Adam Regular Member

    Joined:
    Mar 17, 2008
    Messages:
    164
    Likes Received:
    0
    Location:
    USA - oursrc.com
    Post your forums overall header and footer here and i will modify it for you.
     
  5. Disa

    Disa Regular Member

    Joined:
    May 25, 2008
    Messages:
    9
    Likes Received:
    0
    This is from the phpbb3 theme i am using

    overall_footer.html
    Code:
    {RUN_CRON_TASK}
    
    
    <pre>
    	We request you retain the full copyright notice below including the link to [url]www.phpbb.com[/url].
    	This not only gives respect to the large amount of time given freely by the developers
    	but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
    	the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
    	"phpBB" linked to [url]www.phpbb.com[/url]. If you refuse to include even this then support on our
    	forums may be affected.
    
    	The phpBB Group : 2006
    
    	//
    	//	From Vjacheslav Trushkin:
    	//
    
    	You are allowed to use this phpBB style only if you agree to the following conditions:
    	- You cannot remove my copyright notice from style without my permission.
    	- You cannot use images from this style anywhere else without my permission.
    	- You cannot convert this style to another software without my permission.
    	- If you want to create new phpBB style based on this style you must ask my permission (unless its for your own use only).
    	- If you modify this style it still should have my copyright notice because it is based on my work. Modified style should not be available for download without my permission.
    
    	If you don't like these conditions, don't use this style.
    
    	For support visit [url]http://www.stsoftware.biz/forum[/url]
    </pre>
    
    
    <div id="wrapfooter">
    	<span class="gensmall">[ [url="{U_ACP}"]{L_ACP}[/url] ]</span>
    
    
    	<span class="copyright">
    	Powered by [url="http://www.phpbb.com/"]phpBB[/url] &copy; phpBB Group.
    	
    Designed by [url="http://www.stsoftware.biz/"]Vjacheslav Trushkin[/url] for [url="http://www.freeforums.org"]Free Forums[/url]/[url="http://www.divisioncore.com"]DivisionCore[/url].
    	
    {TRANSLATION_INFO}
    	
    <bdo dir="ltr">[ {DEBUG_OUTPUT} ]</bdo></span>
    </div>
    
    	</td>
    </tr>
    </table>
    
    </body>
    </html>
    overall_header.html
    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>
    
    <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} - {L_MCP} - {L_UCP} - {PAGE_TITLE}</title>
    
    
    <link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
    
    <style type="text/css">
    {T_THEME_DATA}
    </style>
    
    <!--[if IE 7]>
    <link rel="stylesheet" type="text/css" href="{T_THEME_PATH}/ie7.css" />
    <![endif]-->
    
    <script type="text/javascript">
    // <![CDATA[
    
    
    	if ({S_NEW_PM})
    	{
    		popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
    	}
    
    
    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;
    		}
    	}
    }
    
    
    
    	/**
    	* 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();
    	}
    
    
    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">
    		[url="{U_INDEX}"]{SITE_LOGO_IMG}[/url]
    	</td>
    </tr>
    <tr>
    	<td class="navtd">
    		<div class="navrow">
    			<div class="navrow-right">
    				[url="{U_FAQ}"]{L_FAQ}[/url]
    				 • [url="{U_RESTORE_PERMISSIONS}"]{L_RESTORE_PERMISSIONS}[/url]
    				 • [url="{U_SEARCH}"]{L_SEARCH}[/url]
    				
    					 • [url="{U_MEMBERLIST}"]{L_MEMBERLIST}[/url]
    				
    				 • [url="{U_LOGIN_LOGOUT}"]{L_LOGIN_LOGOUT}[/url]
    			</div>
    			
    				[url="{U_PROFILE}"]{L_PROFILE}[/url]
    				
    					 • [url="{U_PRIVATEMSGS}"]{PRIVATE_MESSAGE_INFO}[/url]
    				[url="{U_REGISTER}"]{L_REGISTER}[/url]
    			
    		</div>
    	</td>
    </tr>
    <tr>
    	<td id="contentrow">
    
    
    	
    		<div class="pm-notify-new"><div class="pm-notify-header">{L_PRIVATE_MESSAGES}</div>[url="{U_PRIVATEMSGS}"]{PRIVATE_MESSAGE_INFO}, {PRIVATE_MESSAGE_INFO_UNREAD}[/url]</div>
    	
    		<div class="pm-notify-unread"><div class="pm-notify-header">{L_PRIVATE_MESSAGES}</div>[url="{U_PRIVATEMSGS}"]{PRIVATE_MESSAGE_INFO}, {PRIVATE_MESSAGE_INFO_UNREAD}[/url]</div>
    	
      
    
    
    	<div class="pm-notify-new"><div class="pm-notify-header">{L_INFORMATION}</div>{L_BOARD_DISABLED}</div>
    
    
    <table width="100%" cellspacing="0">
    <tr>
    	<td class="gensmall">{LAST_VISIT_DATE}</td>
    	<td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}
    </td>
    </tr>
    </table>
    
    	
    	<p class="searchbar">
    		<span style="float: {S_CONTENT_FLOW_BEGIN};">[url="{U_SEARCH_UNANSWERED}"]{L_SEARCH_UNANSWERED}[/url] | [url="{U_SEARCH_ACTIVE_TOPICS}"]{L_SEARCH_ACTIVE_TOPICS}[/url]</span>
    		
    		<span style="float: {S_CONTENT_FLOW_END};">[url="{U_SEARCH_NEW}"]{L_SEARCH_NEW}[/url] | [url="{U_SEARCH_SELF}"]{L_SEARCH_SELF}[/url]</span>
    		
    	</p>
    	
    
    	<br style="clear: both;" />
    
    	
    
    	
    
     
  6. Adam

    Adam Regular Member

    Joined:
    Mar 17, 2008
    Messages:
    164
    Likes Received:
    0
    Location:
    USA - oursrc.com
    I'll modify it and submit it later today. I'm very familiar with phpbb3.
     
  7. Disa

    Disa Regular Member

    Joined:
    May 25, 2008
    Messages:
    9
    Likes Received:
    0
    thx alot for this :)
     
  8. Adam

    Adam Regular Member

    Joined:
    Mar 17, 2008
    Messages:
    164
    Likes Received:
    0
    Location:
    USA - oursrc.com
    Sorry couldn't get to it today, I'll do it soon.
     
  9. Disa

    Disa Regular Member

    Joined:
    May 25, 2008
    Messages:
    9
    Likes Received:
    0
    hey, no problem m8 :)
     
  10. rangana

    rangana Regular Member

    Joined:
    Apr 12, 2008
    Messages:
    106
    Likes Received:
    0
    Location:
    Cebu City Philippines
    I thought, you were'nt aware of it :D
    I should say, yes you are. Integrating PHPbb with Highslide for instance is great :D

    Never seen it (yet) on other forums.
     

Share This Page