Forum Replies Created
-
AuthorPosts
-
April 17, 2014 at 6:02 am in reply to: Week days only in events that span more than one week? #134806
justjuicy
Participantalso.. i guess the above are separate weekly events? ..or are they the same event?
If they are separate events, then it won’t work. As we already repeat the same courses monthly and this function would be good to automate our reoccurrence, but not to set up a single event, as one event i guess?April 17, 2014 at 5:59 am in reply to: Week days only in events that span more than one week? #134788justjuicy
ParticipantHi Barry
Thanks for the reply.
Its close..but i think it wont work for all.
Our courses are not always ‘3 weeks’ long. They might be 8 days. Which means they have 5 days one week, and 3 days another.Is there any way to do that??
April 16, 2014 at 11:12 pm in reply to: Week days only in events that span more than one week? #134507justjuicy
Participanti put it as a feature request here:
http://tribe.uservoice.com/forums/195723-feature-ideas/suggestions/5789786-allow-weekends-to-be-exluded-in-events-that-span-tbut in the meantime my client will be kicking my ass about this!!
April 16, 2014 at 11:00 pm in reply to: Week days only in events that span more than one week? #134501justjuicy
Participanthi Barry.
This is terrible.
If i do as you say and set it up as a ‘Recurring Event’ in pro, then it will just be several separate events or can they be linked? Our courses already reoccur every month.. so this will be very confusing.Also we are hoping to sell the curses using the ticketing plugin.. (wootickets). I am guessing this will make that impossible??
It seems the plugin is focused on single day events.
It would really help you if you could cater for corporate (working day) events.
On the settings you could have ‘my event occurs only on these days’ then have a day list with tick boxes. Or options to set the weekend, and ‘exclude weekend’ as a tick box.I will submit this as a feature request. it is beyond my skills to do the customization.
November 25, 2013 at 10:45 pm in reply to: Custom display of single events on wordpress page. #78602justjuicy
ParticipantI meant to ask. . is it not possible to look at based on your previous decision to pass it onto Rob? Had I not been ‘out of action’ it would have been resolved by now.
thanks again
November 25, 2013 at 10:40 pm in reply to: Custom display of single events on wordpress page. #78601justjuicy
Participanthi Barry. in my prevoius post you were happy to address this issue and passed it onto Rob to deal with. I just started this new post as the other one got closed while I was in hospital.
the post is here
https://tri.be/support/forums/topic/custom-diplay-of-events-on-page/#post-60541Thanks
Stevejustjuicy
Participantor an alternative would be to display a list of tickets available for a category outside of the calendar?
IE – The tickets selector on this calendar page:
http://www.moderngulf.com/newsite/calendar-dates/test-event/but show the ticket list on another page?
justjuicy
Participantjustjuicy
Participantsorry. code from pastebin:
justjuicy
ParticipantSorry. I meant to add – I’ve still not resolved this issue. I was ‘out of action’ with a hospital procedure, and only just got back to this. In the previous post Rob and Barry were good enough to have a look at this for me.
I am wanting to display the ‘tvikets’ as described above on this page:
http://www.moderngulf.com/newsite/courses/management-development/It was almost working in a previous version of the plugin.. but not when i upgraded. I am using the code inside a wordpress page template below:
array(TribeEvents::POSTTYPE),
‘posts_per_page’ => 10,
‘post_status’ => ‘publish’,
‘meta_query’ => array(
‘relation’ => ‘OR’,
array(
‘key’ => ‘_EventStartDate’,
‘value’ => array(
date(‘Y-m-d H:i:s’, strtotime(‘now’)),
date(‘Y-m-d H:i:s’, strtotime(‘+16 weeks’))),
‘compare’ => ‘BETWEEN’,
‘type’ => ‘DATETIME’
),
array(
‘key’ => ‘_EventEndDate’,
‘value’ => array(
date(‘Y-m-d H:i:s’, strtotime(‘now’)),
date(‘Y-m-d H:i:s’, strtotime(‘+16 weeks’))),
‘compare’ => ‘BETWEEN’,
‘type’ => ‘DATETIME’
)
),
‘tax_query’ => array(
array(
‘taxonomy’ => TribeEvents::TAXONOMY,
‘field’ => ‘slug’,
‘terms’ => array(‘management-development’),
‘operator’ => ‘IN’
)
)
);
$get_posts = null;
$get_posts = new WP_Query();
$get_posts->query($args);
if($get_posts->have_posts()) : while($get_posts->have_posts()) : $get_posts->the_post(); ?><!–<a href="”> –>
–
<a href="”> > View Details
justjuicy
ParticipantHi Rob.. i had a problem with upgrading to 3.0 – as in this thread. https://theeventscalendar.com/support/forums/topic/moved-liscense-updated-wootickets-now-not-working/
The upgrade is working now.
I am still struggling with the code in this post though.
Will anything have changed in 3.0?many thanks
stevejustjuicy
ParticipantHi Sam. thanks for the reply. I ran all the updates again and it seems to be working! I also ran the latest wordpress update. Not sure what fixed it. Many thanks
justjuicy
Participanthmm. ok with the ‘old’ versions the WooTickets show up fine. Im sure if i upgrade again it will stop working. What to do?
justjuicy
Participantim uploading the local site to the live server to ensure there are no differences in other files. It will take a while. Ill then see what happens on the live side. The upload will mean the new plugins will be overwritten. Ill upload the pluggin again in about 8 hours (its late here). thanks
justjuicy
ParticipantHi Jonah.
Thanks for the information above. This is just what I am looking for!
I have tried both the code snippets – and successfully got them both to work with my theme. I am now trying to combine them.. but due to failing php skills I can’t seem to get it right.What i would like it to do is set up a page template to have a single event category displayed, and also have the date filtering code work alongside that (as above). The result would be a single category, with only future events from the next 2 weeks displayed.
my template code with the date filtering is this:
http://pastebin.com/c3zPnruTI’ve tried to slot in the tax_query parameter 100 different ways. but it seems to always show ALL categories.
Thanks
Steve (in Muscat, Oman) -
AuthorPosts
