Customized Style for gaming site

Forum rules
Support ended: 31.12.2011

Customized Style for gaming site

Postby res michlt007 » Mon Aug 01, 2011 7:04 pm

Gallery Version: 1.0.6
phpBB Version: 3.0.8
Gallery-Link: http://360battles.com/forums/gallery/index.php


Error description and message
I'm having a issue where my header isn't showing up at all I know you are very busy any help would be greatly appreciated. The style has been customized to show the header from our elite ladders theme and as you can see from the link provided the header isn't showing up at all and I've tried everything I can think of with out any luck. If you can point me in the right directions it would be great hopefully before I pull all my hair out and go bald.
res michlt007
Posts < 10
Posts < 10
 
Posts: 4
Topics: 1
Joined: Mon Aug 01, 2011 6:53 pm

Re: Customized Style for gaming site

Postby nickvergessen » Mon Aug 01, 2011 7:11 pm

Well the code for your chat is wrong:
Code: Select all
<iframe src ="chat/" frameborder="0" height="350" width="100%"></iframe>

should be
Code: Select all
<iframe src ="{ROOT_PATH}chat/" frameborder="0" height="350" width="100%"></iframe>
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Customized Style for gaming site

Postby res michlt007 » Mon Aug 01, 2011 7:13 pm

nickvergessen wrote:Well the code for your chat is wrong:
Code: Select all
<iframe src ="chat/" frameborder="0" height="350" width="100%"></iframe>

should be
Code: Select all
<iframe src ="{ROOT_PATH}chat/" frameborder="0" height="350" width="100%"></iframe>


That fixed the shoutbox but my header still doesn't show up.. I'm really sorry for being a bother.
res michlt007
Posts < 10
Posts < 10
 
Posts: 4
Topics: 1
Joined: Mon Aug 01, 2011 6:53 pm

Re: Customized Style for gaming site

Postby res michlt007 » Mon Aug 01, 2011 7:15 pm

This is my overall_ header.html
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>



<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="" />

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9" />

{META}

<title>{SITENAME} &rsaquo; <!-- IF S_IN_MCP -->{L_MCP} &rsaquo; <!-- ELSEIF S_IN_UCP -->{L_UCP} &rsaquo; <!-- ENDIF -->{PAGE_TITLE}</title>

<!-- IF S_ENABLE_FEEDS -->

   <!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF -->

   <!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->

   <!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->

   <!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->

   <!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{U_FEED}?mode=topics_active" /><!-- ENDIF -->

   <!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->

   <!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&amp;t={S_TOPIC_ID}" /><!-- ENDIF -->

<!-- ENDIF -->

<!-- jQuery/Custom Scripts -->

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>


<script src="{T_THEME_PATH}/jquery.hoverIntent.js" type="text/javascript"></script>

<script src="{T_THEME_PATH}/menu.js" type="text/javascript"></script>

<!-- End jQuery/Custom Scripts -->

<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<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 per_page = '{PER_PAGE}';

   var base_url = '{A_BASE_URL}';



   if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)

   {

      if (base_url.indexOf('?') == -1)

      {

         document.location.href = base_url + '?start=' + ((page - 1) * per_page);

      }

      else

      {

         document.location.href = base_url.replace(/&amp;/g, '&') + '&start=' + ((page - 1) * per_page);

      }

   }

}



/**

* 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>

<script language="javascript" type="text/javascript" src="{T_THEME_PATH}/superfish.js"></script>
<!-- IF SCRIPT_NAME eq 'leaderboard' --><script type="text/javascript" src="{ROOT_PATH}overlib/overlib.js"></script><!-- ENDIF -->

<!-- INCLUDE gallery/plugins_header.html -->
</head>

<!-- League Begin-->

   <div id="wrap">

   

<!-- PHP -->

$filename = '../theme/neo-green/header_phpbb.php';
if (file_exists($filename)) {
    include("../theme/neo-green/header_phpbb.php");
} else {
}

<!-- ENDPHP -->





<div class="bgleft"></div>

            <!-- Main Wrap -->

   

<div id="smain">

   <table class="tablebg" cellspacing="1" width="100%">

      <th><a href="{U_INDEX}">{L_INDEX}</a></th>

      <th><a href="{U_FAQ}">{L_FAQ}</a></th>

      <th><a href="{U_GALLERY_MOD}" title="{L_GALLERY_EXPLAIN}">{L_GALLERY}</a></th>
               
                <th><a href="">Coming Soon</a></th>         

<!-- IF S_USER_LOGGED_IN -->
      <th><a href="{U_PROFILE}">{L_PROFILE}</a></th>

      <!-- ENDIF -->

      <!-- IF not S_IS_BOT -->

      <th><a href="../login.php?act=logout">{L_LOGIN_LOGOUT}</a></th>

      <!-- ENDIF -->

      <!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not S_IS_BOT -->

      <th><a href="../register.php">{L_REGISTER}</a></th>

      <!-- ENDIF -->

   </table>   

         <iframe src ="{ROOT_PATH}chat/" frameborder="0" height="350" width="100%"></iframe>
   <!-- Main End -->
      

<body class="{S_CONTENT_DIRECTION}">

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

<div class="clr"></div>

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



   <!-- INCLUDE breadcrumbs.html -->



   <br />
res michlt007
Posts < 10
Posts < 10
 
Posts: 4
Topics: 1
Joined: Mon Aug 01, 2011 6:53 pm

Re: Customized Style for gaming site

Postby nickvergessen » Mon Aug 01, 2011 9:00 pm

Please look for all links that are relative (not starting with a phpBB variable {U_ ) and add {ROOT_PATH} at the beginning of the link.
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Customized Style for gaming site

Postby res michlt007 » Thu Aug 25, 2011 6:46 pm

Image

did all that and still end up with this not sure what else to do but thanks for your help
res michlt007
Posts < 10
Posts < 10
 
Posts: 4
Topics: 1
Joined: Mon Aug 01, 2011 6:53 pm


Return to Support & Administration

Who is online

Users browsing this forum: No registered users and 1 guest