SethClydesdale / forumactif-edge

A free modern and responsive forum theme for Forumotion forums.
https://sethclydesdale.github.io/forumactif-edge/
GNU General Public License v3.0
10 stars 17 forks source link

FAE Control Panel Gone Again... Want to Uninstall FAE #49

Closed TheLastOutlaw closed 4 years ago

TheLastOutlaw commented 4 years ago

This is now the second time, the FAE Control Panel has disappeared. This is the point where I want to uninstall a great theme and pick out everything I want to do via FM's Tips and Tricks. Screenshot (18)

SethClydesdale commented 4 years ago

Hello @TheLastOutlaw,

Have you made any modifications to the forum recently, such as with JavaScript? I checked a few test forums and they appear to be functioning normally, so it may be an issue specific to your forum. Let me know and I'll see what I can do.

Have a good day.

TheLastOutlaw commented 4 years ago

I have the following Javascript codes on:

Night Mode Random Banner Personalized Titles for Quote, Spoiler and Code SCEditor Mention Button Mention Button Postprofile Mention Thanks Button Saving Progress in Posts Search Popup Twemoji SCEditor Auto Embed Button Notifications Page Notifications Title Share Button Manager Topic Preview Tooltipster Tips Toolbar Avatar Thank You Message Reputation Improvement Reputation Bar Profile Awards (thinking of removing that one) Notification Sound NavBar Tooltip Options Simple Clear CSS Navbar Buttons GIFActif Player GifActif Preview Popup Search Popup Notifications Popup FA Popup Profile Details Popup Code Syntac Highlighter Copy Code Javascripts for ForumActif Edge (Homepage, Topics, Version Data, All)

SethClydesdale commented 4 years ago

Hmm.. I don't think those should be a problem.

Have you modified the templates, more specifically, the administration panel link? For example, removal of the administration panel link may cause the FAE Control panel to not function properly. If you have modified the overall_footer_end template at all, please post it here for a quick review.

TheLastOutlaw commented 4 years ago

I put in an image for a copyright. Screenshot (19)

SethClydesdale commented 4 years ago

It may have caused a conflict somewhere, because I don't see the administration panel link in the screenshot. Would it be possible for you to post your overall_footer_end template?

TheLastOutlaw commented 4 years ago
<!-- BEGIN html_validation -->
<!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">
<body>
<div>
    <div>
        <div>
            <div>
                <div>

<div>
<!-- END html_validation -->
</div>
          <div class="footer-links right">
                            <!-- BEGIN switch_footer_links -->
                                    <!-- BEGIN footer_link -->
                                        <!-- BEGIN switch_separator -->&nbsp;|&nbsp;<!-- END switch_separator -->
                                        {switch_footer_links.footer_link.FOOTER_LINK_SEPARATOR}<a name="bottom" class="copyright" href="{switch_footer_links.footer_link.U_FOOTER_LINK_HREF}" rel="{switch_footer_links.footer_link.FOOTER_LINK_REL}" target="{switch_footer_links.footer_link.FOOTER_LINK_TARGET}" title="{switch_footer_links.footer_link.L_FOOTER_LINK_TITLE}">{switch_footer_links.footer_link.L_FOOTER_LINK_TEXT}</a>
                                    <!-- END footer_link -->
                            <!-- END switch_footer_links -->
                    </div>
          <div class="clear"></div>

                      <div class="copyright">
                                            <center><img src="https://imgzb.com/images/2020/05/19/feG4o.png" border="0"></center>
                </div>
                {PROTECT_FOOTER}
            </div>
        </div>
    </div>
</div>
<div id="footer_end" class="color-secondary">
  <div id="footer_end_inner">
    <div id="footer_end_left" class="footer_end_column"><a href="/forum">{L_HOME}</a></div>
    <div id="footer_end_center" class="footer_end_column"><a href="#top" title="Back to top" id="back_top_top"><i class="fa fa-chevron-up"></i></a></div>
    <div id="footer_end_right" class="footer_end_column"><a href="https://github.com/SethClydesdale/forumactif-edge/wiki/Suggestions-and-Feedback" title="Help improve Forumactif Edge" target="_blank">Submit Feedback</a> | <a href="https://sethclydesdale.github.io/forumactif-edge/" target="_blank">Forumactif Edge</a> v<span id="fae_version">1.3.0</span></div>
  </div>
</div>

<!-- BEGIN switch_facebook_login -->
<div id="fb-root"></div>
<script type="text/javascript">
    $(document).ready( function() {
        $('div.fb-login-button, span.fb-login-button').attr({
            "data-scope": "{switch_facebook_login.FB_SCOPE}",
            "data-max-rows": "{switch_facebook_login.FB_MAX_ROWS}",
            "data-size": "{switch_facebook_login.FB_BUTTON_SIZE}",
            "data-show-faces": "{switch_facebook_login.FB_SHOW_FACES}",
            "data-auto-logout-link": "{switch_facebook_login.FB_AUTO_LOGOUT}"
        });

        $('div.fb-login-button, span.fb-login-button').each(function() {
            if(typeof $(this).attr('onlogin') == typeof undefined || $(this).attr('onlogin') === false) {
                $(this).attr('onlogin', '{switch_facebook_login.FB_ONLOGIN}');
            }
            if($(this).html() == '') {
                $(this).html('{switch_facebook_login.FB_LABEL}');
            }
        });

        FB.init({
            appId  : "{switch_facebook_login.FB_APP_ID}",
            cookie  : {switch_facebook_login.FB_COOKIE},
            xfbml  : {switch_facebook_login.FB_XFBML},
            oauth  : {switch_facebook_login.FB_OAUTH},
            version : '{switch_facebook_login.FB_VERSION}'
        });

        (function(d, s, id){
            var js, fjs = d.getElementsByTagName(s)[0];
            if (d.getElementById(id)) {return;}
            js = d.createElement(s); js.id = id;
            js.src = "//connect.facebook.net/{switch_facebook_login.FB_LOCAL}/sdk.js";
            fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));

    });
    function onLoginFB() {
        window.location.replace('{switch_facebook_login.FB_ONLOGIN_URL}')
    }
</script>
<!-- END switch_facebook_login -->

<script type="text/javascript">
//<![CDATA[
    fa_endpage();
//]]>
</script>
<script>
    var nexsys_id = '17';
</script>
<script src="https://planetnexus.net/nexsys/bar.js"></script>
</body>
</html>
SethClydesdale commented 4 years ago

Yep, it seems the issue was with the overall_footer_end template, because the administration panel link was missing. Here, replace your overall_footer_end template with the one below.

<!-- BEGIN html_validation -->
<!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">
<body>
<div>
    <div>
        <div>
            <div>
                <div>

<div>
<!-- END html_validation -->
</div>
          <div class="footer-links right">
                            <!-- BEGIN switch_footer_links -->
                                    <!-- BEGIN footer_link -->
                                        <!-- BEGIN switch_separator -->&nbsp;|&nbsp;<!-- END switch_separator -->
                                        {switch_footer_links.footer_link.FOOTER_LINK_SEPARATOR}<a name="bottom" class="copyright" href="{switch_footer_links.footer_link.U_FOOTER_LINK_HREF}" rel="{switch_footer_links.footer_link.FOOTER_LINK_REL}" target="{switch_footer_links.footer_link.FOOTER_LINK_TARGET}" title="{switch_footer_links.footer_link.L_FOOTER_LINK_TITLE}">{switch_footer_links.footer_link.L_FOOTER_LINK_TEXT}</a>
                                    <!-- END footer_link -->
                            <!-- END switch_footer_links -->
                    </div>
          <div class="clear"></div>

                                <div class="copyright">
                                  <center><img src="https://imgzb.com/images/2020/05/19/feG4o.png" border="0"/></center>
                                  <strong>{ADMIN_LINK}</strong>
                </div>
                {PROTECT_FOOTER}
            </div>
        </div>
    </div>
</div>
<div id="footer_end" class="color-secondary">
  <div id="footer_end_inner">
    <div id="footer_end_left" class="footer_end_column"><a href="/forum">{L_HOME}</a></div>
    <div id="footer_end_center" class="footer_end_column"><a href="#top" title="Back to top" id="back_top_top"><i class="fa fa-chevron-up"></i></a></div>
    <div id="footer_end_right" class="footer_end_column"><a href="https://github.com/SethClydesdale/forumactif-edge/wiki/Suggestions-and-Feedback" title="Help improve Forumactif Edge" target="_blank">Submit Feedback</a> | <a href="https://sethclydesdale.github.io/forumactif-edge/" target="_blank">Forumactif Edge</a> v<span id="fae_version">1.3.0</span></div>
  </div>
</div>

<!-- BEGIN switch_facebook_login -->
<div id="fb-root"></div>
<script type="text/javascript">
    $(document).ready( function() {
        $('div.fb-login-button, span.fb-login-button').attr({
            "data-scope": "{switch_facebook_login.FB_SCOPE}",
            "data-max-rows": "{switch_facebook_login.FB_MAX_ROWS}",
            "data-size": "{switch_facebook_login.FB_BUTTON_SIZE}",
            "data-show-faces": "{switch_facebook_login.FB_SHOW_FACES}",
            "data-auto-logout-link": "{switch_facebook_login.FB_AUTO_LOGOUT}"
        });

        $('div.fb-login-button, span.fb-login-button').each(function() {
            if(typeof $(this).attr('onlogin') == typeof undefined || $(this).attr('onlogin') === false) {
                $(this).attr('onlogin', '{switch_facebook_login.FB_ONLOGIN}');
            }
            if($(this).html() == '') {
                $(this).html('{switch_facebook_login.FB_LABEL}');
            }
        });

        FB.init({
            appId  : "{switch_facebook_login.FB_APP_ID}",
            cookie  : {switch_facebook_login.FB_COOKIE},
            xfbml  : {switch_facebook_login.FB_XFBML},
            oauth  : {switch_facebook_login.FB_OAUTH},
            version : '{switch_facebook_login.FB_VERSION}'
        });

        (function(d, s, id){
            var js, fjs = d.getElementsByTagName(s)[0];
            if (d.getElementById(id)) {return;}
            js = d.createElement(s); js.id = id;
            js.src = "//connect.facebook.net/{switch_facebook_login.FB_LOCAL}/sdk.js";
            fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));

    });
    function onLoginFB() {
        window.location.replace('{switch_facebook_login.FB_ONLOGIN_URL}')
    }
</script>
<!-- END switch_facebook_login -->

<script type="text/javascript">
//<![CDATA[
    fa_endpage();
//]]>
</script>
<script>
    var nexsys_id = '17';
</script>
<script src="https://planetnexus.net/nexsys/bar.js"></script>
</body>
</html>

Then save and publish the template, and the FAE Control Panel should work again.

If you would like to hide the administration panel link, simply find:

<strong>{ADMIN_LINK}</strong>

and replace it by:

<strong style="display:none;">{ADMIN_LINK}</strong>

This should hide the admin panel link while ensuring the functionality of the FAE Control Panel.

TheLastOutlaw commented 4 years ago

And as for my copyright image....

SethClydesdale commented 4 years ago

It should still be present. I added the admin panel link below it.

TheLastOutlaw commented 4 years ago

Thank you so much. Saved the theme, saved me from changing themes, and I can go on and OFFICIALLY close this!

Thank you again!

SethClydesdale commented 4 years ago

No problem! If you have any other issues, feel free to contact me.

Have a good day.