Forum Replies Created
-
AuthorPosts
-
December 16, 2015 at 7:50 am in reply to: What to use in place of deprecated function tribe_get_displayed_month #1042327
sunvalleycenter
ParticipantThank you – I was able to get that to work. Would be helpful if Tribe gave us a replacement when they deprecate a function.
May 12, 2015 at 1:02 pm in reply to: Moving from 2.0.11 to 3.9.3 Missing "View as List" page #962190sunvalleycenter
ParticipantNo, I can easily see how the templates work. The function I am asking about is deprecated so was hoping you could tell me what replaces it. Never mind as I have come up with my own solution. Maybe not pretty but its working. Sure would be a nice gesture to document what to do with deprecated functions.
May 11, 2015 at 11:01 am in reply to: Moving from 2.0.11 to 3.9.3 Missing "View as List" page #961873sunvalleycenter
ParticipantSo I was using this function
<?php echo tribe_get_displayed_month(); ?>but it no longer returns the month. Could you please tell me what this has been changed to?May 11, 2015 at 10:26 am in reply to: Moving from 2.0.11 to 3.9.3 Missing "View as List" page #961856sunvalleycenter
ParticipantI will probably still need help on other issues but have devised a work around for previous post.
May 11, 2015 at 9:16 am in reply to: Moving from 2.0.11 to 3.9.3 Missing "View as List" page #961826sunvalleycenter
ParticipantThanks snippet seems to have worked to reverse the order.
I am having some trouble pulling up the specific posts that I want. If I use the link http://test.sunvalleycenter.org/events-calendar/list/?action=tribe_list&tribe_paged=1&tribe_event_display=upcoming then I can get the upcoming posts as well as http://test.sunvalleycenter.org/events-calendar/list/?action=tribe_list&tribe_paged=1&tribe_event_display=past to get the past posts list.
Upcoming post list is correct with above link however past posts list is missing the very last past post.
See http://sunvalleycenter.org/events-calendar/past/ (Old plugin – this works!) versus
http://test.sunvalleycenter.org/events-calendar/list/?action=tribe_list&tribe_paged=1&tribe_event_display=past (missing Sat May 9 post).I can clean up these links using htaccess if needed unless there is another way to get past and upcoming posts to appear?
May 7, 2015 at 11:53 am in reply to: Moving from 2.0.11 to 3.9.3 Missing "View as List" page #961261sunvalleycenter
ParticipantUpdate to previous events issue. If I use the link http://test.sunvalleycenter.org/events-calendar/list/?action=tribe_list&tribe_paged=1&tribe_event_display=past I can get the past events to display.
1. I would like to display past events from most recent to latest
2. wondering how to fix this url – would be nice if link was http://test.sunvalleycenter.org/events-calendar/past instead. Any possible way to do this??May 7, 2015 at 10:56 am in reply to: Moving from 2.0.11 to 3.9.3 Missing "View as List" page #961242sunvalleycenter
ParticipantI am unable to get past events with my list.php or if I remove list.php from the tribe-events folder and use your code the previous events do not show up either?? Please help.
May 7, 2015 at 10:24 am in reply to: Moving from 2.0.11 to 3.9.3 Missing "View as List" page #961218sunvalleycenter
ParticipantI kind of figured you were not around for previous version but thanks for trying. Is there any support person who does know the changes a bit better? I have been able to get actual coding help on this in the past so hoping I can still get that level of support?
I have fixed the date problem.
Next issue: I am able to pull up upcoming events but not previous. Here is my old navigation which is not working as it used to.
http://test.sunvalleycenter.org/events-calendar/list/?tribe_event_display=past/
user: svca pass: 052015
<div id="tribe-events-nav-below" class="tribe-events-nav clearfix"> <div class="tribe-events-nav-previous"><?php // Display Previous Page Navigation if( tribe_is_upcoming() && get_previous_posts_link() ) : ?> <?php previous_posts_link( '<span>'.__('« Previous Events', 'tribe-events-calendar').'</span>' ); ?> <?php elseif( tribe_is_upcoming() && !get_previous_posts_link( ) ) : ?> <a href='<?php echo tribe_get_past_link(); ?>'><span><?php _e('« Previous Events', 'tribe-events-calendar' ); ?></span></a> <?php elseif( tribe_is_past() && get_next_posts_link( ) ) : ?> <?php next_posts_link( '<span>'.__('« Previous Events', 'tribe-events-calendar').'</span>' ); ?> <?php endif; ?> </div> <div class="tribe-events-nav-next"><?php // Display Next Page Navigation if( tribe_is_upcoming() && get_next_posts_link( ) ) : ?> <?php next_posts_link( '<span>'.__('Next Events »', 'tribe-events-calendar').'</span>' ); ?> <?php elseif( tribe_is_past() && get_previous_posts_link( ) ) : ?> <?php previous_posts_link( '<span>'.__('Next Events »', 'tribe-events-calendar').'</span>' ); // a little confusing but in 'past view' to see newer events you want the previous page ?> <?php elseif( tribe_is_past() && !get_previous_posts_link( ) ) : ?> <a href='<?php echo tribe_get_upcoming_link(); ?>'><span><?php _e('Next Events »', 'tribe-events-calendar'); ?></span></a> <?php endif; ?> </div> </div>sunvalleycenter
ParticipantOkay but my list.php is working with the new version except that the date is coming up Thursday January 1 12 am for all events.
http://test.sunvalleycenter.org/events-calendar/list/
*removed by adminhere is code for date:
<?php if (!tribe_get_all_day()):?> <h3><?php echo date('l, F j, g:i a', strtotime(tribe_get_start_date())); ?></h3> <?php else :?> <h3><?php echo date('l, F j', strtotime(tribe_get_start_date())); ?></h3> <?php endif; ?>Could you please tell me what this has changed to?
It seems very strange to me that you would not carry over any of the templates from 2.x to 3.x. My client spent a lot of money to get their events working just the way they wanted and then your upgrade basically broke all their templates. Just saying that I hope I don’t have to redo EVERYTHING.
May 6, 2015 at 12:38 pm in reply to: Moving from 2.0.11 to 3.9.3 Missing "View as List" page #960938sunvalleycenter
ParticipantOkay I have made some progress. Figured out events folder in theme is now tribe-events and so list view is working.
I do notice that there is no longer a view for table.php and gridview.php so can you tell me what view those have become in new version? Single.php is not working either but that may be single-event.php now?THANKS for any help.
May 6, 2015 at 12:33 pm in reply to: Updating Events Calendar Pro from 2.0.11 -> 3.9.3 admin events page is whacked #960930sunvalleycenter
ParticipantNot sure how but issue has resolved itself.
May 6, 2015 at 11:38 am in reply to: Updating Events Calendar Pro from 2.0.11 -> 3.9.3 on test site #960909sunvalleycenter
ParticipantFigured this one out using manual install…
sunvalleycenter
ParticipantOh geez never mind. There was a post that was breaking the rest of the events and once it was removed all the remaining events appeared. Thanks for your help!
sunvalleycenter
ParticipantThanks Barry, I am recoding issues from the past developer so learning as I go… I did what you said and now the dates are working correctly however we don’t get ALL of the upcoming events and there isn’t anything in the code that should limit it. It stops at April 10 (if you scroll through the calendar) and there are events after that date. Am I missing something? Here is code: http://pastebin.com/ZhGqB581
Thanks for your help!March 5, 2014 at 9:16 am in reply to: problem with tribe_get_events(); showing repeated start date #113343sunvalleycenter
ParticipantThanks for all the help – I’ll take it from here and will post back if I run into any specific questions but now I have a GREAT starting point.
-
AuthorPosts
