Forum Replies Created
-
AuthorPosts
-
MatthewMember
Howdy Mike!
I made some tweaks to the script that you have been working withΒ and ran it against the data dump that you provided with very positive results! The recurrence data was converted cleanly from the events that I spot checked and each maintained the description fields.
Here is a GitHub Gist with the modified script:
https://gist.github.com/borkweb/96bfab2120f6242c834e2b7423599061
If this script works for you, I’ll work on getting a patch in place to ensure that legacy recurrence data maintains the description field contents.
Thank you!
Matt
MatthewMemberIt has been a while since we’ve traded messages so I’ll go ahead and close this thread for now. If you run into any other issues β feel free to open another thread!
MatthewMemberIt has been a while since our last communication, so I’m going to go ahead and close out this thread. If you have any other questions, don’t hesitate to start a new one! Thank you π
April 20, 2015 at 9:37 am in reply to: Modifications to event listing page (single-event.php) #956749MatthewMemberIt has been a while since our last communication, so I’m going to go ahead and close out this thread. If you have any other questions, don’t hesitate to start a new one! Thank you π
MatthewMemberWell shoot, I guess I should have tested that code with a more realistic Event Category name. Sorry about that. Anyhow, give this approach that leverages $wq_query a shot:
global $wp_query; // default the link to the base events link $link = events_get_events_link(); // if you're on a category page, fetch the base link for it if ( tribe_is_event_category() && isset( $wp_query->query_vars['tribe_events_cat'] ) ) { $link = get_term_link( $wp_query->query_vars['tribe_events_cat'], 'tribe_events_cat' ); }
MatthewMemberIt has been a while since the last time that I heard back from you so I hope that means everything is working well! π I am going to go ahead an close this thread, but if you have any further questions, don’t hesitate to open a new one!
April 15, 2015 at 5:59 am in reply to: Recurring Events – List View – Showing Outdated Events #955676MatthewMemberIt has been a while since the last time that I heard back from you so I hope that means everything is working well! π I am going to go ahead an close this thread, but if you have any further questions, don’t hesitate to open a new one!
MatthewMemberIt has been a while since the last time that I heard back from you so I hope that means everything is working well! π I am going to go ahead an close this thread, but if you have any further questions, don’t hesitate to open a new one!
April 15, 2015 at 5:49 am in reply to: HTTP 500 Internal Server Error when deactivating the Event Calendar Pro plugin #955673MatthewMemberNice! I’m glad you were able to track down the problematic code! I’ll go ahead and close out this ticket but if you run into any other issues, feel free to create a new forum post. π
April 8, 2015 at 11:31 am in reply to: How to hide the administrator name as organizer in the event creation form #954141MatthewMemberI wish you well on your quest! Sorry the fixes didn’t pan out – I’ll go ahead and close this thread for now. If you run into any other issues – feel free to open another thread!
April 8, 2015 at 8:02 am in reply to: How to hide the administrator name as organizer in the event creation form #954039MatthewMemberI’m so sorry this isn’t working as expected! Your theme must be doing something interesting with the plugin loading process. I’ve updated that plugin that you tried with a last ditch effort that I just thought of. Give it a shot again (re-download it and install it from here)!
If that doesn’t work, I believe I’ve reached the end of what I can research and attempt from here without stepping over into doing customization work for your site. One last attempt! Let me know π
April 7, 2015 at 12:29 pm in reply to: How to hide the administrator name as organizer in the event creation form #953803MatthewMemberBummer! Let’s try one last thing! I’ve moved the code snippet into a plugin that you can try activating that will hopefully hide that drop-down box. You can view instructions on downloading and activating it here.
My fingers are crossed as I await the results π
MatthewMemberWhoops – sorry about that! Fetching that link isn’t something that we have in The Events Calendar as a single functionc all. However, you can retrieve that link using WordPress’ get_term_link() function in conjunction with our tribe_is_event_category() and tribe_meta_event_category_name() functions. With something like this:
// default the link to the base events link $link = events_get_events_link(); // if you're on a category page, fetch the base link for it if ( tribe_is_event_category() ) { $link = get_term_link( tribe_meta_event_category_name(), 'tribe_events_cat' ); }
Perhaps a bit more than what you were hoping, but it should do what you are looking to accomplish. Let me know how it goes!
April 6, 2015 at 6:08 pm in reply to: How to hide the administrator name as organizer in the event creation form #953598MatthewMemberHowdy! Sorry that snippet is still causing some difficulties! When applying that snippet to my Twentyfifteen theme (a default theme for WordPress), the Use Saved Organizers box does not appear on the page:
It appears that there may be something custom on your site that doesn’t play well with that snippet. You could attempt to change the add_action call in that snippet from ‘init’ to ‘wp’ to see if you get better results.
//change:
add_action( 'init', 'my_organizer_dropdown_remover' );//to:
add_action( 'wp', 'my_organizer_dropdown_remover' );
Hopefully that will get you where you need to go! If you find that you need more modifications that you don’t feel comfortable exploring the code yourself and do not know someone whom you can hire, have no fear! We actually keep a list of freelancers who are quite capable of making changes on your behalf. You can obtain this list by emailing [email protected] and requesting it.
That being said, I’m hopeful that the switch to the add_action call will help π Let me know either way!
MatthewMemberThe events_get_events_link() function should return the events link sans
/list/
. Let me know if that works for you! -
AuthorPosts