Forum Replies Created

Viewing 15 replies - 76 through 90 (of 93 total)
  • Thread Starter Jim Reekes

    (@reekes)

    D’oh!

    Thanks

    Thread Starter Jim Reekes

    (@reekes)

    I’m feeling stupid. Can you be more explicit?

    If I do this:

    array_shift($terms);
    var_dump ($terms);

    I get this:

    array(0) { }

    And after that I have just more head banging.

    I keep thinking there’s just one or two lines of code that would get me the category slug I’m looking for, to pass to eo_get_events().

    Thread Starter Jim Reekes

    (@reekes)

    No filters applied, but I got only a few events. Then I could click Load More, but that was the last time that button appeared. I think I hit the max of 10 limit kajakroute mentioned.

    For now I just edited the JavaScript as kajakroute described. That let me go back the 10 max limit.

    I would also like to control how many are initially presented. I’m only seeing the first few, when I’d like to get at least 10 on the first viewing.

    Even better would be control by date (e.g. all events in Feb) and by category or venue. Those would be really handy shortcodes ??

    Thread Starter Jim Reekes

    (@reekes)

    FYI – echo var_dump ($terms);

    array(1) { [348]=> object(stdClass)#644 (12) { [“term_id”]=> int(348) [“name”]=> string(48) “BLAH” [“slug”]=> string(9) “THIS_CATEGORY” [“term_group”]=> int(0) [“term_taxonomy_id”]=> int(379) [“taxonomy”]=> string(14) “event-category” [“description”]=> string(46) “BLAH” [“parent”]=> int(353) [“count”]=> int(5) [“object_id”]=> int(9195) [“filter”]=> string(3) “raw” [“color”]=> string(7) “#42217E” } }

    Note – I edited the text of some fields just for this post. Nothing meaningful. It’s the data structure that matters.

    Thread Starter Jim Reekes

    (@reekes)

    perfect – it was a one-line change!

    Thread Starter Jim Reekes

    (@reekes)

    This worked out nicely. The top of this page is the name of the course, listing all the other dates and locations.

    I used the current event’s category to find all the other events in that same category. Then I output all the events in the list, making the URL’s title the date and venue.

    Thread Starter Jim Reekes

    (@reekes)

    FYI – this comes from the author of Events Organiser

    So I know what is causing it. The drop-down menu is effectively changing the admin urls. I’ve not looked into the details as to why, but with ozh deactivated the admin venues page url is:

    /wp-admin/edit.php?post_type=event&page=venues

    However, when ozh is activated clicking the venues link takes you to:

    /wp-admin/admin.php?page=venues

    Note that the original url still works – its just the new admin menu points to this second url. The venues page works fine, however the edit venue url (which is the above appended with ?action=edit&venue=[venue-slug]) works for the first url but not the second.

    As such if you activated Ozh and manually type the first url you’ll find you can still edit the venues. If you actually click the link in the new admin menu it takes you to the second url, and that produces a faulty edit-venue url. Bizarre.

    I’ve not looked into detail as to why alternate urls are being generated, but as it happens using get_edit_term_link() produces a valid edit-venue url, so in the next update I’ll be using that rather than appending ?action=edit&venue=[venue-slug]. So both plug-ins will be compatible in the next update.

    Thread Starter Jim Reekes

    (@reekes)

    Stephen, awesome work!

    I’ll follow up with my post to the author of Ozh and cite you’re discovery.

    BTW – I’ve been playing with Events Organiser all day and finding it’s really great. I see that the code is written well, and nicely documented. Lots of good options built in, and many hooks/filters for exploring.

    I used to be a VP of Products for a calendaring company way back before calendars went on-line. A decent events calendar has been like a holy grail. Surprising to me that so many attempts and few successes. EO is at the top of my list of finds.

    Thread Starter Jim Reekes

    (@reekes)

    The two plugins (this + Ozh’ Admin Drop Down Menu) have a conflict.

    I’ve used Ozh on many sites and for years, but never found a problem before. So this was surprising. The crash is too deep into the internals of WordPress for me.

    For now I’ll live without Ozh, as Event Organiser is more important to the site.

    Thread Starter Jim Reekes

    (@reekes)

    esmi – Sorry for the confusion. The deleted messages I was referring to were not here on this forum, but on his own site (in the pre-sales support area).

    I had also mentioned the problem on this forum the day before, but I’m not getting follow-up posts via email (for some reason, and the email in my profile is correct).

    I happened to find a followup only because I was reviewing messages.

    I had added a “duplicate” as it was a review, not a duplicate question. That was after waiting a day and finding two messages were deleted asking for help (on the developer’s site, not here).

    I went to my review, hoping I could delete it as I’ve now found something new that changes the story. But I can’t delete or even edit my review.

    I’d prefer to have it deleted. If you can, please do.

    I’d like to post a new (much better) one after I get the plugin working.

    Sorry to Stephen for the confusion (many different parts have all conspired against me).

    Thread Starter Jim Reekes

    (@reekes)

    wow – the conflict is with “Ozh’ Admin Drop Down Menu”
    https://www.ads-software.com/plugins/ozh-admin-drop-down-menu

    First time this old reliable (and great) plugin has caused me any problems.

    I need the Event Organiser more than Ozh, so for now I’ll say goodbye to my old friend (at least on this site in question). I’ll send a note to Ozh and mention the problem.

    Thanks for the reply. No idea why I’m not getting follow-up emails from this thread. I never got any emails from you either (in case you tried). I just happened to see a response to another question, which led me back to this older one.

    Thread Starter Jim Reekes

    (@reekes)

    hmm, that error about about has_cap seems to be happening all the time, even when things are “working”

    Thread Starter Jim Reekes

    (@reekes)

    With WP_DEBUG enabled, I get this:

    Warning: include() [function.include]: Failed opening ‘/nas/wp/www/cluster-1359/MYWEBSITE/wp-content/advanced-cache.php’ for inclusion (include_path=’.:/usr/share/php:/usr/share/pear’) in /nas/wp/www/cluster-1359/MYWEBSITE/wp-settings.php on line 65

    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /nas/wp/www/cluster-1359/MYWEBSITE/wp-includes/functions.php on line 3006

    Cannot load venues.

    Thread Starter Jim Reekes

    (@reekes)

    As I understand it, the screen I’m talking about is the “WordPress White Screen of Death”

    Why is this plug in triggering it?

    How do I go about finding the problem and fixing it?

    Thread Starter Jim Reekes

    (@reekes)

    Can I assume that you had a working TEC prior?

    Yup, I was testing the use of it. Got it basically working. Then added the Events Calendar Category Colors when I started getting this error message.

    I eventually found I had to deactivate the plug in. Then I could get back to the working TEC. Activating Events Calendar Category Colors once again caused the problem to return.

    Sometimes I could get it to work. I think it has to do with if I had another window open that was editing the calendar (or something). I’ll guess it’s a file-busy type of error, and maybe it’s the TEC that’s failing.

    Whatever – I’ve given up on TEC and moved on.

Viewing 15 replies - 76 through 90 (of 93 total)