Forum Replies Created
-
AuthorPosts
-
Abby
ParticipantThank you. I am aware of the ability to view past events by using the ‘previous’ buttons but what I need is a ‘past events’ page that can show the TEC past events and to which I can add other content too.
I note from going through your support pages that there are a number of requests for a way to specifically show Past events, with varying responses from the support team. Is there any hope of a past events shortcode in the future?
Perhaps you could give me guide on how to alter the generic past events page? Which template to change or how to add extra content to this page only?
Cheers,
AbbyAbby
ParticipantThis reply is private.
Abby
ParticipantHi Geoff,
I’m away from broadband for a week so can’t do this until next Monday unfortunately. I will do so then however.Abby
Abby
ParticipantThis reply is private.
August 22, 2016 at 4:20 am in reply to: Events page images displaying small after WordPress update #1154287Abby
ParticipantThanks for getting back to me Cliff.
I’ve checked my media settings and they are set to 300 x 300px. I’ve tried regenerating thumbnails anyway, but that makes no difference. I’ve also tried uploading new images and that doesn’t seem to make any difference.
I would greatly appreciate any further ideas or insight from your end if that’s possible?February 11, 2016 at 4:21 pm in reply to: Theatre events proving complex to schedule as recurring events. #1071771Abby
ParticipantThanks for that Josh. We have been working on it too and have come up with the following (posting it here for the record):
from theme functions.php
add_filter(‘tribe_events_event_schedule_details’, ‘custom_events_event_schedule_details’, 1, 4);
function custom_events_event_schedule_details($html, $postid, $before, $after)
{
if(tribe_is_recurring_event($postid))
{
$start_dates = tribe_get_recurrence_start_dates( $postid );
$firstdate=reset( $start_dates );
$lastdate=end( $start_dates );
$firstmonth=$firstdate;
$first=getdate(strtotime($firstdate));
$lastmonth=$lastdate;
$last=getdate(strtotime($lastdate));
if($first[‘mon’]==$last[‘mon’])
{
$dthtml=$first[‘mday’].” – “.$last[‘mday’].” “.$first[‘month’];
}
else
{
$dthtml=$first[‘mday’].” “.$first[‘month’].” – “.$last[‘mday’].” “.$last[‘month’];
}
$dthtml=”<div classname=\”tribe-events-period\”><abbr title=\”Season from “.tribe_format_date($firstdate,false).” until “.tribe_format_date($lastdate,false).”\” classname=\”tribe-events-period-dates\”>”.$dthtml.”</abbr></div>\n”;
$html=$dthtml; // nb this replaces the normal start date
}
return $html;I’m not marking this as resolved as I believe it needs to stay unresolved pending the recurring description fix? But I think we have sorted the dates, so thank you.
February 4, 2016 at 5:05 pm in reply to: Theatre events proving complex to schedule as recurring events. #1067936Abby
ParticipantHi Josh,
Further to my last comment, I notice there is built in support for getting the first date of a series:class Tribe__Events__Pro__Recurrence_Meta {…
private static function get_series_start_date( $post_id ) {
if ( method_exists( ‘Tribe__Events__Main’, ‘get_series_start_date’ ) ) {
return Tribe__Events__Main::get_series_start_date( $post_id );
}
$start_dates = tribe_get_recurrence_start_dates( $post_id );return reset( $start_dates );
}…}
But there is no equivalent for the last date in the series. Would the following work? And if so how would I best utilise it?
private static function get_series_last_date( $post_id ) {
if ( method_exists( ‘Tribe__Events__Main’, ‘get_series_last_date’ ) ) {
return Tribe__Events__Main::get_series_last_date( $post_id );
}
$start_dates = tribe_get_recurrence_start_dates( $post_id );return end( $start_dates );
}February 4, 2016 at 3:36 pm in reply to: Theatre events proving complex to schedule as recurring events. #1067924Abby
ParticipantHi Josh,
I think I’ve figured out where perhaps I haven’t been clear in my request. My events are recurring events, some happening every day for two weeks, some Tuesday-Sunday evenings for 1 – 3 weeks.. So the list and photo views are showing the start and end of the first occurance, which is a single date with a time span. So I guess my question should actually be, how can I show the date of the first occurance to the date of the last occurance? Is that possible? Or is that in fact only possible with the entering of the recurrance description, bringing us full circle to the original issue?Apologies for my lack of clarity in the original description of this request!
February 4, 2016 at 2:40 am in reply to: Show full date range rather than first date and time. #1067415Abby
ParticipantHi Hunter,
I feel like perhaps I’ve double dipped with this assistance request. I thought that as my other ticket was initially for a different issue I should start another, but since I posted this I’ve had a response from Josh. See the ticket at https://theeventscalendar.com/support/forums/topic/theatre-events-proving-complex-to-schedule-as-recurring-events/#post-1066375Unfortunately the filter provided is not showing the end date?
Many thanks,
AbbyFebruary 2, 2016 at 1:50 pm in reply to: Theatre events proving complex to schedule as recurring events. #1066599Abby
ParticipantThis reply is private.
January 29, 2016 at 10:34 pm in reply to: Theatre events proving complex to schedule as recurring events. #1064763Abby
ParticipantHi, I’m not sure if it’s okay to jump back on here or if I should start another support ticket?
I wondered if you could point me in the right direction to find out more about the “tribe_events_event_schedule_details_formatting” filter? I have read this page https://theeventscalendar.com/function/tribe_events_event_schedule_details/ but as I’m relatively new to this I’m unsure how to create/access the filter?
January 19, 2016 at 5:47 pm in reply to: Theatre events proving complex to schedule as recurring events. #1058929Abby
ParticipantThanks Josh, that should do it.
I look forward to hearing when the recurrence description issue bug is fixed.Many thanks for your help.
January 18, 2016 at 12:37 pm in reply to: Theatre events proving complex to schedule as recurring events. #1058067Abby
ParticipantThank you! I knew I was misunderstanding the interface somehow. You have clarified it wonderfully for me and your approach will work for this purpose.
I have tried entering alternative data into the ‘Recurrence Description’ field but it just disappears when I save? Would this be to do with my theme?
Lastly, is there perhaps an easy way I can have the date range showing in the photo and list view, and in the single event details rather than the first date and time? (Does this question need to be a separate support request?)
Many thanks,
AbbyAbby
ParticipantThanks for your assistance Geoff,
I will try the custom menu but it may not work with the restrictions of the site in question. I am a bit disappointed that the filters don’t work as I imagined they would, and indeed that filtering by category is not part of TEC itself. However both these things are apparent prior to purchasing so I can’t really complain.
Many thanks,
Abby -
AuthorPosts
