Forum Replies Created
-
AuthorPosts
-
Barry
MemberHi Readdie,
I see you noted that you tried deactivating all other plugins and switching to a default theme. Can you confirm if that had any effect and if it enabled you to isolate anything as causing this issue?
Could you also confirm if you happen to be running a multisite network here?
Thanks!
September 3, 2013 at 3:10 pm in reply to: theme conflict Jquery failing on custom post type "tribe events"? #64363Barry
MemberHi Tim,
Rob asked me to take a look on his behalf and, at this time, I don’t believe I’ll need further access to your site – so feel free to kill that user account and thanks for taking the time to create it 🙂
So this does indeed look like it relates to a script (CMB or “Custom Metaboxes and Fields for WordPress”) which seems to be bundled with your theme. As soon as the event editor loads a JS error is triggered in relation to this script and that is preventing other parts of the page from behaving as expected. Regarding your note that all other post types work fine, however, I don’t actually find the same thing: on visiting the Add New Testimonial screen for instance the same error (and inability to add media) is present.
Essentially then this is looking like a problem that would correctly have to be dealt with by the theme vendor – it may be that they are taking what could be described as a “shotgun” approach and are loading this code on all post editor screens, even those where it is not required. With that in mind, could you contact the theme author/vendor and ask them:
* If that script is indeed required every time the post editor loads and for every post type
* If not, can they provide code to either restrict it only to those where they know it is needed, or else prevent it from being loaded on our own/the testimonial editor/other affected screens
Hope that helps,
Barry
September 3, 2013 at 2:54 pm in reply to: Slow load time and previous day not working/showing #64356Barry
MemberOK, thanks – apologies also for the time it’s taken to progress this – however we’ll monitor this problem this evening and see if that reveals any useful information then take things from there.
If you could avoid changing any of the settings mentioned in your last post that would be much appreciated.
Thanks for your patience!
Barry
MemberHi Aurelio – you could basically try wrapping the code used in that template to display the comment form (normally this is quite simply a line reading comment_form(); ) in a conditional statement, something like this:
if ( ! tribe_is_event_query() ) comment_form();Does that help here? You might want to make this change in a child theme to prevent your modification from being wiped on a future update – but it would be best to seek the advice of the theme author on that front.
Barry
MemberAwesome – glad we could help!
Barry
MemberYes – adding it to your stylesheet (or creating a new tribe-events.css stylesheet) is the correct course of action. Glad you’re all sorted!
Barry
MemberWe can’t quite do that but if you email Leah at pro [at] tri [dot] be and link to this thread she might be able to process a refund for you, in which case you could apply that to the cost of a Community Events license 🙂
Barry
MemberThanks for sharing tdm2000 – just a note that, unfortunately, the forum does not handle code very nicely and if at all possible it’s currently best to share your code using a service like Gist or Pastebin and simply drop a link in here.
Thanks!
Barry
MemberNo problem at all – if you hit any further problems once you’re running the latest and greatest (or indeed while trying to upgrade) do let us know and we’ll try our best to help 🙂
Barry
MemberThat’s great to hear, glad you’re on track 🙂
Barry
MemberOK, so are you all good here (at least with regards to the original issue)?
Barry
MemberThere’s a lot of different ones out there – could be worth trying a few and seeing which works best for you: http://wordpress.org/plugins/search.php?q=redirect
In previous post I am just asking about which part of code is responsible for displaying map?
The group of templates found in the PRO plugin’s views/maps directory are used for this (as is some Javascript code which must also be enqueued for this to operate successfully).
Barry
MemberThanks!
So can you take a flip through our Themer’s Guide and try setting up a custom tribe-events.css file and add this line to it (you could also try adding it to the bottom of your theme stylesheet or any other suitable location you theme makes available for custom CSS):
.tribe-events-calendar td > div > h3 { float: none }Does that help here?
Barry
MemberYou’re right. I visited http://hqraleigh.com/events-cal/ and it worked, whereas you are I guess accessing it with www subdomain. That’s probably the nut of the problem, here.
Did you add a specific rule to allow both to work? And if so can you change this so that any attempts to access the www subdomain are redirected to just the domain itself, if that makes sense?
Barry
MemberAh ok. I think one part of the problem there is that the post data has not been set up such that standard WordPress template tags can be used as you might expect. Can you try this version of your snippet and see if that gets you closer to what you want?
-
AuthorPosts
