Forum Replies Created
-
AuthorPosts
-
Riza
ParticipantFeel free to reply in ~24 hours and hopefully I’ve got something functional for you by then.
Here I am 🙂
Riza
ParticipantThank you for the clear answer.
Riza
ParticipantIs there a way to add UK to all searches by modying the plugin? All events entered to the site are in UK and all searches will be in UK.
In fact you may even consider adding a setting to do that as you already have a setting for default country: “Tick to add the deafult country to all search results”
What do you says?
Riza
ParticipantIt works but not fully. My code is below.
// Check required event fields add_filter( 'tribe_events_community_required_fields', 'my_community_required_fields', 10, 1 ); function my_community_required_fields( $fields ) { if ( ! is_array( $fields ) ) { return $fields; } $fields[] = 'venue'; $fields[] = 'EventShowMapLink'; return $fields; }From what I understand and what logic says, if there is no venue selected nor entered I should get an error for that. In fact even though there is no venue selected nor entered I only get the “Event Show Map Link is required” error message. I tried to change the order of the fields line but nothing has changed.
I still need your help.
BTW, thank you for the excellent support.
January 21, 2017 at 3:26 am in reply to: Google maps position/size change on single event view #1221851Riza
ParticipantHere is one:
http://www.yourvalleynews.co.uk/valley-event/snowdrop-weekends-throughout-february/2017-02-04/
The map is very narrow and tall, it looks odd. However, when the viewport is narrow then the map goes down and becomes wider. I want move the map down and make it wider at all viewports. Preferably do that with CSS alone.
Riza
ParticipantYour first stop should be the Events → Settings → Display admin screen, where you should take a look at the Events template setting. By default you should be able to choose between these options:
Default Events Template
Default Page TemplateYou may also see other templates that are specific to your theme.
So try experimenting with these template options, and remember to save your changes!
Thank you, however, the section above doesn’t explain what the options do. What is the purpose of the selection?
Riza
ParticipantI apologise. I was in the process of changing the event system, you were too quick 🙂
The correct event page is at:
January 19, 2017 at 3:39 pm in reply to: Community entured recurring event not fully created #1221165Riza
ParticipantFalse alarm! It simply took a long time for the recurring events to appear.
Strangely though, even though I have only published 11 events the remaining events were published automatically. My VPS must be running on coal 🙂
Riza
ParticipantSorted! I was using Default Page Template. Switched to Default Events Template and my calendar appeared.
Can you explain to me (or point to a document) where the page template or even blank page can be used?
Riza
ParticipantI’ve installed and activated the “TEC Addon: Divi Theme Pagination Fix” plugin, no change.
I’ve downgraded from PHP7.0 to 5.6, no change. Both version’s error logs are attached.
I hope the logs will tell you something and you can find a solution.
I do realise the position you may have to take on not able to support all themes but Divi is not yet another theme. More than 5000 people have answered a survey from Elegant Themes specifically on Divi. Just imagine how many theme installations should be out there…
-
This reply was modified 9 years, 3 months ago by
Riza.
Riza
ParticipantI’m sorry. I missed the change to default WP theme.
I can now report you that when I switch to Twenty Fifteen theme the page displays both existing events. However, even if I switch to the main Divi theme (I use a child theme) I only see what you see, one partial event.
Does this mean that you are not compatible with Divi?
March 16, 2015 at 9:51 am in reply to: Event List: Upcoming events shows venu URL instead of name #948595Riza
ParticipantThat did it. Thank you very much.
Your support is examplrary 🙂
March 16, 2015 at 8:10 am in reply to: Event List: Upcoming events shows venu URL instead of name #948561Riza
ParticipantFYI, the original code that works is also below:
/* * This changes the venue link to the venue website URL if that is set. * NOTE: Uncomment the add_filter() line to enable this function. */ function tribe_set_venue_website ( $link, $postId, $display, $venue_url ) { $venue_link = tribe_get_venue_website_link( tribe_get_venue_id( $postId ) ); // Only swaps link if set and full HTML <a> link is set if ( !empty( $venue_link ) ) { if ( $display ) { $link = $venue_link; } else { $venue_url = tribe_get_event_meta( tribe_get_venue_id( $postId ), '_VenueURL', true ); $parseUrl = parse_url( $venue_url ); if ( empty( $parseUrl['scheme'] ) ) { $venue_url = "http://$venue_url"; } $link = $venue_url; } } return $link; } add_filter( 'tribe_get_venue_link', 'tribe_set_venue_website', 100, 4 );March 16, 2015 at 8:03 am in reply to: Event List: Upcoming events shows venu URL instead of name #948558Riza
Participant/* * This changes the venue link to the venue website URL if that is set. * NOTE: Uncomment the add_filter() line to enable this function. */ // Single Events if ( tribe_is_event() && is_single() ) { // Rest of snippet function tribe_set_venue_website ( $link, $postId, $display, $venue_url ) { $venue_link = tribe_get_venue_website_link( tribe_get_venue_id( $postId ) ); // Only swaps link if set and full HTML <a> link is set if ( !empty( $venue_link ) ) { if ( $display ) { $link = $venue_link; } else { $venue_url = tribe_get_event_meta( tribe_get_venue_id( $postId ), '_VenueURL', true ); $parseUrl = parse_url( $venue_url ); if ( empty( $parseUrl['scheme'] ) ) { $venue_url = "http://$venue_url"; } $link = $venue_url; } } return $link; } add_filter( 'tribe_get_venue_link', 'tribe_set_venue_website', 100, 4 ); }Above broke the site. My PHP is VERY bad, may I ask you to see if I have done a syntax error?
March 14, 2015 at 11:02 am in reply to: Event List: Upcoming events shows venu URL instead of name #948338Riza
ParticipantWhat happens if you remove the snippet? Does the Venue Name show up properly?
Yes
-
This reply was modified 9 years, 3 months ago by
-
AuthorPosts
