Topic: punBB code not working

Recently my forum was update to version 1.4.2. One thing I can't get to work, is punBB code. I have refeshed hooks, reinstalled via admin console, removed and reinstalled with a fresh downloaded version, but it is still not working.
The buttons appear, but clicking on it doesn't have any effect. It looks like the javascript isn't activated by clicking.

Other extensions installed (and active) are:
Admin add user
Easy Google Analytics
External Template
Fancy Stop SPAM
jQuery
Pun Admin Manage Extensions Improved
Pun Move Posts
PunBB Repository
Show links in new window
Subject edit lock

Does anyone have an idea?

Re: punBB code not working

1. Update all plugins to the last versions.
2. Open the console of the browser and you watch mistakes which appear during the work with your forum.

P.S. If use style containing template, in this template there has to be a code" <!-- - forum_javascript--->"

ForkBB
I speak only Russian  :P

Re: punBB code not working

Tnx for helping. All plugins are up to date.
In the console appeared ReferenceError: PUNBB is not defined when I clicked one of the buttons. So I searched (google translate rules wink ) and found out to add

if(typeof PUNBB==="undefined"||!PUNBB){var PUNBB={};}

in pun_bbcode.js en pun_bbcode.min.js. Unfortunatly it didn't work.
There is no style containing template.

I also added a folder with the name of my style in the punBB directory. No result, buttons still not working?

Re: punBB code not working

It is a question of this (forum.deleukstetaarten.nl) forum?
Scripts simply on simply aren't loaded.
Your forum:

<!-- forum_debug -->
    </div>
    </div>
    </div>
                <footer>
                    
                    <section class="legal-notice">
                        <div>
                            <ul>
                                <li>&copy;&nbsp;2013&nbsp;DeLeuksteTaarten.nl.&nbsp;Alle rechten voorbehouden.</li>
                                <li><a href="http:// www. deleukstetaarten .nl/sitemap">Sitemap</a></li>

                                <li><a href="http://www. panoramastudios .nl/" target="_blank">Website door Panorama Studios</a></li>
                            </ul>
                        </div>
                    </section>
                </footer>
            </div>


<script>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    
    ga('create', 'UA-885478-3', 'auto');
    ga('send', 'pageview');
</script>
</body>
</html>

We will compare to this forum:

<!-- forum_debug -->
    </div>
    </div>
    <script>if (typeof PUNBB === 'undefined' || !PUNBB) {
        var PUNBB = {};
    }

    PUNBB.env = {
        base_url: "http:// punbb .informer .com/forums/",
        base_js_url: "http:// punbb .informer .com/forums/include/js/",
        user_lang: "English",
        user_style: "Oxygen",
        user_is_guest: "1",
        page: "index"
    };</script>
<script src="http:// punbb .informer .com/forums/include/js/min/punbb.common.min.js"></script>
<script>(function () {
    var forum_quickjump_url = "http:// punbb .informer .com/forums/forum/$1/$2/";
    var sef_friendly_url_array = new Array(26);
    sef_friendly_url_array[48] = "news";
    sef_friendly_url_array[23] = "feature-requests";
    sef_friendly_url_array[68] = "discussions";
    sef_friendly_url_array[78] = "development";
    sef_friendly_url_array[71] = "punbb-show-off";
    sef_friendly_url_array[80] = "punbb-14-bug-reports";
    sef_friendly_url_array[79] = "supported-extensions";
    sef_friendly_url_array[81] = "punbb-14-troubleshooting";
    sef_friendly_url_array[82] = "punbb-14-additions";
    sef_friendly_url_array[83] = "language-packs";
    sef_friendly_url_array[70] = "punbb-13-bug-reports";
    sef_friendly_url_array[65] = "punbb-13-extensions";
    sef_friendly_url_array[64] = "punbb-13-troubleshooting";
    sef_friendly_url_array[69] = "punbb-13-additions";
    sef_friendly_url_array[73] = "punbb-13-discussion";
    sef_friendly_url_array[22] = "punbb-12-bug-reports";
    sef_friendly_url_array[24] = "punbb-12-troubleshooting";
    sef_friendly_url_array[35] = "punbb-12-modifications-plugins-and-integrations";
    sef_friendly_url_array[34] = "punbb-12-show-off";
    sef_friendly_url_array[40] = "punbb-12-discussion";
    sef_friendly_url_array[74] = "punbbnet-discussion";
    sef_friendly_url_array[25] = "general-discussion";
    sef_friendly_url_array[26] = "programming";
    sef_friendly_url_array[72] = "fun";
    sef_friendly_url_array[47] = "archive";
    sef_friendly_url_array[28] = "test-forum";

    PUNBB.common.addDOMReadyEvent(function () { PUNBB.common.attachQuickjumpRedirect(forum_quickjump_url, sef_friendly_url_array); });
}());</script>
<script>
    $LAB.setOptions({AlwaysPreserveOrder:false})
    .script("http:// punbb .informer .com/forums/extensions/pun_jquery/js/jquery-1.6.4.min.js").wait()
    .wait(function () { PUNBB.common.addDOMReadyEvent(function(){var a=null,b=document.getElementsByTagName("head")[0],a=PUNBB.common.arrayOfMatched(function(a){return a.getAttribute("rel")&&a.getAttribute("rel")==="next"},document.getElementsByTagName("link"));if(a[0]&&b){var a=a[0],c=document.createElement("link");c.setAttribute("href",a.getAttribute("href"));c.setAttribute("rel","prerender");b.appendChild(c)}}); })
    .script("http:// punbb .informer .com/forums/extensions/fancy_scroll_to_top/js/fancy_scroll_to_top.min.js");
</script>
<script type="text/javascript"><!--
    document.write("<img src='http:// hits .informer .com/log.php?id=3&r="+ Math.round(100000 * Math.random()) + "' />");
--></script>
<script type="text/javascript"><!--
    var gaJsHost = (("https:" == document.location.protocol) ? "https:// ssl ." : "http:// www .");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics .com/ga.js' type='text/javascript'%3E%3C/script%3E"));
--></script>
<script type="text/javascript"><!--
    var pageTracker = _gat ._getTracker("UA-5138883-2");
    pageTracker._initData();
    pageTracker._trackPageview();
--></script>
</body>
</html>

Who adapted a forum for a site? Ask them a question that changed in a forum code.

ForkBB
I speak only Russian  :P

Re: punBB code not working

Tnx, I'll have to ask them. The rest of the site is ASP but I wanted to keep punBB, so the forum is PHP. I can read and write/modify a bit in PHP, so that's why I was trying to do this myself.

Re: punBB code not working

The footer.php file differs from the standard?

ForkBB
I speak only Russian  :P

Re: punBB code not working

Euhm, no. I compared with Beyond compare and footer.php is exact the same as the original one. Mayby because of the extension  External Template • Versie's v1.4.2. (Adds an external template (header and footer HTML) to all pages.) something isn't loaded?

Re: punBB code not working

There will be more clarity if to find in a code an output here this unit:

                <footer>
                    
                    <section class="legal-notice">
                        <div>
                            <ul>
                                <li>&copy;&nbsp;2013&nbsp;DeLeuksteTaarten.nl.&nbsp;Alle rechten voorbehouden.</li>
                                <li><a href="http://www.deleukstetaarten.nl/sitemap">Sitemap</a></li>

                                <li><a href="http://www.panoramastudios.nl/" target="_blank">Website door Panorama Studios</a></li>
                            </ul>
                        </div>
                    </section>
                </footer>
            </div>


<script>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    
    ga('create', 'UA-885478-3', 'auto');
    ga('send', 'pageview');
</script>
ForkBB
I speak only Russian  :P

Re: punBB code not working

That part of the code is generated by the extention External Template and its generated in ASP. I cannot change that, so I have to ask the one who build my website. Tnx for helping, but I have to wait with solving the problem until 2014 (because of holidays...)