Forum Replies Created
-
AuthorPosts
-
September 12, 2015 at 4:35 pm in reply to: Changing the names Venue and Organizer on the front end? #1004612
James
ParticipantMad Dog,
Thanks for your post. I tried what you did but I ended up with the “white screen of death”. 🙁
Can you explain where and what you put to make it work for you.
If you look at the code in my post above, which I got from the snippet section of TEC website, it will show what I have.
The
‘Other’ => ‘Other Details’,
‘Details’ => ‘When/Cost’,
‘Out of stock!’ => ‘Sorry this activity is fully booked’,
work but not the Venue or Organizer.Thanks Cheers
James
September 11, 2015 at 4:02 pm in reply to: Changing the names Venue and Organizer on the front end? #1004458James
ParticipantHi Nico,
Thanks for replying. I read through the articles you linked to but unfortunately I’m still no wiser as to what I have to do to make the changes required. Could you point me to something that will explain the steps required, as I’m not a coder as such.
Thanks
Cheers
James
James
ParticipantThis reply is private.
James
ParticipantThis reply is private.
James
ParticipantHi Geoff,
My apologies for the delay in replying, I’ve been away with work this past week.
I’ve undertaken all the troubleshooting steps to look for conflicts and did a database and file search for the date_default_timezone_set() function, all seems to be in order.
I then loaded a fresh install of wordpress version 4.2.3, the twenty fifteen theme, and event calendar with event calendar pro onto a test server, adding a couple of dummy events and a little bit of CSS code. It still seems to have the same problem. Although saying that! I did notice that the current day “marker” seems to be “shading” two days, previous day darker, then a slightly dark for the current day and all other days semi transparent. You can see a screen grab at https://www.jamesdoylephoto.com/images/2015-07-31_7-40-28.png
Cheers
JamesJames
ParticipantHi Geoff,
Sorry for the delay in getting back to you. For the life of me I can’t find what is causing the day to be 10 hours behind. I had someone else look at code and they couldn’t find anything but maybe this CSS snippet maybe something.
/* Calendar Present day Colour */
.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-], .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-]>a {
background-color: #6e9a61 !important;
}Cheers
JamesJames
ParticipantHi Brook,
I’ve been away for the last few days so I haven’t had a chance to look at the files. I’ve go through them again today and see if it is a conflict with a plugin and then I’ll get back to you.
Cheers
James
James
ParticipantSorry Geoff,
I can’t seem to give you access to the files on the server so I’ll copy them here.
nav.php
<?php
/**
* Month View Nav Template
* This file loads the month view navigation.
*
* Override this template in your own theme by creating a file at [your-theme]/tribe-events/month/nav.php
*
* @package TribeEventsCalendar
*
*/if ( ! defined( ‘ABSPATH’ ) ) {
die( ‘-1’ );
} ?><?php do_action( ‘tribe_events_before_nav’ ) ?>
<h3 class=”tribe-events-visuallyhidden”><?php _e( ‘Calendar Month Navigation’, ‘tribe-events-calendar’ ) ?></h3>
<ul class=”tribe-events-sub-nav”>
<li class=”tribe-events-nav-previous”>
<?php tribe_events_the_previous_month_link(); ?><?php if ( date_i18n( ‘Y-m-01’ ) !== tribe_get_month_view_date() ): ?>
<li class=”tribe-events-nav-current”>
getLink( ‘month’ ) ?>”>Back to Current Month<?php endif ?>
<!– .tribe-events-nav-previous –>
<li class=”tribe-events-nav-next”>
<?php tribe_events_the_next_month_link(); ?><!– .tribe-events-nav-next –>
<!– .tribe-events-sub-nav –><?php do_action( ‘tribe_events_after_nav’ ) ?>
**************************************************************************************************
single-event.php
<?php
/**
* Month Single Event
* This file contains one event in the month view
*
* Override this template in your own theme by creating a file at [your-theme]/tribe-events/month/single-event.php
*
* @package TribeEventsCalendar
*
*/if ( ! defined( ‘ABSPATH’ ) ) {
die( ‘-1’ );
} ?><?php
global $post;
$day = tribe_events_get_current_month_day();
$event_id = “{$post->ID}-{$day[‘daynum’]}”;
$start = tribe_get_start_date( $post, false, ‘U’ );
$end = tribe_get_end_date( $post, false, ‘U’ );?>
<div id=”tribe-events-event-<?php echo $event_id ?>” class=”<?php tribe_events_event_classes() ?>” data-tribejson='<?php echo tribe_events_template_data( $post ); ?>’>
<h3 class=”tribe-events-month-event-title entry-title summary”>” class=”url”><?php the_title() ?></h3>
<?php if (has_post_thumbnail() && 1 === $day[‘total_events’]) : ?>
<div class=”tribe-events-event-thumb”><?php echo the_post_thumbnail(array(130,130));?></div>
<?php endif; ?>
</div><!– #tribe-events-event-# –>
<!–Event Availability–>
<?php if ( tribe_events_has_soldout() ): ?>
<span class=”tickets-sold-out”>
Bookings Closed
</span>
<?php elseif ( tribe_events_has_tickets() ): ?>
<span class=”tickets-in-stock”>
Bookings Available
</span>
<?php endif ?>*********************************************************************************************************
tooltip.php
<?php
/**
*
* Please see single-event.php in this directory for detailed instructions on how to use and modify these templates.
*
*/?>
<script type=”text/html” id=”tribe_tmpl_tooltip”>
<div id=”tribe-events-tooltip-[[=eventId]]” class=”tribe-events-tooltip”>
<h4 class=”entry-title summary”>[[=title]]</h4><div class=”tribe-events-event-body”>
<div class=”duration”>
<abbr class=”tribe-events-abbr updated published dtstart”>[[=startTime]] </abbr>
[[ if(endTime.length) { ]]
-<abbr class=”tribe-events-abbr dtend”> [[=endTime]]</abbr>
[[ } ]]
</div>
[[ if(imageTooltipSrc.length) { ]]
<div class=”tribe-events-event-thumb”>
</div>
[[ } ]]
[[ if(excerpt.length) { ]]
<p class=”entry-summary description”>[[=raw excerpt]]</p>
[[ } ]]
<span class=”tribe-events-arrow”></span>
Find out more
</div>
</div>
</script>James
ParticipantMorning Geoff,
I have three modified files in the theme folder for “month”, each are snippets from the EC website.
I’m not too sure how to upload them here so I’m attaching links to each file as they are on my website server.
1. https://www.jamesdoylephoto.com/month/nav.php
2. https://www.jamesdoylephoto.com/month/single-event.php
3. https://www.jamesdoylephoto.com/month/tooltip.php
Hope this helps!
Cheers
James
James
ParticipantHi Geoff,
Sorry for the delay in getting back to you, I was out in the field all yesterday, chasing snow! A rare event here in sunny queensland!
Yes, the cutoff time in your calendar settings is set to 12am.
Cheers
James
James
ParticipantHi Geoff,
Well I did some exploring throughout all the settings and I am suspecting it’s something to do with how wordpress applies the GMT offset. I say that because I was watching the event calendar at 10am my local time eg GMT +10 and as soon as it turned 10 am the “current day” on the calendar switched to the correct day.
In the database, options table, there is an entry of “gmt_offset” but it is blank and even if I enter +10 or brisbane it doesn’t save. I’m not sure if this is anything to do with why the calendar is at GMT and not local current time.
It is interesting that everywhere else the time and date is correct and in the WordPress general setting it is set to Brisbane.
I hope this information might lead you Geoff to think of a solution. 🙂
Cheers
JamesJames
ParticipantHi Geoff,
Everything works fine, events display on the right day etc. It’s only the little highlighted bar which indicates the current day, that is lagging behind. I did notice yesterday, come midday (my time) it did switch over to the actual current day.
You can see what I mean at https://www.jamesdoylephoto.com/activities-calendar/
Cheers
James
James
ParticipantHi Geoff,
I didn’t even noticed that you could select actual cities, you learn something new every day! 🙂
Ok I changed the WordPress timezone setting to Brisbane, where I live and it is still one day behind. I cleared all the caches and turned off all plugins just to see if it made a difference.
Cheers
JamesJames
ParticipantHi George,
Thanks for getting back to me.
I did end up buying the Woo commerce add-ons extension, thinking the same thing as you. That given that Event calendar hooks into WC as a product that it should work but alas after a number of different tries at different ideas, it just doesn’t want to show up in EC. I spoke with support over at WC this morning and they said it wouldn’t be compatible. So they gave me a refund.
What I ended up doing as a solution was I made tickets for each of the bundles of options instead. E.g.
1. Tour without add-ons
2. Tour with single supplement
3. Tour with reef tour
4. Tour with all add-ons
As you can see, it’s workable in that they only have to purchase one ticket for the items they want instead of the multiple tickets that I had setup initially.
I’ll go with this for the moment until I find something different to presenting multiple tickets on an single event.
Just in passing, I had no problems with the 3.10 upgrade, all I had to do was reset the map coordinates in the venues and that was it, everything ran great! 🙂
Thanks for the help, suggestion about the tickets George.
Cheers
James
James
ParticipantHi Brian,
That worked a treat thanks! About a minute and it was done.
I haven’t done anything with the using Satellite by default, looks a bit complicated for me.
As always, great support from you guys and gals, there at Tribe!
Go ahead and close this thread if you want Brian.
Cheers
James
-
AuthorPosts
