Forum Replies Created
-
AuthorPosts
-
March 26, 2018 at 4:51 am in reply to: Recurring Events either side of UK DST (Daylight saving Time) #1488424
pylon
ParticipantNow that the original pre-DST event has passed, would it be the right thing to do if I now ‘edit single’ and edit the event for 28/03/2018?
When I attempt to I receive the alert
“You are about to break this event out of its series.
You will be able to edit it independently of the original series.
This action cannot be undone.”Which is slightly disconcerting…
March 9, 2018 at 1:26 am in reply to: Recurring Events either side of UK DST (Daylight saving Time) #1474255pylon
ParticipantJust over two weeeks away from start of DST and no word yet on a fix for this issue. Are we seriously looking at the end of March for a fix?
It would help to have this confirmed as we can maybe put something in place on the sites to explain the event display errors. Not happy with this situation.
September 6, 2017 at 1:11 am in reply to: Does v4.5 offer 'AND' behaviour rather than 'OR' logic? #1345314pylon
ParticipantBrilliant, finally some movement on this. I’ll give it a try.
Are there plans to build this into a settings option down the line?
pylon
ParticipantAndras
Thanks for all those suggestions. I tried them all but the issue persisted but I have now found the culprit!
Although turning on/off EC Pro would trigger the issue, I discovered an error in my .htaccess file that was actually the root cause of the problem. So I apologise to you guys profusely.
Reverting to a default .htaccess file solved the problem, then re-adding the old .htacesss commands one by one allowed me to identify the offender.
Thanks for your help once again.
pylon
ParticipantCliff
How frustrating – my previous reply was explaining that my initial suspicions that the ‘redirect’ issue and the ‘Initializing Tribe Events’ error appearing in the log was down to memory issues. I was clarifying that the ‘Initializing Tribe Events’ error appearing in log was due to debug option being active in your EC plugin and wasnt an error.
Yes, i read through your article, which provided rememdies for a scenario that I’m not expereiencing – I have no poblem logging in. But I have tried all those things suggested as they are fairly standard practice in troubleshooting a WP admin issue.
As this ticket is titled ‘Initializing Tribe Events’ and that part is explained (resolved), I’ve created a new ticket for the ongoing issue here and will close this ticket.
pylon
ParticipantThe server error log is appearing because I had debug enabled in Calendar settings. Disabling it removes the ‘notification’ which is not an error apparently. See here.
December 19, 2016 at 3:37 am in reply to: Provide an external site a .ics feed to our calendar #1207641pylon
ParticipantOK, thanks for reply.
So we can’t provide an ongoing event feed that syncs with our site?
pylon
ParticipantWell, it answers my question but doesn’t help much at all.
My only alternative is to make the client an quasi-administrator (using Adminimize and User role editor).
Have added to feature requests.
pylon
ParticipantCliff
Thanks for your continues assistance.
The file is the single-event.php in list for Calendar Pro in Child theme. Full path is:
http://www.oneebp.org.uk/wp-content/themes/flawless-childtheme/tribe-events/list/single-event.php
Full code is as follows. Here I’m still using the rtrim version:
<?php /** * List View Single Event * This file contains one event in the list view * * Override this template in your own theme by creating a file at [your-theme]/tribe-events/list/single-event.php * * @package TribeEventsCalendar * */ if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } ?> <?php // Setup an array of venue details for use later in the template $venue_details = array(); if ( $venue_name = tribe_get_meta( 'tribe_event_venue_name' ) ) { $venue_details[] = $venue_name; } if ( $venue_address = tribe_get_meta( 'tribe_event_venue_address' ) ) { $venue_details[] = $venue_address; } // Venue microformats $has_venue_address = ( $venue_address ) ? ' location' : ''; // Organizer $organizer = tribe_get_organizer(); ?> <!-- Event Cost --> <?php if ( tribe_get_cost() ) : ?> <div class="tribe-events-event-cost"> <span><?php echo tribe_get_cost( null, true ); ?></span> </div> <?php endif; ?> <!-- Event Title --> <?php do_action( 'tribe_events_before_the_event_title' ) ?> <h2 class="tribe-events-list-event-title entry-title summary"> <a class="url" href="<?php echo tribe_get_event_link() ?>" title="<?php the_title() ?>" rel="bookmark"> <?php the_title() ?> </a> </h2> <?php do_action( 'tribe_events_after_the_event_title' ) ?> <!-- Event Meta --> <?php do_action( 'tribe_events_before_the_meta' ) ?> <div class="tribe-events-event-meta vcard"> <div class="author <?php echo $has_venue_address; ?>"> <!-- Schedule & Recurrence Details --> <div class="updated published time-details"> <?php echo tribe_events_event_schedule_details() ?> </div> <?php if ( $venue_details ) : ?> <!-- Venue Display Info --> <div class="tribe-events-venue-details"> <?php echo implode( ', ', $venue_details ); ?> </div> <!-- .tribe-events-venue-details --> <?php endif; ?> </div> <!-- Volunteer Button by Dom Conrad 04/12/2015 / Strips out trainiling slash from tribe_get_event_link --> <div class="volunteerbutton"> <a class="gdlr-button medium" href="<?php $url_event = rtrim(tribe_get_event_link(), '/'); echo $url_event; ?>#volunteer-form" title="Volunteer for this event" rel="bookmark">Volunteer</a> </div> </div><!-- .tribe-events-event-meta --> <?php do_action( 'tribe_events_after_the_meta' ) ?> <!-- Event Image --> <?php echo tribe_event_featured_image( null, 'medium' ) ?> <!-- Event Content --> <?php do_action( 'tribe_events_before_the_content' ) ?> <div class="tribe-events-list-event-description tribe-events-content description entry-summary"> <!-- <?php the_excerpt() ?> --> <a href="<?php echo tribe_get_event_link() ?>" class="tribe-events-read-more" rel="bookmark"><?php _e( 'Find out more', 'tribe-events-calendar' ) ?> »</a> </div><!-- .tribe-events-list-event-description --> <?php do_action( 'tribe_events_after_the_content' ) ?>This button is pointing at anchor in http://www.oneebp.org.uk/wp-content/themes/flawless-childtheme/tribe-events/single-event.php – see around line 65-68:
<?php /** * Single Event Template * A single event. This displays the event title, description, meta, and * optionally, the Google map for the event. * * Override this template in your own theme by creating a file at [your-theme]/tribe-events/single-event.php * * @package TribeEventsCalendar * */ if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } $events_label_singular = tribe_get_event_label_singular(); $events_label_plural = tribe_get_event_label_plural(); $event_id = get_the_ID(); ?> <div id="tribe-events-content" class="tribe-events-single vevent hentry"> <p class="tribe-events-back"> <a href="<?php echo esc_url( tribe_get_events_link() ); ?>"> <?php printf( __( '« All %s', 'the-events-calendar' ), $events_label_plural ); ?></a> </p> <!-- Notices --> <?php tribe_events_the_notices() ?> <?php the_title( '<h2 class="tribe-events-single-event-title summary entry-title">', '</h2>' ); ?> <div class="tribe-events-schedule updated published tribe-clearfix"> <?php echo tribe_events_event_schedule_details( $event_id, '<h3>', '</h3>' ); ?> <?php if ( tribe_get_cost() ) : ?> <span class="tribe-events-divider">|</span> <span class="tribe-events-cost"><?php echo tribe_get_cost( null, true ) ?></span> <?php endif; ?> </div> <!-- Event header --> <div id="tribe-events-header" <?php tribe_events_the_header_attributes() ?>> <!-- Navigation --> <h3 class="tribe-events-visuallyhidden"><?php printf( __( '%s Navigation', 'the-events-calendar' ), $events_label_singular ); ?></h3> <ul class="tribe-events-sub-nav"> <li class="tribe-events-nav-previous"><?php tribe_the_prev_event_link( '<span>«</span> %title%' ) ?></li> <li class="tribe-events-nav-next"><?php tribe_the_next_event_link( '%title% <span>»</span>' ) ?></li> </ul> <!-- .tribe-events-sub-nav --> </div> <!-- #tribe-events-header --> <?php while ( have_posts() ) : the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <!-- Event featured image, but exclude link --> <?php echo tribe_event_featured_image( $event_id, 'full', false ); ?> <!-- Event content --> <?php do_action( 'tribe_events_single_event_before_the_content' ) ?> <div class="tribe-events-single-event-description tribe-events-content entry-content description"> <?php the_content(); ?> </div> <div id="volunteer-form"></div> <a name="volunteer-form"></a> <!--Volunteer Button on list view events links to here --> <?php tribe_events_before_html(); ?> <!-- Copied from default-template.php (where it is commented out) and added to this template in child theme, so the 'html before content' function only appears in single event view. Snippet set up in snippet plugin to test for single view and echo a gravity form shortcode for volunteering form. by Dozza 30/10/2015 --> <!-- .tribe-events-single-event-description --> <?php do_action( 'tribe_events_single_event_after_the_content' ) ?> <!-- Event meta --> <?php do_action( 'tribe_events_single_event_before_the_meta' ) ?> <?php tribe_get_template_part( 'modules/meta' ); ?> <?php do_action( 'tribe_events_single_event_after_the_meta' ) ?> </div> <!-- #post-x --> <?php if ( get_post_type() == Tribe__Events__Main::POSTTYPE && tribe_get_option( 'showComments', false ) ) comments_template() ?> <?php endwhile; ?> <!-- Event footer --> <div id="tribe-events-footer"> <!-- Navigation --> <h3 class="tribe-events-visuallyhidden"><?php printf( __( '%s Navigation', 'the-events-calendar' ), $events_label_singular ); ?></h3> <ul class="tribe-events-sub-nav"> <li class="tribe-events-nav-previous"><?php tribe_the_prev_event_link( '<span>«</span> %title%' ) ?></li> <li class="tribe-events-nav-next"><?php tribe_the_next_event_link( '%title% <span>»</span>' ) ?></li> </ul> <!-- .tribe-events-sub-nav --> </div> <!-- #tribe-events-footer --> </div><!-- #tribe-events-content -->Thanks for the codex heads-up. I’ll give that a try…
pylon
ParticipantOK, well that’s good it works your end. I’ve tried on multiple Macs this end in Safari with no joy.
I love the idea of hiding the volunteer button on past single/recurring events. Inevitably, due to lack of php confidence, how would I combine the example code with my button code, which with the trailing slash is:
<div class="volunteerbutton"> <a class="gdlr-button medium" href="<?php $url_event = rtrim(tribe_get_event_link(), '/'); echo $url_event; ?>#volunteer-form" title="Volunteer for this event" rel="bookmark">Volunteer</a> </div>and with the trailing slash stripped out is:
<div class="volunteerbutton"> <a class="gdlr-button medium" href="<?php $url_event = rtrim(tribe_get_event_link(), '/'); echo $url_event; ?>#volunteer-form" title="Volunteer for this event" rel="bookmark">Volunteer</a> </div>Appreciate a little more help here.
pylon
ParticipantCliff
I think you misunderstood my enquiry! You can follow my progress so far by visiting this link.
Since my post, i’ve made progress but come across a problem. I’ve added/styled the ‘Volunteer’ button to a child theme copy of list>single-event.php
Button code as follows:
<div class="volunteerbutton"> <a class="gdlr-button medium" href="<?php $url_event = rtrim(tribe_get_event_link(), '/'); echo $url_event; ?>#volunteer-form" title="Volunteer for this event" rel="bookmark">Volunteer</a> </div>That bit of php strips out the default trailing slash from
<?php echo esc_url( tribe_get_event_link() ); ?>In tribe-events>single-event.php I then added an
<a name="volunteer-form"></a>anchor just above the form (loaded in by using<?php tribe_events_before_html(); ?>) so the volunteer button should make the loaded page jump down to just above the form.Now this works fine in Firefox and Chrome but not Safari or IE11. I read here and here about the issue but not sure if I need to update my URLs stewed to achieve this simple little jump! I’ve tried implementing with and without the URL trailing slash and also adding a phantom div with an id. They all work for Chrome/Firefox but not Safari / IE11.
Is there a better way of doing this using tri.be hooks or something? Appreciate your help here.
NB: Hook to add gravity forms is nice tip and thanks for hiding featured image info.
-
This reply was modified 10 years, 4 months ago by
pylon.
February 13, 2015 at 8:28 am in reply to: Remove scroll bar from expanded vertical category filter #942334pylon
ParticipantOh you’re good Brian.
Thanks for your persistence and patience. Those two together did the trick.
Many thanks.
February 13, 2015 at 7:29 am in reply to: Remove scroll bar from expanded vertical category filter #942307pylon
ParticipantSorry Brian, the maintenance page is sometimes a pain!
But, seriously, persist with trying to visit http://www.oneebp.org.uk/clientview
Then when you get through visit http://www.oneebp.org.uk/events
pylon
ParticipantBrian
Many thanks – those directions were a great help. Followed your guide then simply comment out
<?php the_excerpt() ?>on line 79.
February 12, 2015 at 1:55 am in reply to: Remove scroll bar from expanded vertical category filter #941884 -
This reply was modified 10 years, 4 months ago by
-
AuthorPosts
