Forum Replies Created
-
AuthorPosts
-
George
ParticipantHey @twkmedia,
Sorry to hear about this! I do not have the same issue, so to investigate this a bit more closely, would you mind sharing your “System Information” with us? Here’s how to do that โ https://theeventscalendar.com/knowledgebase/sharing-sys-info/.
I’ll use that information to try and identify the cause of this.
Thank you!
GeorgeGeorge
ParticipantHey @Brett,
I’m really sorry to hear about this. You are correct when you say that other users are experiencing similar issues; we’ve got several small “stock”/inventory-related bugs that all amount to some weird behavior like the sort you describe.
I’m curious, however, about what you say here:
I am editing available inventory in woo commerce
Can you clarify exactly where you are editing the ticket stock amounts?
Please share a screenshot of the exact place in your wp-admin where you are adjusting the inventory amounts, just so I can be 100% certain what admin controls you are using and referring to.
You can share screenshots by uploading the screenshot to Imgur.com, Flickr.com, CloudUp.com, or any similar image-hosting site; then just share the links to those images here and I’ll take a look. If you’re not familiar with taking screenshots on your computer, it’s fortunately very simple. If you simply Google, “how to take a screenshot with {insert operating system or computer type},” you should find lots simple and helpful articles showing how to do it.
A screenshot will be immensely helpful here; thanks in advance for sharing one if you’re able to!
Sincerely,
GeorgeGeorge
ParticipantHey @Arto!
Using organizers is a great option here; in fact, quite a few people do stuff like this with our plugins, and so we’ve made it very easy to change “organizer” to “course instructor” throughout our plugins.
To do that, you’d just have to copy a code snippet like this one into your theme’s functions.php file:
add_filter( 'tribe_organizer_label_singular', 'change_single_organizer_label' );function change_single_organizer_label() {
return 'Course Instructor';
}add_filter( 'tribe_organizer_label_plural', 'change_plural_organizer_label' );
function change_plural_organizer_label() {
return 'Course Instructors';
}
That’ll change all instances of “Organizer” to “Course Instructor,” and the plural form “Organizers” to “Course Instructors.”
I hope that helps!
โ George
George
ParticipantHi @Birgit,
Putting your customizations in a Child Theme is indeed an excellent way to make the customizations, and should indeed allow you to update the plugins and the “parent theme” without losing the custom code.
I hope that helps!
โ George
George
ParticipantSure thing, Annie! Open a new thread any time if we can ever help with anything else ๐
Sincerely,
GeorgeGeorge
ParticipantHey @Dwayne,
I’m really sorry for the delayed reply here! Especially for the fact that I have to bear some bad news within it. I’ve tried numerous custom coding attempts to try and pull this off, but unfortunately it does not work consistently.
The best solution I’ve been able to assemble is this one:
add_filter( 'body_class', 'tribe_events_past_events_body_class' );function tribe_events_past_events_body_class( $classes ) {
global $wp_query;
$event_date = get_query_var( 'eventDate' );
if ( isset( $event_date ) ) {
$this_month = current_time( 'Y-m' );
$is_past = strtotime( $event_date ) < strtotime( $this_month );if ( $is_past ) {
$classes[] = 'tribe-is-past';
}
}return $classes;
}
Try pasting that into your theme’s functions.php file โ this will add a class name to the site body tag of tribe-is-past, so you could then write CSS like this:
body.tribe-is-past {
// custom styles when viewing events in the past
}
I hope that this is helpful! Please let me know if so, and if there’s anything else I can help with.
Thank you!
GeorgeGeorge
ParticipantHey @Brian,
Thanks for reaching out. To be clear, are these community-submitted events anonymous submissions?
Or do you require users to be logged-in to your site to submit events?
Thank you,
GeorgeGeorge
ParticipantHey Annie,
Thanks for reaching out. The ratings and sorting you are trying to implement are possible, but would unfortunately require many code customizations to implement ๐
So to implement the features you describe, you would have to write that custom code or hire a professional developer to write the code for you. We have a list of great developers here โ http://m.tri.be/18k1 (and have no affiliation with any of these folksโthey’re simple some well-respected names in the community that we’ve compiled to share in situations like this one).
I’m sorry to disappoint about this not being a default feature!
Please let me know if there’s anything else I can help with.
Sincerely,
GeorgeGeorge
ParticipantHey @Eliza / Gaelen,
It is unfortunately not possible to overwrite JavaScript in a similarly-easy way ๐
There is no infrastructure in place for replacing the default JavaScript files; you would essentially have to write your own JavaScript files with the desired customizations and then load them with wp_enqeue_script() โ https://codex.wordpress.org/Function_Reference/wp_enqueue_script
I hope this information helps, despite being perhaps a bit disappointing.
Cheers!
GeorgeGeorge
ParticipantHi Consuela,
Making this is customization is indeed possible However, you ask this question about maintaining the customization over time:
Iโm merely wanting to know if this is possible, or if I would have to update core files which would get overwritten with each update.
Unfortunately yes, you would have to edit core plugin files and would thus lose the customizations each update and would have to re-implement the file changes. Each update would overwrite the customizations.
I wish you the best of luck with your customizations if you decide to proceed with making them!
Cheers,
GeorgeFebruary 11, 2016 at 6:08 pm in reply to: Submissions with Errors Create Duplicate Organizer Details Fields #1071788George
ParticipantNo worries, Jonathan! I’m sorry for the lack of concrete action at this point, but will indeed update this thread once we can pin down the issue.
Thank you so much for your continued patience here. It means a lot.
Sincerely,
GeorgeGeorge
ParticipantThank you for your kind reply, @Igor. I’m sorry that I was not able to help more with customizations; to be clear, however, if you have any other issues please come back and open a new thread any time! ๐
Cheers!
GeorgeGeorge
ParticipantThis reply is private.
George
ParticipantHey @emiliano,
Setting the limit that way is unfortunately not possible without even more code customizations ๐ Doing that is a bit more complicated than the custom code I was able to write for the other aspect of this, and so unfortunately you would either have to write that custom code yourself or hire a developer to write that code for you.
I’m sorry about this, @emiliano!
Please let me know if there’s anything else I can help with.
Sincerely,
GeorgeGeorge
ParticipantHey Mina,
Sorry for the delayed response here!
There are a few different things to touch on here. To address your questions in reverse order, you ask if a coupon can be set up that only discounts The Events Calendar eventsโthis is unfortunately not possible with WooCommerce at this time ๐ I’m sorry to bear news of yet another limitation here.
The only workaround for now is actually something you suggested yourself:
Is it possible to adjust stock levels of each ticket type over time, after tickets sales are open and some have been sold?
YES, it is possible to adjust stock levels on-the-fly and this would be the best option that I can think of at this time.
I’m sorry about these limitations, Mina! Please let me know if this information is helpful.
Sincerely,
George -
AuthorPosts
