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 19, 2012 - 5:41 am

Using default theme it quotes correctly. I've notified the theme author again, although he hasn't yet viewed the previous message from Mr Papa so once he does that, it may work correctly. I will let you know once he replies again!

(And can I just say how good it is that both plugin and theme developers are trying to help resolve this!)

Avatar
Andrew Mintram
Member
Free Members
sp_UserOfflineSmall Offline
Oct 19, 2012 - 6:56 am

OK, latest from the theme author:

"I don’t know what to suggest – the quote is another conflict with the WP jQuery libraries. The only way I can get the plugin fully working is to disable any WordPress jQuery calls, but then the Theme will not function.

I’m 99% sure you’ll get this with any premium Theme using jQuery for their functionality. The default Theme doesn’t use jQuery ( it’s pretty featureless ) hence why that works fine.

Another strange thing I found is that for the ”New Topic” to work it requires a dependency on jQuery Tabs… if I remove the call to the jQuery Tabs it fails.

I can’t write conditional statements for jQuery Core UI / jQuery Core Effects because it’s needed throughout the Theme. e.g. Menu"

It would be a real shame if SimplePress (with bbcode editor) and Tersus can't be used together, so I'm hoping there is a solution to this (other than resorting back to the plain text editor!)

Thanks once again.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 19, 2012 - 6:58 am

It might be worth sending our Codex link to your theme author as well: http://codex.simple-press.com/.....-conflict/

This tries to explain why not using the enqueue methods can be a problem.

If your theme author is helpful then cherish that! We so often hear tales where theme authors completely ignore their users questions and just blame everything on plugins!

andy-signature.png
YELLOW
SWORDFISH
Avatar
Andrew Mintram
Member
Free Members
sp_UserOfflineSmall Offline
Oct 19, 2012 - 7:09 am

Thanks again... So, not wanting to create a problem, but are you confident that this is definitely not an issue with SimplePress, and is mostly/wholly down to how the theme uses jquery? I have no knowledge of jquery and am just trying to pass info back and forth as best I can to get it solved!

Worst case scenario is I'll have to use a different theme, which is not the end of the world, but does mean more work for me!

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

If all theme and plugin code sticks to the WP rules than all should be well.

Your site is throwing one script error to do with tabs but I am unsure what is generating that - theme or plugin - which wont help things. This is because it is using the '$' instead of 'jQuery' whuch is the preferred WP method as discussed in the codex article I linked to.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Andrew Mintram
Member
Free Members
sp_UserOfflineSmall Offline
Oct 19, 2012 - 11:14 am

Theme author:

The Theme *is* using enqueue methods!

I’m using all standard WP Enqueue scripts found here http://codex.wordpress.org/Fun.....eue_script

When I get chance I’ll do a simple test with the default theme which if it turns out to what I believe it is, the Theme / Plugin will break.

I'll let you know what happens!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 19, 2012 - 11:28 am

Well, of course if they turn up something we are not aware of then we would welcome that knowledge.
Do you know what plugin is putting the 'tabs' code in place and is it possible to deactivate that to see if it is the problem?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 19, 2012 - 11:48 am

Please make sure they are enqueueing with dependencies too. Last example you posted did not make it dependent on jQuery or jQuery ui. Otherwise it might get loaded before needed components are loaded.

Avatar
Andrew Mintram
Member
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2012 - 4:56 am

Further reply from theme author:

I've done a test with the standard Theme TwentyEleven, it works fine with the quote function as standard. However if you enqueue some default jQuery Scripts using WordPress scripts / methods, it stops working. I’ve added this to the functions.php file and if you activate Twenty Eleven, you’ll see it no longer works.

function custom_scripts()
{
if ( !is_admin() )
{
wp_enqueue_script(’jquery-ui-core’,false,array(’jquery’));
wp_enqueue_script(’jquery-effects-core’,false,array(’jquery’));
}
}

add_action(’wp_enqueue_scripts’, ’custom_scripts’);

I hope this can be fixed!

Thanks,

Andy

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

Can you PM me some credentials I can use so I can reply to topics on your forum?

Sorry if you have sent them to me once already but I always delete them after a few days as a matter of policy.

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: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625