TinyPortal

Development => Support => Topic started by: Gav-Aus on November 14, 2011, 06:12:44 AM

Title: Web Site Width [Needing 100%]
Post by: Gav-Aus on November 14, 2011, 06:12:44 AM
Link to my site: austeamracing.com
SMF version: 1.1.15
TP version: TinyPortal v1.0 RC2 for SMF1.1.x.
Default Forum Language: English
Theme name and version: Nascar08
Browser Name and Version: Explorer and Firefox
Mods installed: Too many to list, but they all seem to be working
Related Error messages:

Hi Guys

I’m sure this has been raised in the past however after some long searches I was unable to find the answer I need, the closest however being the following:

http://www.tinyportal.net/index.php?topic=28619.msg227831#msg227831

Sorry guys but I’ve been out of the scene for about three years after a small stroke however am now getting back in to things once again, part of that was to see if TP had any upgrades as I was running V1.0 Beta 4. I completed the upgrade using TinyPortal 1RC1_1 then installed the Upgrading TinyPortal v1.0 RC2 for SMF1.1.x.

We run SMF 1.1.15 and I would love for new visitors to be able to see a 100% wide site however right now as you will see when visiting the site, I have tried to change the site width yet it still shows the same size.

I have seen the buttons at the top right to open column however I would prefer the site / forum size to stay at 100%

Thanks so much

Regards
Gavin
Title: Re: Web Site Width [Needing 100%]
Post by: lurkalot on November 14, 2011, 08:57:32 AM
Hi Gav-Aus

I'm not familiar with that theme, I'm assuming it's a custom one Bloc built for you, or one that you have modded??   A couple of things though. 

Does the theme have its own built in panels? (a lot of Bloc's themes do)  and are these the ones you are using?   Or are you using Tinyportal panels?   

It's just that you seem to have two panels running either side of your site.  If you use the collapse buttons top right the side blocks don't actually disappear, they just shift outwards. In other words when you shrink the left panel, the side blocks move in to the space.  It looks like you have two extra empty side panels, and when they are active they push the forum in to fit the space left over.  If you see what I mean. ;)
Title: Re: Web Site Width [Needing 100%]
Post by: WillyP on November 14, 2011, 03:26:08 PM
It does in fact say 'by Bloc' in the footer, I would ask him for assistance on his site.
Title: Re: Web Site Width [Needing 100%]
Post by: IchBin on November 14, 2011, 04:51:04 PM
It looks to me like you still have the left and right columns enabled, but don't have any blocks turned on or something. If you notice you can shrink the columns with the arrows at the top right of your theme. You need to turn off the panels if you want the dead space to go away on the right and left of your page.

ETA:
Some how I missed what Lurk had said... sorry for the repeat! lol
Title: Re: Web Site Width [Needing 100%]
Post by: Gav-Aus on November 14, 2011, 11:43:34 PM
Hello WillyP

Thank for your reply, the Theme was a purchased one made by Bloc and was standard as one of his already built. The panels are being used through TP Admin the Theme does not have its own built in panels and has been working for sometime without concerns using TP V1.0 Beta 4 however the issues being found would be due to the TP Upgrade as this has only come about from that not the theme.

I feel it may be a switch I need to check but can’t locate one, as mentioned I did use the arrows so when I go to the site all is ok however when visitors or those not familial with this option come it makes the site / forums look a tad out, I would prefer it was set to 100% wide with the option to switch that off for example.


Hi IchBin,

Should I now turn off Left / Right blocks? If I turn off the panels will that not show the blocks I’ve got set? Appreciate your suggestion and will take a look to see what I can find.

Thanks again gents :)


What I have now found is that the blocks I ahve set up (and operating prior to upgrade) are now showing a blank reply, these are the menus setup in the artical section of TP, so this would also be a new issue for me.
Title: Re: Web Site Width [Needing 100%]
Post by: IchBin on November 15, 2011, 02:28:51 AM
What do you mean the blocks show a blank reply? I don't understand that statement.

I do know there's an issue with the blocks display settings getting reset from upgrades between SMF1 and SMF2. All you need to do is go into each block and set where you want it to display. If you want the forum to be full width on the front page, go into the TP Admin > Settings > Front page and turn the panels off for the front page only. The blocks and panels will still show throughout the rest of the forum, just not on the front page.
Title: Re: Web Site Width [Needing 100%]
Post by: Gav-Aus on November 15, 2011, 06:04:39 AM
I’m sorry InchBin I can be a tad hard to understand these days.

Prior to my upgrade from Tinyportals all areas were working without issues or concerns, however now that I have upgraded Tinyportal these are the two issues I now face:

1) The width

I would love for my boards for all users and visitors to be at 100% however even when the setting under the admin section TP Admin General Settings where the section “Set fixed Width” is set at nero (0) the whole sit need to be adjusted by using the top right arrow buttons.

2) The blocks

They went all funny, yes some needed to be reset and now work however the second Article block is not working right, I have added some images to show this but if you look at the front page you will find a couple of blocks one named MENU the other named MEMBERS INFO. After some fine tuning I was able to get the article working to a point in the MENU block where they now showed up however under the MEMBERS INFO block these have been reviewed yet when you select the link the site provides nothing where their used to be information. The issue I have also noticed is if I went in to the article to make corrections I was required to re add the title again otherwise it would vanish on the block and when I do save it still disappears on upon saving however will show in the block again until next time I review / edit the article.

Again I’m sorry if this doesn’t make sense and it is easier to so would it be worthwhile for me to return the system back to Tinyportal V1.0 Beta 4, not sure how hard this would be but it would save you guys having to get too involved in my site?

Sorry this board wont allow links, images or attachements form the look ot it.
Title: Re: Web Site Width [Needing 100%]
Post by: Gav-Aus on November 15, 2011, 06:23:47 AM
Sorry I neglected to mentioned that the second block (MEMBERS INFO) is only viewable once you ahve registered, if your ok with it I'm happy to set you up as a user and administrator if this suits or you would be happy to look? Just PM me if so.

Thanks
Title: Re: Web Site Width [Needing 100%]
Post by: WillyP on November 15, 2011, 11:54:00 AM
The forum is setup so you need a certain number of posts in order to post links, attachments, etc. IIRC, you need 5 posts, but I could be wrong.

Anyway, I think you are using a theme that was meant to be used with an older version of TP. Early versions of TP needed special themes.
Also some blocks will need to be updated for the newer version of TP too, if they are using custom code.
Title: Re: Web Site Width [Needing 100%]
Post by: lurkalot on November 16, 2011, 09:53:31 AM
Quote from: WillyP on November 15, 2011, 11:54:00 AM
Anyway, I think you are using a theme that was meant to be used with an older version of TP. Early versions of TP needed special themes.


I see the old invisibility spray is still working.  Might get some more for Xmas.  ;)

WillyP, I would have said the same if it wasn't for the fact the op was already using TP1.0 beta 4 before upgrading..  That version didn't need a special theme either, or did it? 

Title: Re: Web Site Width [Needing 100%]
Post by: WillyP on November 16, 2011, 12:30:43 PM
Dunno, but I think if it were me I would try a different theme to see if that was the problem.
Title: Re: Web Site Width [Needing 100%]
Post by: Gav-Aus on November 16, 2011, 11:33:56 PM
Hi Guys,

I did try a different theme (including the standard SMF theme) but the issue still remains, and yes I didn't ahve these issues when using the older TP version.

I would be happy to consider purchasing a new theme if that would help but even tho I'm not that good with code, themes and software I still feel it is a TP upgrane issue or I've missed somthing in the switching.
Title: Re: Web Site Width [Needing 100%]
Post by: lurkalot on November 16, 2011, 11:46:30 PM
Quote from: Gav-Aus on November 16, 2011, 11:33:56 PM
Hi Guys,

I would be happy to consider purchasing a new theme if that would help but even tho I'm not that good with code, themes and software I still feel it is a TP upgrane issue or I've missed somthing in the switching.

If it's doing the same with the default theme, then I doubt it's a theme issue.  A setting in the theme maybe.  I think someone's ging to need a login and take look around.   See if you can send me a PM (not sure if the permissions allow this atm) with a admin test account please.
Title: Re: Web Site Width [Needing 100%]
Post by: Lesmond on November 17, 2011, 12:11:54 AM
Its 5 post to send PM's Mick, so he should be OK
Title: Re: Web Site Width [Needing 100%]
Post by: Gav-Aus on November 17, 2011, 01:34:48 AM
Thank you Lurkalot I have sent a PM for you.

If this does get sorted I'm still keen to look at another theme, and happy to purchase, the one I have is great but I think it is time to make a change, still related to motor racing tho "lol"
Title: Re: Web Site Width [Needing 100%]
Post by: lurkalot on November 17, 2011, 07:58:33 AM
Quote from: ©Lesmond on November 17, 2011, 12:11:54 AM
Its 5 post to send PM's Mick, so he should be OK

Thanks Les.  Often wondered what the post based limit was.for PM's now I know.  O0

@ Gav

Just had a very quick look, and I think I've fixed the width problem.  I've attached a screengrab of the theme setting that caused your problem.  I just had to un-tick the box as it's not required. .  ;)

Let me know if it's OK.  then we'll take a look at the other problem you mentioned.
Title: Re: Web Site Width [Needing 100%]
Post by: Gav-Aus on November 17, 2011, 08:26:52 AM
Gezz, thanks Larkalot,

That is fine the width looks great and no adjustment needed as a visitor either
Title: Re: Web Site Width [Needing 100%]
Post by: Gav-Aus on November 22, 2011, 12:13:49 AM
I would like to pass a huge thank you over to Larkalot who has been a brilliant help in assisting to sort out my issues. He has worked on and off on this for a number of days and also had IchBin pop his head in. Between them both a few bugs had been noticed and new files provided (I’ll drop those in my site tonight), even if this does not correct my issue the support from these guys has been fantastic. I offered to pay for the service and assistance however it was not needed so instead I’ll drop a donation to Tiny Portals and would recommended other do the same if they are in a position to be able too.

Thanks again guys, even it this fix don’t fix ”lol” your time and efforts are very much appreciated.

Thank You
Title: Re: Web Site Width [Needing 100%]
Post by: IchBin on November 22, 2011, 04:55:36 PM
Yeah, I made some big changes when I converted all the database queries for TP for SMF2. Many of these changes caused a lot of problems. So we are glad to help. lol

Hopefully the next release will fix the majority of these issues. I hope everything works for you. Post back if you have more problems.
Title: Re: Web Site Width [Needing 100%]
Post by: lurkalot on November 22, 2011, 05:11:54 PM
Quote from: IchBinâ,,¢ on November 22, 2011, 04:55:36 PM

I hope everything works for you. Post back if you have more problems
.

Well actually, now you mention it.  >:D   I sent Gav the zip you posted with all the fixes for the article titles etc.  It seems to have stopped the titles disappearing, but the articles are still coming up blank.  There is however loads of new errors in the log now.

like,

Quote
http://austeamracing.com/index.php?page=16 
2: Invalid argument supplied for foreach()
File: /home/auste6/public_html/Themes/default/TPortal.template.php (main_above sub template - eval?)
Line: 621

Title: Re: Web Site Width [Needing 100%]
Post by: IchBin on November 22, 2011, 06:00:33 PM
Is that still associated with the undefined index - allow_admin error?
Title: Re: Web Site Width [Needing 100%]
Post by: lurkalot on November 22, 2011, 06:18:31 PM
Dunno Brad. 

I searched for the fix as you suggested to me, and came across a zip you posted here, http://www.tinyportal.net/index.php?topic=34077.msg272607#msg272607 which I asked Gav to unzip and replace the files it contained.  This seems to have fixed the titles issue.  Can't see the allow_admin error in the log now.  Just a load of these other ones.
Title: Re: Web Site Width [Needing 100%]
Post by: IchBin on November 22, 2011, 09:49:12 PM
You'll need to turn off template eval in order to get a more precise error. I don't think there are even 600+ lines in the TPortal.template.php file.
Title: Re: Web Site Width [Needing 100%]
Post by: lurkalot on November 22, 2011, 10:04:06 PM
I was afraid you were going to say that, lol..  SMF1 doesn't have that setting built in,   I haven't a clue how to do it now, been nearly a year using SMF2  :-[
Title: Re: Web Site Width [Needing 100%]
Post by: Freddy on November 22, 2011, 10:18:55 PM
How to Enable/Disable eval() (http://www.simplemachines.org/community/index.php?topic=290186.0)

I think that's the info you need matey.
Title: Re: Web Site Width [Needing 100%]
Post by: lurkalot on November 22, 2011, 10:29:25 PM
Thanks, I remeber doing that on my old site. 

For now though, I just uploaded and activated this mod.  http://custom.simplemachines.org/mods/index.php?mod=2054

Errors are  same different now as far as I can see,   ;)


http://austeamracing.com/index.php?page=Drivers List
2: Invalid argument supplied for foreach()
File: /home/auste6/public_html/Themes/nascar08_11/index.template.php
Line: 621

http://austeamracing.com/index.php?page=15
2: Invalid argument supplied for foreach()
File: /home/auste6/public_html/Themes/nascar08_11/index.template.php
Line: 621

http://austeamracing.com/index.php?page=Penalty System
2: Invalid argument supplied for foreach()
File: /home/auste6/public_html/Themes/nascar08_11/index.template.php
Line: 621

http://austeamracing.com/index.php?page=16
2: Invalid argument supplied for foreach()
File: /home/auste6/public_html/Themes/nascar08_11/index.template.php
Line: 621



Title: Re: Web Site Width [Needing 100%]
Post by: IchBin on November 22, 2011, 10:55:54 PM
Now just post what is in the code on that line number of the theme.
Title: Re: Web Site Width [Needing 100%]
Post by: lurkalot on November 22, 2011, 11:03:36 PM
Brad, I don't have server access, but this is from current theme index line starting 112 to 490, if that's any use.  Might be a theme issue with the built in menu editor perhaps?


// If we're in a board, or a topic for that matter, the index will be the board's index.
   if (!empty($context['current_board']))
      echo '
   <link rel="index" href="' . $scripturl . '?board=' . $context['current_board'] . '.0" />';

      // We'll have to use the cookie to remember the header...
   if ($context['user']['is_guest'])
      $options['collapse_header'] = !empty($_COOKIE['upshrink']);

   // and the fontsise
   if ($context['user']['is_guest'])
      $options['myfontsize'] = !empty($_COOKIE['myfontsize']) ? $_COOKIE['myfontsize'] : '90';

   // set fontsize from user choice


   // My addition

   $dir = $settings['theme_dir'] . "/images/banner_images/";

   if (is_dir($dir)) { 
      $fd = opendir($dir); 
        $images = array();

       while (($part = @readdir($fd)) == true) { 
            clearstatcache();
             if ( eregi("(gif|jpg|png|jpeg)$",$part) ) {
                 $images[] = $part;
             }
         }

    // Be sure to call srand() once per script
       srand ((double) microtime() * 1000000);
       $key = rand (0,sizeof($images)-1);

      if (sizeof($images) > 0) {
         $background_image = "/images/banner_images/" . $images[$key];
      }
      else
       // no images in the my_images directory, so use forum default
          $background_image = "/images/backgrounds/background_picture.jpg";

     } else { 
   // no my_images directory exists, so use forum default
         $background_image = "/images/backgrounds/background_picture.jpg";
     }
   // End of my addition

   echo '
   <style type="text/css">
      #mainframe
      {
         width: ' , !empty($settings['forumwidth']) ? $settings['forumwidth'] : '98%', ';
         font-size: ' , !empty($options['myfontsize']) ? $options['myfontsize'] : '90', '%;
      }
      #topframe
      {
         background: url(' . $settings['theme_url'] , !empty($settings['backgroundpic']) ? $settings['backgroundpic'] : $background_image , ') no-repeat;
      }
   </style>';

// *******************
// if we are in boardindex...
   if(empty($options['showcat']) && !empty($context['categories']))
   {
      // fetch the first category
         $first=true;
         foreach ($context['categories'] as $category)
         {
            if($first)
               $options['showcat']=$category['id'];
            $first=false;
         }
   }

// Output any remaining HTML headers. (from mods, maybe?)
   echo $context['html_headers'], '
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="' , $settings['theme_url'] , '/pngfix.js"></script>
<![endif]-->';

   echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
                var myfontsize = ', empty($options['myfontsize']) ? '\'90\'' : '\'' . $options['myfontsize']. '\'' , ';
                function setfontsize(size)
                {';

        // Guests don't have theme options!!
        if ($context['user']['is_guest'])
                echo '
                        document.cookie = "myfontsize=" + size';
        else
                echo '
                        smf_setThemeOption("myfontsize", size , null, "', $context['session_id'], '");';
        echo '
                  document.getElementById("mainframe").style.fontSize = size + "%";
                  document.getElementById("font80").src = smf_images_url + ( size==\'80\' ? "/font80b.gif" : "/font80.gif");
                        document.getElementById("font90").src = smf_images_url + ( size==\'90\' ? "/font90b.gif" : "/font90.gif");
                        document.getElementById("font120").src = smf_images_url + ( size==\'120\' ? "/font120b.gif" : "/font120.gif");
                        document.getElementById("font140").src = smf_images_url + ( size==\'140\' ? "/font140b.gif" : "/font140.gif");
                        document.getElementById("font160").src = smf_images_url + ( size==\'160\' ? "/font160b.gif" : "/font160.gif");
                        myfontsize = size;
                }
          // ]]></script>
     <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
                var current_cat = ', empty($options['showcat']) ? '1' : $options['showcat'] , ';

                function showcat(mode)
                {';

        // Guests don't have theme options!!
        if ($context['user']['is_guest'])
                echo '
                        document.cookie = "showcat=" + mode;';
        else
                echo '
                        smf_setThemeOption("showcat", mode, null, "', $context['session_id'], '");';

        echo '
                        document.getElementById("cat" + mode).style.display = "";
                  document.getElementById("cattab" + mode).className =  \'chosen\';

                  if (current_cat != mode)
                  {
                     document.getElementById("cat" + current_cat).style.display = "none";
                     document.getElementById("cattab" + current_cat).className = \'\';
                  }
                  current_cat = mode;
                }
               
        // ]]></script>
        <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
                var current_leftbar = ', empty($options['collapse_leftbar']) ? 'false' : 'true', ';

                function shrinkHeaderLeftbar(mode)
                {';

        // Guests don't have theme options!!
        if ($context['user']['is_guest'])
                echo '
                        document.cookie = "upshrink=" + (mode ? 1 : 0);';
        else
                echo '
                        smf_setThemeOption("collapse_leftbar", mode ? 1 : 0, null, "', $context['session_id'], '");';
        echo '
                        document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

                        document.getElementById("leftbarHeader").style.display = mode ? "none" : "";

                        current_leftbar = mode;
                }
          // ]]></script>
       <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
                var current_rightbar = ', empty($options['collapse_rightbar']) ? 'false' : 'true', ';

                function shrinkHeaderRightbar(mode)
                {';

        // Guests don't have theme options!!
        if ($context['user']['is_guest'])
                echo '
                        document.cookie = "upshrink=" + (mode ? 1 : 0);';
        else
                echo '
                        smf_setThemeOption("collapse_rightbar", mode ? 1 : 0, null, "', $context['session_id'], '");';

        echo '
                        document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

                        document.getElementById("rightbarHeader").style.display = mode ? "none" : "";

                        current_rightbar = mode;
                }
        // ]]></script>

   <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
      var current_header = ', empty($options['collapse_header']) ? 'false' : 'true', ';

      function shrinkHeader(mode)
      {';

   // Guests don't have theme options!!
   if ($context['user']['is_guest'])
      echo '
         document.cookie = "upshrink=" + (mode ? 1 : 0);';
   else
      echo '
         smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "', $context['session_id'], '");';

   echo '
         document.getElementById("upshrinkHeader").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");
         document.getElementById("myuser").style.display = mode ? "none" : "";
         current_header = mode;
      }
   // ]]></script>';

   // the routine for the info center upshrink
   echo '
      <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
         var current_header_ic = ', empty($options['collapse_header_ic']) ? 'false' : 'true', ';

         function shrinkHeaderIC(mode)
         {';

   if ($context['user']['is_guest'])
      echo '
            document.cookie = "upshrinkIC=" + (mode ? 1 : 0);';
   else
      echo '
            smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, null, "', $context['session_id'], '");';

   echo '
            document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse.gif");

            document.getElementById("upshrinkHeaderIC").style.display = mode ? "none" : "";

            current_header_ic = mode;
         }
      // ]]></script>
</head>
<body>';

   //Display ads on the top of the page
   if (function_exists("show_topofpageAds"))
    {
      $ads = show_topofpageAds();   
      if(!empty($ads))
         if($ads['type']==0)
            echo $ads['content'];
         else
            eval($ads['content']);   
      unset($ads);
    }
   
   // check for some mods if they are indeed loaded :P
   checkmods();
   
   echo '
<div id="mainframe">
   <div id="topframe">
      <div id="fontsize-controls">
         <a href="javascript:void(0);" onclick="setfontsize(\'80\'); return false;"><img id="font80" src="', $settings['images_url'], '/', $options['myfontsize']=='80' ? 'font80b.gif' : 'font80.gif', '" alt=""  /></a>
         <a href="javascript:void(0);" onclick="setfontsize(\'90\'); return false;"><img id="font90" src="', $settings['images_url'], '/', $options['myfontsize']=='90' ? 'font90b.gif' : 'font90.gif', '" alt=""  /></a>
         <a href="javascript:void(0);" onclick="setfontsize(\'120\'); return false;"><img id="font120" src="', $settings['images_url'], '/', $options['myfontsize']=='120' ? 'font120b.gif' : 'font120.gif', '" alt=""  /></a>
         <a href="javascript:void(0);" onclick="setfontsize(\'140\'); return false;"><img id="font140" src="', $settings['images_url'], '/', $options['myfontsize']=='140' ? 'font140b.gif' : 'font140.gif', '" alt=""  /></a>
         <a href="javascript:void(0);" onclick="setfontsize(\'160\'); return false;"><img id="font160" src="', $settings['images_url'], '/', $options['myfontsize']=='160' ? 'font160b.gif' : 'font160.gif', '" alt=""  /></a>&nbsp;&nbsp;';
   if(!empty($settings['use_tp']))
   {
   // TinyPortal
      if($context['TPortal']['leftbar'] || (isset($context['TPortal']['leftpanel']) && $context['TPortal']['leftpanel']==1))
         echo '
            <a href="javascript:void(0);" onclick="shrinkHeaderLeftbar(!current_leftbar); return false;"><img id="upshrinkLeftbar" src="', $settings['images_url'], '/', empty($options['collapse_leftbar']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '"  border="0" /></a><img id="upshrinkTempLeftbar" src="', $settings['images_url'], '/blank.gif" alt="" style="margin-right: 0ex;" />';
      if($context['TPortal']['rightbar'] || (isset($context['TPortal']['rightpanel']) && $context['TPortal']['rightpanel'])==1)
         echo '
            <a href="javascript:void(0);" onclick="shrinkHeaderRightbar(!current_rightbar); return false;"><img id="upshrinkRightbar" src="', $settings['images_url'], '/', empty($options['collapse_rightbar']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" border="0" /></a><img id="upshrinkTempRightbar" src="', $settings['images_url'], '/blank.gif" alt="" style="margin-right: 0ex;" />';
   }
   
   
   echo '
         <form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0;padding: 0;">
            <input type="text" name="search"  value=""  />
            <input type="submit" name="submit" value="', $txt[182], '"  />
            <input type="hidden" name="advanced" value="0" />';

   // Search within current topic?
   if (!empty($context['current_topic']))
      echo '
            <input type="hidden" name="topic" value="', $context['current_topic'], '" />';

   // If we're on a certain board, limit it to this board ;).
   elseif (!empty($context['current_board']))
      echo '
            <input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';
   echo '
         </form>
      </div>
      <a href="' . $scripturl . '"><img style="margin: 20px 0 0 30px;" alt="' . $context['forum_name'] . '" src="' . $settings['images_url'] . '/img/logo.png" /></a>
   ' , !empty($settings['use_oldmenu']) ? template_menu_old() : template_menu();

   //Below the menu ads
   if (function_exists("show_indexAds") && function_exists("show_towerleftAds") && function_exists("show_towerrightAds"))
   {
      $ads = show_indexAds();   
      if(!empty($ads))
         if($ads['type']==0)
            echo $ads['content'];
         else
            eval($ads['content']);
      unset($ads);

      //Tower left Ads
      $ads = show_towerleftAds();
      if(!empty($ads))
         echo '<table><tr><td valign="top">', $ads['type']==0 ? $ads['content'] : eval($ads['content']) ,'</td><td width="100%" valign="top">';

      unset($ads);
      //Tower Right Ads
      $ads = show_towerrightAds();   
      if(!empty($ads))
         echo '<table><tr><td width="100%" valign="top">';
      unset($ads);
   }
   echo '
   </div>';
   
   theme_linktree2();

   echo '   
   <div id="bodyarea2">';

   tpcode();
}

Title: Re: Web Site Width [Needing 100%]
Post by: Gav-Aus on November 29, 2011, 03:01:57 AM
Just finished relocating the site to a new host, all has gone well however I need to now wait until the internet has populated since the DNS change :)

Reviewing the issues noted (width is sorted) the same problems are there so I'll now wait until the next version of TP comes out and see if this fixes things.

Cheers
Guys
Title: Re: Web Site Width [Needing 100%]
Post by: Gav-Aus on May 20, 2013, 08:49:37 AM
Hello guys  ;D

Back again "lol"

I may have missed it but was any new files or upgrades down for TP. My second issue is still alive and I'm keen to put this to bed.
Title: Re: Web Site Width [Needing 100%]
Post by: IchBin on May 20, 2013, 08:38:10 PM
Not sure I follow. You asking if files for TP upgrades have been not available? Nothing has changed since TP 1.0 release if that's what you're asking.

Also, we'd appreciated it if you wouldn't revive a thread that is 2 years old. It's perfectly fine if you want to create a new topic, and reference any other topics that you think relate to your problem. It would help if you stated exactly what the problem is instead of making us go back and read two pages of posts to try to understand where you are at with your problem.
Title: Re: Web Site Width [Needing 100%]
Post by: Gav-Aus on May 21, 2013, 07:26:48 AM
Sorry Brad

Most forum owners ask ppl to search before posting etc. Just thought it would be easier. 8)
Title: Re: Web Site Width [Needing 100%]
Post by: IchBin on May 21, 2013, 09:45:17 PM
Didn't mean to come off snippy sorry about that. Feel free to start a topic with your questions if you still have them.