Support Forum
My only surprise is the notion that previous versions of SP worked.
Your jQuery is being killed off by a script in your theme (magazinum/js/script.js) and after that nothing works that requires jQuery.
This is the sad old tale of a theme (or maybe plugins) NOT using the WP API and the WP supplied jQuery and jQuery UI components which so often causes all kinds of problems to SP and to many other plugins that rely on these libraries.
jQuery itself is loaded from 'code.jquery.com' and the UI from 'ajax.googleapis.com' - neither of which are guaranteed to be the versions needed by any specific version of WP nor is the base jQuery going to be compiled in the 'no conflict' mode required by WP.
This is often done in the mistaken belief that they will load faster which is questionable at best.
You could try forcing SP to load it's javascript in the header (Forum admin > Wp integration) and at least if the theme code is written properly this may then force the WP versions to be used.
YELLOW
SWORDFISH
|
yes was doubtful... so you need to correct the theme improperly loading jquery...
Visit Cruise Talk Central and Mr Papa's World
you will have to find where you theme (it could be a plugin) is loading the external jquery library...
lets figure out theme or plugin first...
Visit Cruise Talk Central and Mr Papa's World
Good for you! And we, of course, would also be grateful to know if this resolved that particular problem.
Right - the file you need is /sp-startup/forum/sp-forum-framework.php
About three quarters of the way down, around line 217 of the file there is this block of code:
# check if this is a redirect from a failed save if ($sfvars['pageview'] == 'topic' || $sfvars['pageview'] == 'forum') { ?> if(jspf('#spPostNotifications').html() != '') { jspf('#spPostNotifications').show(); spjOpenEditor('spPostForm', 'post'); } <?php }
Change that for this block:
# check if this is a redirect from a failed save if ($sfvars['pageview'] == 'topic' || $sfvars['pageview'] == 'forum') { ?> if(jspf('#spPostNotifications').html() != null) { if(jspf('#spPostNotifications').html() != '') { jspf('#spPostNotifications').show(); spjOpenEditor('spPostForm', 'post'); } } <?php }
YELLOW
SWORDFISH
|
1 Guest(s)