FreiChat related discussions
More users=bigger margin above header

It seems that after installation all features are now functioning properly so far. However, I have noticed a strange bug. The more users who are showing up in the chat module, the bigger the margin which is being created above my header banner. I can see the margin actually change sizes in proportion to how many users pop up on my chat box list of buddies.

Please let me know if this has ever been an issue or what further info I can provide to help you help me :)

Using JCB setup.

View current site: http://www.cyberdestruction.net

It seems that after installation all features are now functioning properly so far. However, I have noticed a strange bug. The more users who are showing up in the chat module, the bigger the margin which is being created above my header banner. I can see the margin actually change sizes in proportion to how many users pop up on my chat box list of buddies. Please let me know if this has ever been an issue or what further info I can provide to help you help me :) Using JCB setup. View current site: http://www.cyberdestruction.net

send me a screenshot of what is happening
i will understand it better

send me a screenshot of what is happening i will understand it better
Necessity is the mother of all inventions!

Basically, the more users(buddies) that show up on the freichat list, the bigger the gap is at the top of the page right above the header.
I would have shown it with more users but it was off-peak time of day when I was returning this reply. Yesterday when I had 14 buddies on the list at once, the margin above the header was huge.

With (0) users
http://i53.tinypic.com/2a0g4s2.jpg

With (1) user
http://i56.tinypic.com/2n7n8n.jpg

Hope that is enough info to understand what is going on.

Basically, the more users(buddies) that show up on the freichat list, the bigger the gap is at the top of the page right above the header. I would have shown it with more users but it was off-peak time of day when I was returning this reply. Yesterday when I had 14 buddies on the list at once, the margin above the header was huge. With (0) users http://i53.tinypic.com/2a0g4s2.jpg With (1) user http://i56.tinypic.com/2n7n8n.jpg Hope that is enough info to understand what is going on.

i saw the source code of your site,
there are two codes to be copy-pasted, the first goes in the head tag(you have pasted it before the beginning of the HTML element) and the second goes in the end of the body tag(you have pasted it in the beginning).


for example

#the first piece of code.
.
.
.
#the second piece of code.


moreover there is code from an earlier version of freichat present in your HTML.
search and remove the following code from the template.....
<!--freichat dynamic ver=freidynCb3.4.0beta start-->
<div id="freichatmain">
<div id="sound" class="sound"><div id="CB3.2"> </div>
</div>

<div id="hidfreichat" class="hidfreichat" style="visibility:visible">
</div>

<div id="freichat" class="freichat" style="z-index: 99999;">
<table><tr valign="bottom"><td>
<table><tr id="freicontain" class="freicontain" valign="bottom"></tr></table></td>
<td>
<div class="freichatcontaiment" id="freichatcontainment">
<p><b>Friends Online</b>
<span class="onlusers" id="onlusers"></span>
<span id="img"> </span></p>
<div id="frei" class="frei">
</div>
<div id="evnixpower"><font size="1">Powered by <a href="http://evnix.co.cc/jm/">EvNix</a></font></div>
</div>
</td>
</tr></table></div></div><div id=""$dyncss='disable';""> </div><script>var id=document.getElementById('freichatloaded');
id2=document.getElementById('$dyncss=\'disable\';'); if(id!=null) {if(id2==null){} else {document.getElementById('freichatmain').innerHTML = '';}} else {document.getElementById('freichatmain').innerHTML = '';} </script><!--freichat dynamic ver=freidynCb3.4.0betaend-->

i saw the source code of your site, there are two codes to be copy-pasted, the first goes in the head tag(you have pasted it before the beginning of the HTML element) and the second goes in the end of the body tag(you have pasted it in the beginning). for example &amp;lt;code&amp;gt; &amp;lt;head&amp;gt; #the first piece of code. . . . #the second piece of code. &amp;lt;/body&amp;gt; &amp;lt;/code&amp;gt; moreover there is code from an earlier version of freichat present in your HTML. search and remove the following code from the template..... &amp;lt;code&amp;gt; &amp;lt;!--freichat dynamic ver=freidynCb3.4.0beta start--&amp;gt; &amp;lt;div id=&#039;freichatmain&#039;&amp;gt; &amp;lt;div id=&#039;sound&#039; class=&#039;sound&#039;&amp;gt;&amp;lt;div id=&#039;CB3.2&#039;&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;div id=&#039;hidfreichat&#039; class=&#039;hidfreichat&#039; style=&#039;visibility:visible&#039;&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;div id=&#039;freichat&#039; class=&#039;freichat&#039; style=&#039;z-index: 99999;&#039;&amp;gt; &amp;lt;table&amp;gt; &amp;lt;tr valign=&#039;bottom&#039;&amp;gt; &amp;lt;td&amp;gt; &amp;lt;table&amp;gt; &amp;lt;tr id=&#039;freicontain&#039; class=&#039;freicontain&#039; valign=&#039;bottom&#039;&amp;gt; &amp;lt;/tr&amp;gt; &amp;lt;/table&amp;gt; &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; &amp;lt;div class=&#039;freichatcontaiment&#039; id=&#039;freichatcontainment&#039;&amp;gt; &amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Friends Online&amp;lt;/b&amp;gt; &amp;lt;span class=&#039;onlusers&#039; id=&#039;onlusers&#039;&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;span id=&#039;img&#039;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt; &amp;lt;div id=&#039;frei&#039; class=&#039;frei&#039;&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;div id=&#039;evnixpower&#039;&amp;gt;&amp;lt;font size=&#039;1&#039;&amp;gt;Powered by &amp;lt;a href=&#039;http://evnix.co.cc/jm/&#039;&amp;gt;EvNix&amp;lt;/a&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt; &amp;lt;/table&amp;gt; &amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div id=&amp;quot;$dyncss=&#039;disable&#039;;&amp;quot; &#039;style=visibility:hidden&#039;&amp;gt; &amp;lt;/div&amp;gt;&amp;lt;script&amp;gt;var id=document.getElementById(&#039;freichatloaded&#039;); id2=document.getElementById(&#039;$dyncss=\&#039;disable\&#039;;&#039;); if(id!=null) {if(id2==null){} else {document.getElementById(&#039;freichatmain&#039;).innerHTML = &#039;&#039;;}} else {document.getElementById(&#039;freichatmain&#039;).innerHTML = &#039;&#039;;} &amp;lt;/script&amp;gt; &amp;lt;!--freichat dynamic ver=freidynCb3.4.0betaend--&amp;gt; &amp;lt;/code&amp;gt;
Necessity is the mother of all inventions!

I removed the unnecessary code you listed. I def overlooked that so ty. As far as the

& , my template has no header html coding. I looked in my file directory in the html for the template I use and have (2) separate areas for the template php. It seems the header has its own section.

One file is titled, "head_includes.php" and has the following code:
<include type="head"></include><meta name="designer" content="Juergen Koller - http://www.lernvid.com"><meta name="licence" content="Copyright LernVid.com - Creative Commons Sharalike 3.0"><link href="templates/<?php%20echo%20%24this->template%20?>/css/reset.css" rel="stylesheet" type="text/css" media="all"><link href="templates/<?php%20echo%20%24this->template%20?>/css/template.css" rel="stylesheet" type="text/css" media="all"><link href="templates/<?php%20echo%20%24this->template%20?>/css/<?php%20echo%20%24this->params->get('colorVariation');%20?>.css" rel="stylesheet" type="text/css" media="all"><link rel="stylesheet" type="text/css" href="templates/<?php%20echo%20%24this->template%20?>/css/colors1.css" title="styles1" media="screen"><link rel="stylesheet" type="text/css" href="templates/<?php%20echo%20%24this->template%20?>/css/colors2.css" title="styles2" media="screen"><link rel="stylesheet" type="text/css" href="templates/<?php%20echo%20%24this->template%20?>/css/colors3.css" title="styles3" media="screen"><link rel="stylesheet" type="text/css" href="templates/<?php%20echo%20%24this->template%20?>/css/colors4.css" title="styles4" media="screen"><link rel="stylesheet" type="text/css" href="templates/<?php%20echo%20%24this->template%20?>/css/colors5.css" title="styles5" media="screen"><link rel="stylesheet" type="text/css" href="templates/<?php%20echo%20%24this->template%20?>/css/colors6.css" title="styles6" media="screen"><link rel="stylesheet" type="text/css" href="templates/<?php%20echo%20%24this->template%20?>/css/colors7.css" title="styles7" media="screen"><link rel="stylesheet" type="text/css" href="templates/<?php%20echo%20%24this->template%20?>/css/colors8.css" title="styles8" media="screen"><!--[if IE 7]>
<link href="templates/<?php echo $this->template ?>/css/ie7.css" rel="stylesheet" type="text/css" media="all" />
<![endif]--><!--[if lt IE 7]>
<link href="templates/<?php echo $this->template ?>/css/ie5x6x.css" rel="stylesheet" type="text/css" media="all" />
<![endif]--><?php if($this->countModules("left")&&!$this->countModules("right")){ $contentwidth="left";}
if($this->countModules("right")&&!$this->countModules("left")){ $contentwidth="right";}
if($this->countModules("left")&&$this->countModules("right")) {$contentwidth="middle"; }
?>


The other file is titled, "index.php" and contains the following code:

<?php defined( '_JEXEC' ) or die( 'Access to this location is RESTRICTED.' );
echo '<?xml version="1.0" encoding="utf-8"?'.'>';
?>

<?php $session = JSession::getInstance("none",array()); $ses=$session->getId(); ?>
<script type="text/javascript" language="javascipt" src="http://cyberdestruction.net/freichat/client/main.php?id=<?php%20echo%20%24ses;?>"></script><link rel="stylesheet" href="http://cyberdestruction.net/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css"><?php require("head_includes.php"); ?><div class="freichathtml" id="freichathtml"> </div>

<div id="bg_up">
<?php if (($this->params->get('whatWidth')) ==dyn) : ?>
<div id="wrapper" style="max-width:<?php echo $this->params->get('pageMaxWidth');?>;">
<?php endif;?><?php if (($this->params->get('whatWidth')) ==fix) : ?>
<div id="wrapper" style="width:<?php echo $this->params->get('pageWidth');?>;">
<?php endif;?><div id="header_container">
<div id="header">
<?php if (($this->params->get('showLogo')) !=0) : ?>
<div id="logo"></div>
<?php endif; ?><?php if (($this->params->get('showSitetitle')) !=0) : ?>
<a id="sitetitle" style="color: #<?php echo $this->params->get('FontColor');?>; ; font-size:<?php echo $this->params->get('FontSize');?>px;" href="" class="mootips" title="Go to Frontpage"><?php echo $mainframe->getCfg('sitename');?></a>
<?php endif; ?><?php if (($this->params->get('showStyleswitcher')) !=0) : ?>
<div id="styleswitcher">
<noscript>Switcher needs Javascript enabled!</noscript>
<ul><li><a title="style 1" href="index.php" rel="styles1" class="styleswitch"><img src="templates/<?php%20echo%20%24this->template%20?>/images/styles1.png" alt="style 1"></a></li>
<li><a title="style 2" href="index.php" rel="styles2" class="styleswitch"><img src="templates/<?php%20echo%20%24this->template%20?>/images/styles2.png" alt="style 2"></a></li>
<li><a title="style 3" href="index.php" rel="styles3" class="styleswitch"><img src="templates/<?php%20echo%20%24this->template%20?>/images/styles3.png" alt="style 3"></a></li>
<li><a title="style 4" href="index.php" rel="styles4" class="styleswitch"><img src="templates/<?php%20echo%20%24this->template%20?>/images/styles4.png" alt="style 4"></a></li>
<li><a title="style 5" href="index.php" rel="styles5" class="styleswitch"><img src="templates/<?php%20echo%20%24this->template%20?>/images/styles5.png" alt="style 5"></a></li>
<li><a title="style 6" href="index.php" rel="styles6" class="styleswitch"><img src="templates/<?php%20echo%20%24this->template%20?>/images/styles6.png" alt="style 6"></a></li>
<li><a title="style 7" href="index.php" rel="styles7" class="styleswitch"><img src="templates/<?php%20echo%20%24this->template%20?>/images/styles7.png" alt="style 7"></a></li>
<li><a title="style 8" href="index.php" rel="styles8" class="styleswitch"><img src="templates/<?php%20echo%20%24this->template%20?>/images/styles8.png" alt="style 8"></a></li>
</ul></div>

<?php endif;?></div>
</div>


<div id="oben">
<?php if($this->countModules('user3')) : ?>
<div id="navigation">
<include type="modules" name="user3" style="xhtml"></include></div>
<?php endif; ?></div>
<div id="container">
<div id="content_up_outer">
<div id="content_up">
<div id="content_up_left">
<?php if($this->countModules('breadcrumb')) : ?>
<div id="breadcrumbs">
<div id="breadcrumbs_left">
<include type="module" name="breadcrumbs"></include></div>
<div id="breadcrumbs_right"></div>
</div>
<?php endif; ?><div id="content_up_right">
<?php if($this->countModules('user4')) : ?>
<div id="search">
<div id="search_inner">
<include type="modules" name="user4" style="xhtml"></include></div>
</div>

<?php endif; ?></div>
</div>
</div>
</div>

<div align="center"><script type="text/javascript"><!--
google_ad_client = "ca-pub-4701041963423093";
/* [CD] Header 728x92 */
google_ad_slot = "3703112699";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>


<?php if($this->countModules('user5 or user6 or user7')) : ?>
<div id="user_modules1">
<?php if($this->countModules('user5')) : ?>
<div id="user5">
<include type="modules" name="user5" style="xhtml"></include></div>
<?php endif; ?><?php if($this->countModules('user6')) : ?>
<div id="user6">
<include type="modules" name="user6" style="xhtml"></include></div>
<?php endif; ?><?php if($this->countModules('user7')) : ?>
<div id="user7">
<include type="modules" name="user7" style="xhtml"></include></div>
<?php endif; ?></div>

<?php endif; ?><?php if($this->countModules('top')) : ?>
<div id="top">
<include type="modules" name="top" style="xhtml"></include></div>

<?php endif; ?><?php if($this->countModules('left')) : ?>
<div id="sidebar_left">
<include type="modules" name="left" style="rounded"></include></div>
<?php endif; ?><?php if($this->countModules('right')) : ?>
<div id="sidebar_right">
<include type="modules" name="right" style="rounded"></include></div>
<?php endif; ?><div id="content_out<?php echo $contentwidth; ?>">
<div id="content">
<include type="message"></include><include type="component"></include></div>
</div>
<div class="clr"></div>
<div id="content_down">
<div id="content_down_left">
</div>
</div>
<div id="container2">
<?php if($this->countModules('user1 or user2')) : ?>
<div id="user_modules2">
<?php if($this->countModules('user1')) : ?>
<div id="user1">
<include type="modules" name="user1" style="xhtml"></include></div>
<?php endif; ?><?php if($this->countModules('user2')) : ?>
<div id="user2">
<include type="modules" name="user2" style="xhtml"></include></div>
<?php endif; ?></div>
<?php endif; ?><div class="clr"></div>
<div id="footer">
<div id="date"><p><?php echo JHTML::Date($this->date_field, "%A, %d. %B %Y"); ?></p></div>
<!-- It is Not allowed to delete the Backlink to the autors! -->
<div id="copyright_info">
<p>| Copyright <strong><?php echo JHTML::Date($this->date_field, "%Y"); ?></strong> | <strong><?php echo $mainframe->getCfg('sitename');?></strong> | Design &copy; <a href="http://www.lernvid.com" target="_blank" title="Templates">LernVid.com</a> & <a href="http://www.qpattern.com" target="_blank" title="Webdesign">qpattern</a>|</p>
</div>
<?php if($this->countModules('footer')) : ?>
<include type="modules" name="footer"></include><?php endif; ?><div class="gotop"> <a href="#" class="gotoplink" title="go to top"></a></div>
</div>
</div>
</div>
<div class="clr"></div>
</div>
</div>
<include type="modules" name="debug" style="xhtml"></include><script type="text/javascript" src="templates/<?php%20echo%20%24this->template%20?>/js/jquery-1.4.2.min.js"></script><script type="text/javascript">
var $j = jQuery.noConflict();
</script><?php if (($this->params->get('showStyleswitcher')) !=0) : ?>
<script type="text/javascript" src="templates/<?php%20echo%20%24this->template%20?>/js/jq.css.switch.js"></script><?php endif;?><?php if (($this->params->get('useJavascript')) !=0) : ?>
<script type="text/javascript" src="templates/<?php%20echo%20%24this->template%20?>/js/jq.hover.js"></script><script type="text/javascript" src="templates/<?php%20echo%20%24this->template%20?>/js/jq.loadhover.js"></script><script type="text/javascript" src="templates/<?php%20echo%20%24this->template%20?>/js/jq.effects.js"></script><?php endif;?>
When I add the "<div class="freichathtml" id="freichathtml"> </div> " right before the </div>
I removed the unnecessary code you listed. I def overlooked that so ty. As far as the &amp;lt;head&amp;gt; &amp; &amp;lt;/head&amp;gt;, my template has no header html coding. I looked in my file directory in the html for the template I use and have (2) separate areas for the template php. It seems the header has its own section. One file is titled, &quot;head_includes.php&quot; and has the following code: &amp;lt;code&amp;gt; &amp;lt;head&amp;gt; &amp;lt;jdoc:include type=&quot;head&quot; /&amp;gt; &amp;lt;meta name=&quot;designer&quot; content=&quot;Juergen Koller - http://www.lernvid.com&quot; /&amp;gt; &amp;lt;meta name=&quot;licence&quot; content=&quot;Copyright LernVid.com - Creative Commons Sharalike 3.0&quot; /&amp;gt; &amp;lt;link href=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/css/reset.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;all&quot; /&amp;gt; &amp;lt;link href=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/css/template.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;all&quot; /&amp;gt; &amp;lt;link href=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/css/&amp;lt;?php echo $this-&amp;gt;params-&amp;gt;get(&#039;colorVariation&#039;); ?&amp;gt;.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;all&quot; /&amp;gt; &amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/css/colors1.css&quot; title=&quot;styles1&quot; media=&quot;screen&quot; /&amp;gt; &amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/css/colors2.css&quot; title=&quot;styles2&quot; media=&quot;screen&quot; /&amp;gt; &amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/css/colors3.css&quot; title=&quot;styles3&quot; media=&quot;screen&quot; /&amp;gt; &amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/css/colors4.css&quot; title=&quot;styles4&quot; media=&quot;screen&quot; /&amp;gt; &amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/css/colors5.css&quot; title=&quot;styles5&quot; media=&quot;screen&quot; /&amp;gt; &amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/css/colors6.css&quot; title=&quot;styles6&quot; media=&quot;screen&quot; /&amp;gt; &amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/css/colors7.css&quot; title=&quot;styles7&quot; media=&quot;screen&quot; /&amp;gt; &amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/css/colors8.css&quot; title=&quot;styles8&quot; media=&quot;screen&quot; /&amp;gt; &amp;lt;!--[if IE 7]&amp;gt; &amp;lt;link href=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/css/ie7.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;all&quot; /&amp;gt; &amp;lt;![endif]--&amp;gt; &amp;lt;!--[if lt IE 7]&amp;gt; &amp;lt;link href=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/css/ie5x6x.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;all&quot; /&amp;gt; &amp;lt;![endif]--&amp;gt; &amp;lt;/head&amp;gt; &amp;lt;?php if($this-&amp;gt;countModules(&quot;left&quot;)&amp;&amp;!$this-&amp;gt;countModules(&quot;right&quot;)){ $contentwidth=&quot;left&quot;;} if($this-&amp;gt;countModules(&quot;right&quot;)&amp;&amp;!$this-&amp;gt;countModules(&quot;left&quot;)){ $contentwidth=&quot;right&quot;;} if($this-&amp;gt;countModules(&quot;left&quot;)&amp;&amp;$this-&amp;gt;countModules(&quot;right&quot;)) {$contentwidth=&quot;middle&quot;; } ?&amp;gt; &amp;lt;/code&amp;gt; The other file is titled, &quot;index.php&quot; and contains the following code: &amp;lt;code&amp;gt; &amp;lt;?php defined( &#039;_JEXEC&#039; ) or die( &#039;Access to this location is RESTRICTED.&#039; ); echo &#039;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&#039;.&#039;&amp;gt;&#039;; ?&amp;gt; &amp;lt;?php $session = JSession::getInstance(&quot;none&quot;,array()); $ses=$session-&amp;gt;getId(); ?&amp;gt; &amp;lt;script type=&quot;text/javascript&quot; language=&quot;javascipt&quot; src=&quot;http://cyberdestruction.net/freichat/client/main.php?id=&amp;lt;?php echo $ses;?&amp;gt;&quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;http://cyberdestruction.net/freichat/client/jquery/freichat_themes/freichatcss.php&quot; type=&quot;text/css&quot;&amp;gt; &amp;lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&amp;gt; &amp;lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;&amp;lt;?php echo $this-&amp;gt;language; ?&amp;gt;&quot; lang=&quot;&amp;lt;?php echo $this-&amp;gt;language; ?&amp;gt;&quot; &amp;gt; &amp;lt;?php require(&quot;head_includes.php&quot;); ?&amp;gt; &amp;lt;body&amp;gt; &amp;lt;div class=&quot;freichathtml&quot; id=&quot;freichathtml&quot;&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;div id=&quot;bg_up&quot;&amp;gt; &amp;lt;?php if (($this-&amp;gt;params-&amp;gt;get(&#039;whatWidth&#039;)) ==dyn) : ?&amp;gt; &amp;lt;div id=&quot;wrapper&quot; style=&quot;max-width:&amp;lt;?php echo $this-&amp;gt;params-&amp;gt;get(&#039;pageMaxWidth&#039;);?&amp;gt;;&quot;&amp;gt; &amp;lt;?php endif;?&amp;gt; &amp;lt;?php if (($this-&amp;gt;params-&amp;gt;get(&#039;whatWidth&#039;)) ==fix) : ?&amp;gt; &amp;lt;div id=&quot;wrapper&quot; style=&quot;width:&amp;lt;?php echo $this-&amp;gt;params-&amp;gt;get(&#039;pageWidth&#039;);?&amp;gt;;&quot;&amp;gt; &amp;lt;?php endif;?&amp;gt; &amp;lt;div id=&quot;header_container&quot;&amp;gt; &amp;lt;div id=&quot;header&quot;&amp;gt; &amp;lt;?php if (($this-&amp;gt;params-&amp;gt;get(&#039;showLogo&#039;)) !=0) : ?&amp;gt; &amp;lt;div id=&quot;logo&quot;&amp;gt;&amp;lt;/div&amp;gt; &amp;lt;?php endif; ?&amp;gt; &amp;lt;?php if (($this-&amp;gt;params-&amp;gt;get(&#039;showSitetitle&#039;)) !=0) : ?&amp;gt; &amp;lt;a id=&quot;sitetitle&quot; style=&quot;color: #&amp;lt;?php echo $this-&amp;gt;params-&amp;gt;get(&#039;FontColor&#039;);?&amp;gt;; ; font-size:&amp;lt;?php echo $this-&amp;gt;params-&amp;gt;get(&#039;FontSize&#039;);?&amp;gt;px;&quot; href=&quot;&quot; class=&quot;mootips&quot; title=&quot;Go to Frontpage&quot;&amp;gt;&amp;lt;?php echo $mainframe-&amp;gt;getCfg(&#039;sitename&#039;);?&amp;gt;&amp;lt;/a&amp;gt; &amp;lt;?php endif; ?&amp;gt; &amp;lt;?php if (($this-&amp;gt;params-&amp;gt;get(&#039;showStyleswitcher&#039;)) !=0) : ?&amp;gt; &amp;lt;div id=&quot;styleswitcher&quot;&amp;gt; &amp;lt;noscript&amp;gt;Switcher needs Javascript enabled!&amp;lt;/noscript&amp;gt; &amp;lt;ul&amp;gt; &amp;lt;li&amp;gt;&amp;lt;a title=&quot;style 1&quot; href=&quot;index.php&quot; rel=&quot;styles1&quot; class=&quot;styleswitch&quot;&amp;gt;&amp;lt;img src=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/images/styles1.png&quot; alt=&quot;style 1&quot;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt; &amp;lt;li&amp;gt;&amp;lt;a title=&quot;style 2&quot; href=&quot;index.php&quot; rel=&quot;styles2&quot; class=&quot;styleswitch&quot;&amp;gt;&amp;lt;img src=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/images/styles2.png&quot; alt=&quot;style 2&quot;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt; &amp;lt;li&amp;gt;&amp;lt;a title=&quot;style 3&quot; href=&quot;index.php&quot; rel=&quot;styles3&quot; class=&quot;styleswitch&quot;&amp;gt;&amp;lt;img src=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/images/styles3.png&quot; alt=&quot;style 3&quot;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt; &amp;lt;li&amp;gt;&amp;lt;a title=&quot;style 4&quot; href=&quot;index.php&quot; rel=&quot;styles4&quot; class=&quot;styleswitch&quot;&amp;gt;&amp;lt;img src=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/images/styles4.png&quot; alt=&quot;style 4&quot;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt; &amp;lt;li&amp;gt;&amp;lt;a title=&quot;style 5&quot; href=&quot;index.php&quot; rel=&quot;styles5&quot; class=&quot;styleswitch&quot;&amp;gt;&amp;lt;img src=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/images/styles5.png&quot; alt=&quot;style 5&quot;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt; &amp;lt;li&amp;gt;&amp;lt;a title=&quot;style 6&quot; href=&quot;index.php&quot; rel=&quot;styles6&quot; class=&quot;styleswitch&quot;&amp;gt;&amp;lt;img src=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/images/styles6.png&quot; alt=&quot;style 6&quot;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt; &amp;lt;li&amp;gt;&amp;lt;a title=&quot;style 7&quot; href=&quot;index.php&quot; rel=&quot;styles7&quot; class=&quot;styleswitch&quot;&amp;gt;&amp;lt;img src=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/images/styles7.png&quot; alt=&quot;style 7&quot;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt; &amp;lt;li&amp;gt;&amp;lt;a title=&quot;style 8&quot; href=&quot;index.php&quot; rel=&quot;styles8&quot; class=&quot;styleswitch&quot;&amp;gt;&amp;lt;img src=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/images/styles8.png&quot; alt=&quot;style 8&quot;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt; &amp;lt;/ul&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;?php endif;?&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;div id=&quot;oben&quot;&amp;gt; &amp;lt;?php if($this-&amp;gt;countModules(&#039;user3&#039;)) : ?&amp;gt; &amp;lt;div id=&quot;navigation&quot;&amp;gt; &amp;lt;jdoc:include type=&quot;modules&quot; name=&quot;user3&quot; style=&quot;xhtml&quot; /&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;?php endif; ?&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;div id=&quot;container&quot;&amp;gt; &amp;lt;div id=&quot;content_up_outer&quot;&amp;gt; &amp;lt;div id=&quot;content_up&quot;&amp;gt; &amp;lt;div id=&quot;content_up_left&quot;&amp;gt; &amp;lt;?php if($this-&amp;gt;countModules(&#039;breadcrumb&#039;)) : ?&amp;gt; &amp;lt;div id=&quot;breadcrumbs&quot;&amp;gt; &amp;lt;div id=&quot;breadcrumbs_left&quot;&amp;gt; &amp;lt;jdoc:include type=&quot;module&quot; name=&quot;breadcrumbs&quot; /&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;div id=&quot;breadcrumbs_right&quot;&amp;gt;&amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;?php endif; ?&amp;gt; &amp;lt;div id=&quot;content_up_right&quot;&amp;gt; &amp;lt;?php if($this-&amp;gt;countModules(&#039;user4&#039;)) : ?&amp;gt; &amp;lt;div id=&quot;search&quot;&amp;gt; &amp;lt;div id=&quot;search_inner&quot;&amp;gt; &amp;lt;jdoc:include type=&quot;modules&quot; name=&quot;user4&quot; style=&quot;xhtml&quot; /&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;?php endif; ?&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;div align=&quot;center&quot;&amp;gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&amp;lt;!-- google_ad_client = &quot;ca-pub-4701041963423093&quot;; /* [CD] Header 728x92 */ google_ad_slot = &quot;3703112699&quot;; google_ad_width = 728; google_ad_height = 90; //--&amp;gt; &amp;lt;/script&amp;gt; &amp;lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&amp;gt; &amp;lt;/script&amp;gt;&amp;lt;/div&amp;gt; &amp;lt;?php if($this-&amp;gt;countModules(&#039;user5 or user6 or user7&#039;)) : ?&amp;gt; &amp;lt;div id=&quot;user_modules1&quot;&amp;gt; &amp;lt;?php if($this-&amp;gt;countModules(&#039;user5&#039;)) : ?&amp;gt; &amp;lt;div id=&quot;user5&quot;&amp;gt; &amp;lt;jdoc:include type=&quot;modules&quot; name=&quot;user5&quot; style=&quot;xhtml&quot; /&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;?php endif; ?&amp;gt; &amp;lt;?php if($this-&amp;gt;countModules(&#039;user6&#039;)) : ?&amp;gt; &amp;lt;div id=&quot;user6&quot;&amp;gt; &amp;lt;jdoc:include type=&quot;modules&quot; name=&quot;user6&quot; style=&quot;xhtml&quot; /&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;?php endif; ?&amp;gt; &amp;lt;?php if($this-&amp;gt;countModules(&#039;user7&#039;)) : ?&amp;gt; &amp;lt;div id=&quot;user7&quot;&amp;gt; &amp;lt;jdoc:include type=&quot;modules&quot; name=&quot;user7&quot; style=&quot;xhtml&quot; /&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;?php endif; ?&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;?php endif; ?&amp;gt; &amp;lt;?php if($this-&amp;gt;countModules(&#039;top&#039;)) : ?&amp;gt; &amp;lt;div id=&quot;top&quot;&amp;gt; &amp;lt;jdoc:include type=&quot;modules&quot; name=&quot;top&quot; style=&quot;xhtml&quot; /&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;?php endif; ?&amp;gt; &amp;lt;?php if($this-&amp;gt;countModules(&#039;left&#039;)) : ?&amp;gt; &amp;lt;div id=&quot;sidebar_left&quot;&amp;gt; &amp;lt;jdoc:include type=&quot;modules&quot; name=&quot;left&quot; style=&quot;rounded&quot; /&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;?php endif; ?&amp;gt; &amp;lt;?php if($this-&amp;gt;countModules(&#039;right&#039;)) : ?&amp;gt; &amp;lt;div id=&quot;sidebar_right&quot;&amp;gt; &amp;lt;jdoc:include type=&quot;modules&quot; name=&quot;right&quot; style=&quot;rounded&quot; /&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;?php endif; ?&amp;gt; &amp;lt;div id=&quot;content_out&amp;lt;?php echo $contentwidth; ?&amp;gt;&quot;&amp;gt; &amp;lt;div id=&quot;content&quot;&amp;gt; &amp;lt;jdoc:include type=&quot;message&quot; /&amp;gt; &amp;lt;jdoc:include type=&quot;component&quot; /&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;div class=&quot;clr&quot;&amp;gt;&amp;lt;/div&amp;gt; &amp;lt;div id=&quot;content_down&quot;&amp;gt; &amp;lt;div id=&quot;content_down_left&quot;&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;div id=&quot;container2&quot;&amp;gt; &amp;lt;?php if($this-&amp;gt;countModules(&#039;user1 or user2&#039;)) : ?&amp;gt; &amp;lt;div id=&quot;user_modules2&quot;&amp;gt; &amp;lt;?php if($this-&amp;gt;countModules(&#039;user1&#039;)) : ?&amp;gt; &amp;lt;div id=&quot;user1&quot;&amp;gt; &amp;lt;jdoc:include type=&quot;modules&quot; name=&quot;user1&quot; style=&quot;xhtml&quot; /&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;?php endif; ?&amp;gt; &amp;lt;?php if($this-&amp;gt;countModules(&#039;user2&#039;)) : ?&amp;gt; &amp;lt;div id=&quot;user2&quot;&amp;gt; &amp;lt;jdoc:include type=&quot;modules&quot; name=&quot;user2&quot; style=&quot;xhtml&quot; /&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;?php endif; ?&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;?php endif; ?&amp;gt; &amp;lt;div class=&quot;clr&quot;&amp;gt;&amp;lt;/div&amp;gt; &amp;lt;div id=&quot;footer&quot;&amp;gt; &amp;lt;div id=&quot;date&quot;&amp;gt;&amp;lt;p&amp;gt;&amp;lt;?php echo JHTML::Date($this-&amp;gt;date_field, &quot;%A, %d. %B %Y&quot;); ?&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt; &amp;lt;!-- It is Not allowed to delete the Backlink to the autors! --&amp;gt; &amp;lt;div id=&quot;copyright_info&quot;&amp;gt; &amp;lt;p&amp;gt;| Copyright &amp;lt;strong&amp;gt;&amp;lt;?php echo JHTML::Date($this-&amp;gt;date_field, &quot;%Y&quot;); ?&amp;gt;&amp;lt;/strong&amp;gt; | &amp;lt;strong&amp;gt;&amp;lt;?php echo $mainframe-&amp;gt;getCfg(&#039;sitename&#039;);?&amp;gt;&amp;lt;/strong&amp;gt; | Design &amp;copy; &amp;lt;a href=&quot;http://www.lernvid.com&quot; target=&quot;_blank&quot; title=&quot;Templates&quot;&amp;gt;LernVid.com&amp;lt;/a&amp;gt; &amp;amp; &amp;lt;a href=&quot;http://www.qpattern.com&quot; target=&quot;_blank&quot; title=&quot;Webdesign&quot;&amp;gt;qpattern&amp;lt;/a&amp;gt;|&amp;lt;/p&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;?php if($this-&amp;gt;countModules(&#039;footer&#039;)) : ?&amp;gt; &amp;lt;jdoc:include type=&quot;modules&quot; name=&quot;footer&quot; /&amp;gt; &amp;lt;?php endif; ?&amp;gt; &amp;lt;div class=&quot;gotop&quot;&amp;gt; &amp;lt;a href=&quot;#&quot; class=&quot;gotoplink&quot; title=&quot;go to top&quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;div class=&quot;clr&quot;&amp;gt;&amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;jdoc:include type=&quot;modules&quot; name=&quot;debug&quot; style=&quot;xhtml&quot; /&amp;gt; &amp;lt;script type=&quot;text/javascript&quot; src=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/js/jquery-1.4.2.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;script type=&quot;text/javascript&quot;&amp;gt; var $j = jQuery.noConflict(); &amp;lt;/script&amp;gt; &amp;lt;?php if (($this-&amp;gt;params-&amp;gt;get(&#039;showStyleswitcher&#039;)) !=0) : ?&amp;gt; &amp;lt;script type=&quot;text/javascript&quot; src=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/js/jq.css.switch.js&quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;?php endif;?&amp;gt; &amp;lt;?php if (($this-&amp;gt;params-&amp;gt;get(&#039;useJavascript&#039;)) !=0) : ?&amp;gt; &amp;lt;script type=&quot;text/javascript&quot; src=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/js/jq.hover.js&quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;script type=&quot;text/javascript&quot; src=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/js/jq.loadhover.js&quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;script type=&quot;text/javascript&quot; src=&quot;templates/&amp;lt;?php echo $this-&amp;gt;template ?&amp;gt;/js/jq.effects.js&quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;?php endif;?&amp;gt; &amp;lt;/body&amp;gt; &amp;lt;/html&amp;gt; &amp;lt;/code&amp;gt; When I add the &quot;&amp;lt;div class=&quot;freichathtml&quot; id=&quot;freichathtml&quot;&amp;gt; &amp;lt;/div&amp;gt; &quot; right before the &amp;lt;/body&amp;gt; tag instead of right after the &amp;lt;body&amp;gt; I get a fatal error that says, &quot;[a fatal error or timeout occurred while processing this directive]&quot;. When I add it right after the &amp;lt;body&amp;gt; it gives no error message after saving the changes though. I also tried adding the code to the &quot;head_includes.php&quot; instead and still had the same results so far. Thank you for your attention. I await further instructions :)

the #2nd piece of code looks perfect
the #1st piece of code is still in the wrong place.

insert it in head_includes.php
so it should look as follows,

#1st piece of code


I think your template is causing the trouble, try switching the template after you have made the above changes.

the #2nd piece of code looks perfect the #1st piece of code is still in the wrong place. insert it in head_includes.php so it should look as follows, &amp;lt;code&amp;gt; &amp;lt;head&amp;gt; #1st piece of code &amp;lt;/code&amp;gt; I think your template is causing the trouble, try switching the template after you have made the above changes.
Necessity is the mother of all inventions!
117
5
0
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft