TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,911
  • Total Topics: 21,307
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 462
  • Total: 462

Re: Errors

Started by jav_tailor, June 01, 2010, 09:05:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jav_tailor

Hi,

I've the same problem. When apply the Noize theme, the forum report this errors:

Quote8: Undefined index: rightbar
File: /home/***/public_html/foro/Themes/default/languages/TPShout.english.php (main_below sub template - eval?)
Line: 356
   
8: Undefined index: centerbar
File: /home/***/public_html/foro/Themes/default/languages/TPShout.english.php (main_above sub template - eval?)
Line: 344
   
8: Undefined index: leftbar
File: /home/***/public_html/foro/Themes/default/languages/TPShout.english.php (main_above sub template - eval?)
Line: 334
   
8: Undefined index: rightbar
File: /home/***/public_html/foro/Themes/default/languages/TPShout.english.php (main_above sub template - eval?)
Line: 324
   
8: Undefined index: leftbar
File: /home/***/public_html/foro/Themes/default/languages/TPShout.english.php (main_above sub template - eval?)
Line: 322

I modified the index.template.php and deleted the code:

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


But the problem persists.

With the default theme I haven't problems.

Help me, please!

IchBin

Please start your own topics in the future. It will keep things much more organized if you just reference any topic you think is related.

What version of TP? What version of SMF? What template files are in your theme? If you could Please read the Posting Guidelines in the future it would greatly help us to help you. Thanks.

Atomiq25

we cannot provide any support until your prove you bought Noize theme legally..


;D hahah

just kidding x)

ZarPrime

jav_tailor,

Welcome to TinyPortal.

Actually, Atomiq25 brings up a very good point.  http://www.dzinerstudio.com/ has quite good support on their premium themes.  It's very possible that when you bought the theme, you downloaded the wrong version of the theme for your version of SMF/TP.  Have you checked with them.

ZarPrime

This website is proudly hosted on Crocweb Cloud Website Hosting.