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
Is the latest CSS-Only Theme working?
Avatar
Joan Alamo Vallejo
Member
Free Members
sp_UserOfflineSmall Offline
Apr 13, 2016 - 3:40 am

I updated everything a few hours ago (WP and SP) and I cannot create new topics or open the post tool window. I can edit posts though.

 

Is there any incompatibilities/issues with the latest version? Maybe javascript related?

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 13, 2016 - 3:50 am

Hey Joan,

Are you referring to Barebones CSS Only?

The kind of incompatibility that a CSS Only theme resolves is more to do with loading PHP files as CSS which other themes do.

It sounds more like a JS conflict. Are you able to use the browser console to see if you're getting any errors on the page?

Avatar
Joan Alamo Vallejo
Member
Free Members
sp_UserOfflineSmall Offline
Apr 13, 2016 - 3:59 am

I see no errors trying to create a post, but when I try to open the post tool box I see:

 

Uncaught TypeError: jQuery(...).dialog is not a function

Avatar
Joan Alamo Vallejo
Member
Free Members
sp_UserOfflineSmall Offline
Apr 13, 2016 - 4:15 am

This is the page where the forum is, just in case you need to see the source code 

http://www.subnoise.es/foro/videos/

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 13, 2016 - 5:39 am

My guess is that something has been updated that's now causing a problem. I am seeing at the very least a tooltip conflict although there are a few others.

You can test the tooltip fix for a start by opening:

wp-content > sp-resources > forum-themes > barebones-css-desktop > templates > spFunctions.php

At the very top of that document, the first code you will see is a statement defining tooltips, so try changing that to 'False' so it appears:

if (!defined('SP_TOOLTIPS')) define('SP_TOOLTIPS', false);

As to the rest, I couldn't say. The conflicts could be coming from your WP theme or any active plugin that's loading it's own jquery library over the WP supplied jquery. For the most part these appear to be coming from a widget of some type. See here for more info.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 13, 2016 - 5:40 am

You have a whole big list of conflicts. They start because something is loading the jQuery library from the google CDN - and if this is not bad enough - it is an old, incompatible version. This FAQ explains the problem(s) in detail.

https://simple-press.com/docum.....-conflict/

If all was working before the latest WP and SP update I would assume that perhaps you have updated or added something else - WP theme or another plugin - that is the culprit. Whatever it is it needs removing or fixing I am afraid. ANY plugin that utilises jQuery and expects the proper WordPress supplied version is going to have problems.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 13, 2016 - 5:41 am

Looks like Ike and I posted at the same time, We are both correct...! But I would suggest the jQuery library gets sorted first,

andy-signature.png
YELLOW
SWORDFISH
Avatar
Joan Alamo Vallejo
Member
Free Members
sp_UserOfflineSmall Offline
Apr 13, 2016 - 5:44 am

great! that worked!

Avatar
Joan Alamo Vallejo
Member
Free Members
sp_UserOfflineSmall Offline
Apr 13, 2016 - 5:52 am

I mean, it worked setting false to the line Ike told me.

As for the google library, do you mean this line? I've commented it

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>

It was working before I updated to the new WP and SP versions. No new plugins were added

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 13, 2016 - 6:11 am

I see where you have commented out one attempt to load it but it actually gets loaded a little further down the source.... It is loading version 1.8.1. Immediately after that the proper WP/SP version is loaded - which is 1.12.3. It is, I suppose, possible that because they are being loaded in that order then the proper WP version takes over as such. But it would be far better to get rid of it. It is sitting there like a time-bomb! And it is also getting loaded when not needed or desired.

andy-signature.png
YELLOW
SWORDFISH
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: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620