Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Editor issues
Avatar
Andrew Mintram
Member
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2012 - 6:06 am

Same credentials as in last PM should still be working, but I will resend just in case you no longer have them.

Thanks in advance. :)

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 24, 2012 - 8:37 am

OK - so we are seeing no reportable conflicts or errors but clearly there is some sort conflict of code going on somewhere.

Would you be able to run a couple of quick experiments for me? What would be useful for starters is if we can hone in on the js library that is causing the problem. So - if you can locate the place in the WP theme code where these js libraries are enqueued you could comment out their loading and then run the forum page to see if the quote comes back to life. Of course, either way, go back and then uncomment the code again so this does not effect the loading of the rest of your site.

If this is possible then the two js files to stop loading are firstly 'jquery.effects.core.min.js' and then 'nv-script-pack.js'. I would suggest doing these one at a time and separately.

The aim here is simply to discover where the problem lies. If we can locate that then we can start to think of ways to work around it.

One caveat though. It is possible that stopping one of these scripts from loading may then cause an error if there are any in-line calls to use them. This could then stop other features of the form from working so keeping an eye on the error console would be helpful. I would also refresh your browser cache between each quick test.

Is this all possible? It should only take a minute or so to achieve.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Andrew Mintram
Member
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2012 - 9:28 am

No problem, will try and do myself later when i get home from work, and if any problems I'll ask the theme authors help to locate the relevant lines where the js libraries are enqueued.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 24, 2012 - 9:50 am

I would suggest looking in the theme's functions.php file as the probable place.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Andrew Mintram
Member
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2012 - 10:26 am

OK, found the lines in the tempates.php file, and commented them out one at a time, separately.

Commenting out jquery-effects-core (note, slightly different name to that used above, but assume it is the intended file) appears to have worked. The quote function now works and a quick test of other forum functions appears to show no further problems with the site/forum.

Commenting out nv-script.pack.js (as above, note slight different name) appeared to make no difference at all.

Hopefully this will be helpful! :)

I have left the jquery-effect-core file commented out if you wish to go in and look at the site in this state. The error console only brought up the following:

PPB_Graphics2D.PaintImageData: Rectangle is outside bounds.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 24, 2012 - 12:14 pm

You best uncomment it so that the rest of your site is not effected negatively by whatever it is used for.

So we basically have two options as I see it. We can try and skip the loading of that script library on forum pages as I don't see anywhere it is used. Or - I can download that library to try and see if I can find out what the issue is which will take much longer of course...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Andrew Mintram
Member
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2012 - 12:40 pm

OK, uncommented for now.

Personally I'd be quite happy with the former as it would get the job done, but clearly the latter is of more use to you in the long run, just in case it happens with other themes?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 24, 2012 - 4:48 pm

Let's try it anyway. See if this works please. Wrap that enqueue statement like this:

if ( sp_is_forumpage() == false ) {
    wp_enqueue_script(....);
}

i will keep my fingers crossed!

andy-signature.png
YELLOW
SWORDFISH
Avatar
Andrew Mintram
Member
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2012 - 5:16 pm

Well, it seems to work... the quote function has returned and I can't see any side effects at present. I'll also ask the Theme author if he thinks it will affect anything else, but it looks good so far!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2012 - 8:52 pm

well, we will run some tests and see if we can duplicate the error...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625