WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
Events and calendar not showing on site (73 posts)

  1. Shane Pearlman
    Modern Tribe
    Plugin Author

    Posted 2 years ago #

    So basically, the events are not gone at all, they just now live in their own place rather than the main loop. We do have a thread on the forum (somewhere) on how to add them back to the main loop if that is important.

    Any reason you are not using pretty permalinks? You will have much much better seo if you do. There is a known bug with events for sites not using pretty permalinks that we will tackle in 2.0.2 ( a few weeks).

    To find you events calendar just add it to the menu (easiest approach). admin > appearance > menu > events panel > check "events". If you don't see events click on the screen settings tab and you should be able to turn it on in there.

  2. cosmocanuck
    Member
    Posted 2 years ago #

    Hi Shane - I can wait for the new documentation but I've posted elsewhere about my discovery that the grid/calendar is now broken in the old version (which I reinstalled after my failed attempt to upgrade). Client is quite upset about this and I can't seem to fix it - I know 1.6.5 non-PRO support is basically off the table but if you could glance at the code (which I've added to the other thread, called "Calendar (grid) view broken (version 1.6.5)"). If it's a quick fix, that would be a lifesaver!

  3. Shane Pearlman
    Modern Tribe
    Plugin Author

    Posted 2 years ago #

    cosmocanuck - 1.6.5 was broken ALL over the place with the latest build of WordPress. It is a pretty old build. Have you upgraded WordPress since you reverted or changed your theme? I don't see why it would break when it worked before if nothing changed. I'm traveling this week and we are pushing hard to get 2.0.1 out to the community to help on some of the more interesting bugs. I'll try to take a peek but honestly, not promises. You might be safer grabbing a code savvy freelancers if this is timely.

  4. cosmocanuck
    Member
    Posted 2 years ago #

    Thanks for the reply Shane. For all I know it might have broken after a WP upgrade and may not have checked or noticed at the time. I agree that moving to 2.0 is the way to go. Definitely would rather be on board with the new version but will definitely need template tag reference before I do that... looking forward to that reference coming soon! Thanks!

  5. Shane Pearlman
    Modern Tribe
    Plugin Author

    Posted 2 years ago #

    cosmocanuck - which other thread?

  6. cosmocanuck
    Member
    Posted 2 years ago #

    It's called "Calendar (grid) view broken (version 1.6.5)"....

  7. dotkom
    Member
    Posted 2 years ago #

    you guys are AMAZING !!!!! Gonna try this today.

    -Todd

    p.s. the upgrade looks solid. Thx

  8. dotkom
    Member
    Posted 2 years ago #

    No luck adding "events" to menu....I mean I could add individual events to menu of course but not an 'events' tab...also where did grid calendar go? thx in advance....good to know i haven't lost stuff & just need to move around :)

    -Todd

  9. Shane Pearlman
    Modern Tribe
    Plugin Author

    Posted 2 years ago #

    it is in the events menu panel. Click view all tab to see all options, Item is called "Events" and is usually first, everything else is an actual event. screenshot: http://cl.ly/BNWi

    That should take you to the list or grid view depending on your settings preference. Both views have a quick toggle.

  10. redir
    Member
    Posted 2 years ago #

    Ok so here's my problem. Found this thread Googling. One of my admins upgraded the plugin to 2.0 and didn't back up the DB first :(

    If I remember correctly we used to add events through the Post function and simply check the appropriate items to have them added to the calendar rather than a blog post. I'm just the admin not editor so IDK. Anyway after the upgrade the calendar page was only available in list view and there were no events listed under events but rather they were all listed under Post.

    So what I did was upgrade it again to 2.0.1 and then migrate the data as per the discussion in this thread. Now there are events listed under the Events section AND those events are also still listed under the Post section.

    The problem? My events page is still stuck in list only view: http://www.blacksburghistory.org/?cat=5 with no option to go to a calendar view. Under settings for the event calendar I have selected the calendar view.

    It's almost as though that page is a blog roll getting it's data from the Post section rather than a calendar getting the data from the Events.

  11. Greg Dyer
    Member
    Posted 2 years ago #

    I found all of my "missing" post still in the database but were changed from 'post' to 'tribe_events'

    changing the 'post_type' from 'tribe_events back to 'post' returned all of my missing post.

    I had to re-create the 'tags' and some of the calendar info...but everything's back.

    ** This is under 1.6.5 - I could not get 2.0.1 to work on my site.

    NO events I had migrated over - I was missing the 'featured image' on the new events page...I'll have to stick with 1.6.5

    Hope this helped someone... I've spent quite a few hours rebuilding...

    Greg

  12. bwp
    Member
    Posted 2 years ago #

    Well that's good to know -- somebody could write a quick script to set all tribe_events back to posts (since Tribe has declined to offer any backwards conversion utilities). Thanks, Greg!

  13. Jonas Grumby
    Member
    Posted 2 years ago #

    There is a known bug with events for sites not using pretty permalinks that we will tackle in 2.0.2 ( a few weeks).

    Unfortunately the other site that I use this plugin on does not use pretty permalinks because it is a members-only site that requires a login to see anything other than the homepage. So, they don't care about SEO and prefer the short URLs. I guess I'll wait for 2.0.2 before upgrading that site.

    @redir This bug may be what is affecting you

    @cosmocanuck If you hit Migrate Data when you tried to upgrade, then the post types have been changed and you probably can't downgrade to 1.6.5 without changing them back.

    @bwp There's a script to change all the post types (that's what Migrate Data does) so there must be a way to write one that changes them back.

  14. Jonas Grumby
    Member
    Posted 2 years ago #

    p.s. One thing that may not be obvious to everybody is that with the new versions (2.0+) the address of your calendar is different from what it was with the older versions. You can see the new address in the admin, and you have a few choices as to how you can provide a link to it. If you still have an Events link in your Categories menu it will not work. You can use a custom menu to drop the category and also to add the new link, or you can use code or a widget to exclude that link from showing. There is also the Page Links To plugin that allows you to specify what you want a page menu link to point to. There are several way to get your links to your new calendar to work. If you are using a theme that supports widgets, the Custom Menu Widget may be the easiest way to go.

  15. Greg Dyer
    Member
    Posted 2 years ago #

    My site uses the default %page#% and with 2.0 migrating all my events to %post_name% it burried all my events.

    I never was able to get 2.0 to update the new events to my old permalink structure... I tried .htaccess writes...changing the new event to the old permalink #post_num#%...nothing.

    I'm not sure what's different with my site...but with the featured image panel missing it makes 2.X unusable for me.

    I do not use the calendar feature. I really only need to set the place/time/google map link-

    everythingpuntagorda.com

  16. Jonas Grumby
    Member
    Posted 2 years ago #

    Something like /%year%/%category%/%postname%/ is less likely to cause linking problems.

    I don't think you'll be able to get the new calendar to resolve to the old link structure. It seems like the approach that is being advised is to use a custom menu to make your calendar link work.

    HTH

  17. bwp
    Member
    Posted 2 years ago #

    Jonas, you seem to be working a lot with the new version now, and even providing patches, and I gather that you like it. May I ask if you like it better than 1.6x, and if so for what reasons?

  18. Jonas Grumby
    Member
    Posted 2 years ago #

    Hi @bwp. I do like the new version. I'm honestly not sure what the advantage is in using custom post types as opposed to post categories. In some ways it's unfortunate that the plugin used to be so plug-n-play and now it takes more fiddling to make it work the way you want it to. The back-end interface is better though and it works well. Hopefully the community support will keep going and people will post more code examples so that other people can use the plugin and get the results that they want. It's still the best calendar plugin out there IMO and there are problems with using 1.6.5 and earlier versions of the plugin with the latest version of WordPress (because of jQuery changes and things like that). So, I feel the best thing to do is upgrade the plugin and make it work for you. I don't know the URL of the site you are working on or what specific concerns you have about the newest versions of the plugin but feel free to ask.

  19. bwp
    Member
    Posted 2 years ago #

    Well it seems to me the ONLY advantage to the new version is that it will be supported while the old version will not be supported. Everything else about it seems to be a downgrade. The separation of posts from events means that in many cases people have to re-enter information twice for the same content. The separation of a different class of categories means complete non-integration with everything else going on with one's site. If we have, for example, speaker John Doe appear, and I want an event listing and press clips about that event, and follow-up photo galleries for that event, and blog posts related to that event, to all be gathered under a "John Doe" category or "Our Events" category, it's not going to happen with TEC 2.x, whereas it's trivial to accomplish with TEC 1.x.

    It's good that the back end is improved, but I think they've thrown out something great.

  20. bwp
    Member
    Posted 2 years ago #

    I gave similar examples at http://wordpress.org/support/topic/plugin-the-events-calendar-event-calendar-custom-fields-not-included-in-new-posts-any-more?replies=20 and elsewhere...

    "Right now (with the 1.x version of the plugin) a URL of that form can seamlessly list both TEC Event notices/posts and subsequent newspaper article or photo coverage of those meetings -- because they are all checked in the single "OurMeetings" category."

  21. Greg Dyer
    Member
    Posted 2 years ago #

    Agree with you bwp.
    I'm going to stay with 1.6.5
    50% of my site is event driven, and seamless calendar integration is essential to the post information.
    I have separate calendar application 'easy PHP calendar' that I use to add 'non post worthy' events.
    As Tribe mentioned...this change was inevitable as WP progresses, so I probably will wait to re-engineer my site at a later date when I can integrate 2.x.
    I see calendaring is critical to many developers, and I appreciate Tribes attempt to stay ahead of the curve...but this threw me a curve when I was not ready for it...and yes...I clicked 'auto upgrade'...and scratched my head...and thought 'ok...well this didn't work for me' let me back this out...and found there was no 'backing out' short of a full restore. That ticked me off... I use Backup Buddy but full restores are sometimes more problems. So I went to the database to see what changed...and hunted down the changes.
    I really wish Tribe would have came up with a backout script...but I must be in the functional minority so I'm on my own.
    I would love to change my permalinks... but am afraid of loosing ranking...lost links...and so on.
    If anyone has any suggestions for any plugins that will change my permalinks...I'm open.
    All the best to version 3.x...lol...I'll be waiting.

    Greg

  22. Mark
    Member
    Posted 2 years ago #

    The thing I noticed about 1.6.5 is that it jacked with the core functionality (at least on my site) in conjunction with other popular plugins. For whatever reason when I was running 1.6.5 I could not go to Posts or Pages and view/edit/delete them since they did not show up in the list. I could see the number count of each section but that was it. I'd disable EC and WA-LA they would appear. I was running PageMesh too, but disabling those plugins did nothing. But when I disabled EC then I could see the Posts/Pages. I don't know what was going on there, perhaps EC wasn't playing nicely with other plugins or something. I've used EC 1.6.5 LOTS of times and never had this issue, but when I started using it with other plugins then all hell would break loose. Now with 2.1 that issue went away, so it definitely had to be something with how 1.6.5 was written.

    So I'm happy to see that issue get corrected, NOT happy AT ALL with the length of time for documentation to be presented though! I just need to pull the posts to the front page of the site, then I'm done with that portion of things. The developers need to do a better job at delivering on the goods when they say they are going to deliver. Sounds a little too much like the cable company :)

  23. Jonas Grumby
    Member
    Posted 2 years ago #

    it's not going to happen with TEC 2.x

    You could probably do it but you would have to use a custom template for that category and write a loop query that would look for posts from the category and also the post type (like an if and elseif type of thing or you might be able to enter both into an array).

    I would say you could just use a tag archive and a custom menu link to point to it, but apparently the events no longer support tags :(

    I agree that the new version makes it hard to do things the way you used to. It will be less obvious to new users. The old version had some bugs though, and it's not being supported or updated any more (presumably).

  24. Jonas Grumby
    Member
    Posted 2 years ago #

    I just need to pull the posts to the front page of the site, then I'm done with that portion of things.

    http://tri.be/show-your-events-in-the-main-post-loop/

    Works great!

  25. redir
    Member
    Posted 2 years ago #

    So I went and built a mirror of my site on a test box so I could fix and or break it there. I went back to where it was right after 2.0 was installed, no migration yet. That was the last back up I had. Then I deleted the 2.0 plug in and reinstalled 1.6.5 and now it appears that I am back to normal again, no data loss since they are all posts anyway. At least on my test box. I'll do the live box today or early tomorrow. I'll probably just stick to 1.6.5 unless I can easily work it out on my test box. I'm not really concerned about functionality but if the 2.x version also includes security enhancements than I'd definitely want to upgrade.

  26. Jonas Grumby
    Member
    Posted 2 years ago #

    Yes, if you have not done the migration you can just put the old plugin files back and you're back. If you have done the migration, you have to roll back to the backup that you made right before you did the upgrade to 2.x as well. If you migrated and do not have a backup you would have to manually change all of the custom post types back to post (the default type).

  27. Shane Pearlman
    Modern Tribe
    Plugin Author

    Posted 2 years ago #

    Hi everyone,

    We hear ya!

    @jonas - Tags will be in 2.0.2. =)

    @Mark - I'm sorry it took two weeks to get the documentation out and that upset you. We really debated between delaying the launch for two more weeks vs launching and having the docs come out later. After polling the community, those who engaged pushed us to release sooner and were willing to wait. It is always a give and take.

    @bwp & greg (et al) - you guys are genuinely in a vocal minority. That said, there are just enough people asking for a way to make an event once and have it show up in the post loop (without using jonas handy hack or double entry), that we are going to look at options. How would you like it to work? Premise: we aren't leaving custom post types.

    If someone wants to write a back-out script for the community (shouldn't be too hard), I'll throw a couple hundred bucks for you to do that (we simply don't have the bandwidth and need to focus on getting bugs fixed and the next add-ons out before we get lynched). Ping me at pro@tri.be.

  28. Jonas Grumby
    Member
    Posted 2 years ago #

    Thanks Shane,

    If we could assign tags to events, then it would be pretty easy to use a custom menu to point a link to the tag page and have your events show up on the same page as non-event posts that have the same tag. Does that seem plausible?

    Thanks,
    Jonas

  29. dotkom
    Member
    Posted 2 years ago #

    I'm SO CLOSE shane....

    http://forevermusicpresents.biz/

    got pretty permalinks, got 'events' linked in my nav (along w/ calendar) but i'm still double posting. I'd like to get the look of the events list proper w/ colors etc then just show that as my homepage and abandon posts altogether. This site is 99% events. thx in advance for all of the help.

    -Todd

  30. Jonas Grumby
    Member
    Posted 2 years ago #

    Looks good.

    If you choose the calendar as the default view in the Settings, then you don't have to add month/ to the URL (e.g. http://forevermusicpresents.biz/events/month/ would not need to have month/ at the end). That's a pretty minor point though.

    I'm not sure why you are still double-posting. You can show your events on the home page (or an archive or tag page) by adding this to the functions.php of your theme...

    http://tri.be/show-your-events-in-the-main-post-loop/

    (I put is_tag() in there as wishful thinking that in a future version we will be able to assign tags to events.)

    HTH

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic