EVE-SECURE / temars-eve-api

Automatically exported from code.google.com/p/temars-eve-api
0 stars 0 forks source link

Install Error on SMF 2.0 Final Release #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
TEA Version?
1.2.0

SMF Version?
SMF 2.0 (final product, not one of the release candidates)

What steps will reproduce the problem?
1.Install SMF 2.0
2.Install SilentWave theme by DzinerStudio (not sure this is relevant)
3.Install TEA and get errors.

What is the expected output? What do you see instead?
During Install:
./Sources/Admin.php     Test failed
./Themes/default/Profile.template.php   Test failed

All other sections pass.

After install no new menus are added.
Using SMF 2.0 (RC5) and the same theme things worked perfectly. 

Please provide any additional information below.
--------------------------
./Sources/Admin.php - Fail
--------------------------
Code: (Find) [Select]

                'tea' => array(
                    'label' => $txt['tea_tea'],
                    'file' => 'TEA.php',
                    'function' => 'ModifyTEASettings',
                    'icon' => 'tea.gif',
                    'subsections' => array(
                        'settings' => array($txt['settings']),
                        'rules' => array($txt['tea_rules']),
                        'ts' => array($txt['tea_ts']),
                        'checks' => array($txt['tea_checks']),
                    ),
                ),
            ),
        ),
        'layout' => array(
            'title' => $txt['layout_controls'],

Code: (Replace) [Select]

            ),
        ),
        'layout' => array(
            'title' => $txt['layout_controls'],

--------------------------------------------
./Themes/default/Profile.template.php - Fail
--------------------------------------------
Code: (Find) [Select]

                                    ', !empty($context['member']['avatar']['allow_server_stored']) ? 'document.getElementById("avatar_server_stored").style.display = "' . ($context['member']['avatar']['choice'] == 'server_stored' ? '' : 'none') . '";' : '', '
                                    ', !empty($context['member']['avatar']['allow_external']) ? 'document.getElementById("avatar_external").style.display = "' . (($context['member']['avatar']['choice'] == 'external' || (empty($context['member']['avatar']['allow_server_stored']))) ? '' : 'none') . '";' : '', '
                                    ', !empty($context['member']['avatar']['allow_upload']) ? 'document.getElementById("avatar_upload").style.display = "' . (($context['member']['avatar']['choice'] == 'upload' || (empty($context['member']['avatar']['allow_server_stored']) && empty($context['member']['avatar']['allow_external']))) ? '' : 'none') . '";' : '', '
                                    ', !empty($modSettings["tea_enable"]) ? 'document.getElementById("avatar_tea").style.display = "' . ($context['member']['avatar']['choice'] == 'tea' ? '' : 'none') . '";' : '', '

                                    function swap_avatar(type)
                                    {
                                        switch(type.id)
                                        {
                                            case "avatar_choice_server_stored":
                                                ', !empty($context['member']['avatar']['allow_server_stored']) ? 'document.getElementById("avatar_server_stored").style.display = "";' : '', '
                                                ', !empty($context['member']['avatar']['allow_external']) ? 'document.getElementById("avatar_external").style.display = "none";' : '', '
                                                ', !empty($context['member']['avatar']['allow_upload']) ? 'document.getElementById("avatar_upload").style.display = "none";' : '', '
                                                ', !empty($modSettings["tea_enable"]) ? 'document.getElementById("avatar_tea").style.display = "none";' : '', '
                                                break;
                                            case "avatar_choice_external":
                                                ', !empty($context['member']['avatar']['allow_server_stored']) ? 'document.getElementById("avatar_server_stored").style.display = "none";' : '', '
                                                ', !empty($context['member']['avatar']['allow_external']) ? 'document.getElementById("avatar_external").style.display = "";' : '', '
                                                ', !empty($context['member']['avatar']['allow_upload']) ? 'document.getElementById("avatar_upload").style.display = "none";' : '', '
                                                ', !empty($modSettings["tea_enable"]) ? 'document.getElementById("avatar_tea").style.display = "none";' : '', '
                                                break;
                                            case "avatar_choice_upload":
                                                ', !empty($context['member']['avatar']['allow_server_stored']) ? 'document.getElementById("avatar_server_stored").style.display = "none";' : '', '
                                                ', !empty($context['member']['avatar']['allow_external']) ? 'document.getElementById("avatar_external").style.display = "none";' : '', '
                                                ', !empty($context['member']['avatar']['allow_upload']) ? 'document.getElementById("avatar_upload").style.display = "";' : '', '
                                                ', !empty($modSettings["tea_enable"]) ? 'document.getElementById("avatar_tea").style.display = "none";' : '', '
                                                break;
                                            case "avatar_choice_tea":
                                                ', !empty($context['member']['avatar']['allow_server_stored']) ? 'document.getElementById("avatar_server_stored").style.display = "none";' : '', '
                                                ', !empty($context['member']['avatar']['allow_external']) ? 'document.getElementById("avatar_external").style.display = "none";' : '', '
                                                ', !empty($context['member']['avatar']['allow_upload']) ? 'document.getElementById("avatar_upload").style.display = "none";' : '', '
                                                ', !empty($modSettings["tea_enable"]) ? 'document.getElementById("avatar_tea").style.display = "";' : '', '
                                                break;
                                        }
                                    }

Code: (Replace) [Select]

                                    ', !empty($context['member']['avatar']['allow_server_stored']) ? 'document.getElementById("avatar_server_stored").style.display = "' . ($context['member']['avatar']['choice'] == 'server_stored' ? '' : 'none') . '";' : '', '
                                    ', !empty($context['member']['avatar']['allow_external']) ? 'document.getElementById("avatar_external").style.display = "' . (($context['member']['avatar']['choice'] == 'external' || (empty($context['member']['avatar']['allow_server_stored']))) ? '' : 'none') . '";' : '', '
                                    ', !empty($context['member']['avatar']['allow_upload']) ? 'document.getElementById("avatar_upload").style.display = "' . (($context['member']['avatar']['choice'] == 'upload' || (empty($context['member']['avatar']['allow_server_stored']) && empty($context['member']['avatar']['allow_external']))) ? '' : 'none') . '";' : '', '

                                    function swap_avatar(type)
                                    {
                                        switch(type.id)
                                        {
                                            case "avatar_choice_server_stored":
                                                ', !empty($context['member']['avatar']['allow_server_stored']) ? 'document.getElementById("avatar_server_stored").style.display = "";' : '', '
                                                ', !empty($context['member']['avatar']['allow_external']) ? 'document.getElementById("avatar_external").style.display = "none";' : '', '
                                                ', !empty($context['member']['avatar']['allow_upload']) ? 'document.getElementById("avatar_upload").style.display = "none";' : '', '
                                                break;
                                            case "avatar_choice_external":
                                                ', !empty($context['member']['avatar']['allow_server_stored']) ? 'document.getElementById("avatar_server_stored").style.display = "none";' : '', '

Original issue reported on code.google.com by j.kennin...@gmail.com on 10 Aug 2011 at 8:57

GoogleCodeExporter commented 9 years ago
yes the current release version is for rc5 for 2.0 gold u need SVN copy
u can easily get using a link in eve forum post

Original comment by tema...@googlemail.com on 12 Aug 2011 at 3:56

GoogleCodeExporter commented 9 years ago
Thanks a lot, was wondering if that was the case.

Original comment by j.kennin...@gmail.com on 13 Aug 2011 at 6:10

GoogleCodeExporter commented 9 years ago

Original comment by tema...@googlemail.com on 14 Aug 2011 at 2:52