Forum Replies Created
-
AuthorPosts
-
Barry
MemberHi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!
Barry
MemberHi Jorge,
Would it be possible for you to visit Events → Settings → Display and change the default event template setting?
Some themes work well with the Default Page Template option, others with the Default Events Template: toggling between those options might offer an easy fix here 🙂
February 6, 2015 at 9:10 am in reply to: Display only children categories of a specific parent in a custom filter #940537Barry
MemberHi!
It’s always great to see customizations like this being built – but please do note the amount of support we can provide for this level of customization is, regrettably, pretty limited.
Can I ask what the primary roadblock is here? Is it determining what the current category is (if there is one)? In other words, is the remaining problem one of swapping out the following line for something dynamic where the parent category isn’t hardcoded?
if ( parent_category_name == 'Music' )</code>Thanks!
February 6, 2015 at 9:04 am in reply to: Stock not decreasing in woocommerce, and actually increasing on events page #940536Barry
MemberInteresting – I don’t actually experience the same thing.
I see you noted having already taken some time to run through our standard troubleshooting steps: can you confirm that didn’t flag up any conflicts?
February 6, 2015 at 8:52 am in reply to: Purchase name and email not visible in attendee view #940532Barry
MemberHi Nazeem,
That sounds unusual.
Certainly if I test this out locally I see no such issues in the attendee list. It looks like you noted having run through our standard troubleshooting steps already, did that reveal anything?
I wonder also if there is there anything “atypical” about the way you are creating these orders – or are they regular orders created by customers in the usual way?
Thanks!
Barry
MemberHi Nazeem,
That is indeed possible:
TribeWooTickets::get_instance()->checkin( $attendee_id );You would of course need to have or be able to determine the correct attendee ID, but certainly all kinds of things like this are achievable 🙂
I hope that helps!
Barry
MemberHi @hikeitbaby,
I’m sorry to hear you’ve experienced difficulties.
Can you help me to build a better picture of the problem – is it in relation to submissions made through Community Events, for example?
- If you have activated Events Calendar PRO then you will be able to filter the list of events that shows in the admin environment. Sometimes, people inadvertently apply a filter without realizing it – please try clearing then saving the settings in the Filters & Columns box that appears above the list of events (only if you are also using PRO, of course)
- Do others have access to the admin environment? Is it possible an admin accidentally trashed those events and do you see them in the trash area?
- Did any settings change or plugin updates etc occur before this problem surfaced?
Thanks!
February 6, 2015 at 8:05 am in reply to: Disappearance of past events in Day,List & Photo views #940517Barry
MemberI do apologize Austen, I was way off track here. This is actually a known bug that should be fixed in our very next release if everything goes to plan.
In the interim, it might be this snippet (which you could add to your functions.php file) will provide some relief:
class temp_fix_33698 { public function __construct() { add_action( 'pre_get_posts', array( $this, 'pre_tribe' ) ); } public function pre_tribe( $query ) { if ( 'list' !== $query->get( 'eventDisplay' ) ) return; if ( '' != $query->get( 'eventDate' ) ) return; add_action( 'tribe_events_pre_get_posts', array( $this, 'post_tribe' ) ); } public function post_tribe( $query ) { remove_action( 'tribe_events_pre_get_posts', array( $this, 'post_tribe' ) ); $set_to = $query->get( 'start_date' ); $needs_correction = tribe_event_beginning_of_day( date_i18n( TribeDateUtils::DBDATETIMEFORMAT ) ); if ( $set_to === $needs_correction ) $query->set( 'start_date', date_i18n( TribeDateUtils::DBDATETIMEFORMAT ) ); } } new temp_fix_33698;Does that help at all?
Barry
MemberOK. So we are slightly limited in terms of how far we can go to support integration with third party products and it’s particular difficult in situations like this where it’s not code we’re familiar with.
This is nothing but speculation, but perhaps one of these are true:
- These shortcodes may look like shortcodes, but not actually follow the WordPress shortcode API (a custom implementation, basically) – if so, that might explain why they fail where others continue to work
- Or perhaps they are using the shortcode API but they’re using too specific a trigger before registering them
It’s hard to say. Have you been able to reach out to the authors of that other software? Perhaps if you highlight that you are using them with a custom post type it might help them to ascertain what’s going wrong, here.
Barry
MemberPleasure!
I’ll go ahead and close out this topic – but if anything else crops up please don’t hesitate to post a new topic and one of the team will be only too happy to help 🙂
Barry
MemberHey Tisha,
I’m not sure why it won’t let you update – but I wonder, what version of WordPress are you running? Our latest plugin releases expect to run on a fairly recent WordPress release – it could be there’s some connection there.
Barry
MemberAh, no, my fault.
I often recommend placing snippets in a theme’s functions.php file because, for most users, that’s an existing file and its the easiest path for them to follow (and of course it’s quite hard to get a sense of how technical a user might be in the space of a short forum exchange).
However in this case you’re quite right, it wouldn’t do anything, because functions.php won’t be loaded until after plugins_loaded fires. So apologies for the confusion on that one.
To use it as I posted it, it would actually have to live in a custom plugin (or must-use plugin). However, no, there isn’t any particular danger in switching to wp_loaded – so if that works for you I’d suggest sticking with it 🙂
Barry
MemberHi Pierre,
Geoff’s out this week so I thought I’d drop in and see how the topic was progressing 🙂
In the default event template the post excerpt shows up as a tooltip in the monthly calendar view – I had it displayed in the ticket email, then discovered it was showing on the calendar. Dont know how to supress it in the calendar view.
OK, so how about a custom field? This could either be a regular WordPress custom field or – if you invest in PRO – our richer additional fields system. If you want to stick with what WordPress offers there are lots of useful articles on working with their API to help get you started, like this one.
I do wish you luck but I don’t think there’s too much more we can offer on this one – given it’s very much customization territory – and so I’ll go ahead and close out this topic.
Of course if we can help with anything else please don’t hesitate to create a new support topic and one of the team will be only too happy to assist 🙂
Barry
MemberGlad it helped 🙂
If I wanted to tweak the tribe_related_posts_args filter or tribe_get_related_posts hook, where would I find/edit/add that?
The snippet I just provided is a good example of working with the tribe_related_posts_args filter and you’d basically follow a similar process with the tribe_get_related_posts hook: the key difference is that the first of those gives you an opportunity to modify the query arguments, the second gives you a chance to modify/add to/replace the actual list of posts that is generated.
Does that clarify things?
Barry
MemberThat’s exactly right, yes.
-
AuthorPosts
