Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Chiming in: I too have noted the CSV importer is hopelessly broken. I attempted to import a one-line file but, when “previewing”, I got an error that it contained no data. Reverting back to the better 4.2.7.

    (I just tried WP Rollback plugin and it works great. It adds a “Rollback” option to every installed plugin which, if clicked, can install an older version of that plugin. Obviously it could break the data, more likely the further backward one goes, but it skips all those annoying manual steps.)

    • This reply was modified 8 years, 1 month ago by jolshefsky. Reason: Add note about rolling back
    Thread Starter jolshefsky

    (@jolshefsky)

    Yes, thanks. This is working now. I had found the bug fix earlier and edited the code, but since then I’ve updated the plugin to the latest version (which overwrote my change) and it’s working.

    Thread Starter jolshefsky

    (@jolshefsky)

    Neither version 4.1.1.1 nor 4.1.1 fixed the problem, so it apparently has something to do with changes introduced in WordPress 4.5.

    Thread Starter jolshefsky

    (@jolshefsky)

    Thanks for your response, Geoff.

    I added tribe-events/list/content.php to my theme and changed the first few lines to redirect to the “past” view if there were no posts. It feels pretty hackish and I’m not confident in its robustness, but for my site, I think it will mostly work:

    if ( ! defined( 'ABSPATH' ) ) {
    	die( '-1' );
    }
    
    if ( !have_posts() && ( 0 == substr_count($url, 'tribe_event_display=past') ) ) {
    	header('Location: ' . $url . '?tribe_event_display=past');
    	die(); }
    ?>

    As for the import settings, it does seem to be sticky for a while. I’m not sure why it forgets. I update weekly and sometimes quit and restart Firefox several times between updates. Sometimes it is fine after a week. Sometimes it forgets after one import. Not sure how to diagnose the problem.

    My workaround is an AppleScript that tabs through the fields and types the text of each subsequent field in my import (e.g. it switches to Firefox and uses System Events’ “key code” and “keystroke” events to simulate typing “Event Name<tab>Event Description<tab>” …) The hangup is that “Event Show Map Link” comes before “Event Show Map” so “Event Show Map” picks “Event Show Map Link” instead … I have a hack that hits an extra “down-arrow” keycode on that one.

    For what it’s worth, the reason I import so much is because I’m using an external database to add the events. My blog’s event calendar is things to do in my hometown of Rochester, NY. I’ll often be adding events that happen on odd schedules (Fridays and Saturdays at 7:30 p.m. and Sundays at 2 p.m. for 6 occurrences) or ones with odd durations (a series of short films staring at 8 p.m. that run for (12+15+26+8) minutes). Plus I am quoting websites and linking to the source, so I have scripts that insert that text automatically. These things are fairly easy to code between FileMaker Pro and AppleScript, but drudgery using the WordPress post editor. It’s not something that would necessarily be useful to anyone else, either—nor would it be easy to add all the permutations that people require.

    As a side note, I forgot another qualm: events are considered “unique” by title. So if I have an event named “Open Mic Night”, if I import a different event with the event name “Open Mic Night”, it replaces the original. Properly, that action should be disabled (or, at best, an option), and an additional import field of “Event Post ID” would allow a way to uniquely identify events.

    I do appreciate the Themer’s Guide but that is another worry about updating …

    Updating has always been a scary thing for me. Some developers are committed to their user base and would consider it a sin to break backwards compatibility. Others are not so considerate, and this is a common trend in recent years. I think the first sting was when I learned that if I follow Apple’s advice and update iTunes, it breaks access to older versions of iTunes that can’t be updated (since my old PowerBook is my stereo’s iPod). This happens constantly on my Android device where an update will literally break the basic functionality of the application (I’m looking at you, Missing Sync!)

    So when it comes to everything these days, I worry that clicking “Update” may mean all my work gets corrupted, or limited in access, or functionality changes to my dislike. And by customizing the plugin through the Themer’s Guide suggestions, it’s clear that if, say, list/content.php gets updated in version 3.13.1, using my theme’s version that is “frozen” at version 3.12.2 would break things in unexpected ways.

    In any case, while The Event Calendar isn’t perfect, it’s still better than anything else.

    For what it’s worth, I tried this route as well. By switching to the child theme, it appears some of the Themes > Customize settings are reset. I went in and turned off the “Display Header Text” and turned back on the header image.

    Thread Starter jolshefsky

    (@jolshefsky)

    Unchecking “Expand the editor to match the window height” restores the page-up/page-down keys. It would be weird if this were a Mac-specific thing … I’m accustomed to things like Alt-key mappings, but the page keys, really?

    Thread Starter jolshefsky

    (@jolshefsky)

    Yes, the arrow keys work fine. It’s the “page up” and “page down” keys don’t. This will typically move the cursor past the bottom of the presently viewed page to the line of text which, when it re-displays at the bottom of the page causes the previous last line on the page to appear as the first line of the new display.

    Also, for what it’s worth, this is on Mac OSX 10.6.8 with FireFox 32.0.2.

Viewing 7 replies - 1 through 7 (of 7 total)