Viewing 6 replies - 1 through 6 (of 6 total)
  • Is there a option to enable comments on ‘event made easy’?.

    You’ll also have to add any custom post_type, ‘event made easy’ uses.. Add the following filter to your functions.php:

    // add custom post_types to bbpress topics for posts plugin
    add_filter( 'bbppt_eligible_post_types', 'bbppt_add_post_types');
    function bbppt_add_post_types ($content) {
    	array_push($content, 'event', 'song'); // add extra post_types here
    	return $content;
    }
    Thread Starter AdventureRidingNZ

    (@adventureridingnz)

    Thanks for that, I’ll see if I can figure out what event types Events made easy uses and try that out.

    Hey there, I have the same question but I use a different event plugin, mine’s called Espresso Events and the custom post type is called espresso-events (yes, there’s an S on the end even when it’s singular).

    I’ve tried using this code but it’s not working for me

    // add custom post_types to bbpress topics for posts plugin
    add_filter( 'bbppt_eligible_post_types', 'bbppt_add_post_types');
    function bbppt_add_post_types ($content) {
    	array_push($content, 'espresso_events'); // add extra post_types here
    	return $content;
    }

    Strange, because it looks like it should work.

    I did test on a normal post, so generally, the plugin is working on my install.

    The forum topic replaces the comments section of your pages. I don’t believe Espresso events has comments on on event pages. It looks like it would be much more complex to add to that events plugin.

    It does actually have comments, so it SHOULD work, although admittedly it is a complex plugin.

    I get a white screen of death. This is what my debug log says:

    [26-Mar-2015 14:23:54 UTC] bbPress Topics for Posts: Processing a topic for regular post 2002 with the following settings: Array
    (
        [form_displayed] => true
        [enabled] => open
        [forum_id] => 1756
        [copy_tags] => on
        [use_defaults] => on
        [display] => topic
        [display-extras] => Array
            (
                [xcount] => 5
                [xsort] => newest
            )
    
    )
    
    [26-Mar-2015 14:23:54 UTC] bbPress Topics for Posts: Creating topic?: 1; using defaults?: 1
    [26-Mar-2015 14:24:20 UTC] bbPress Topics for Posts: NOT creating a topic for regular post 2002
    [26-Mar-2015 14:24:20 UTC] PHP Notice:  Undefined variable: topic_ID in /var/www/vhosts/kingstonnexus.ca/httpdocs/wp-content/plugins/bbpress-post-topics/index.php on line 382

    Exciting update! Okay so the white screen of death only appears when I’m trying to CREATE a new topic.

    However, turns out the topics were being created anyways, but they weren’t being assigned to a forum, so I have a bunch of topics that were created, not assigned to a forum, and not showing up on the event page. But when I went through and manually assigned the topic to a forum, and then told the event to display an existing topic, it works.

    So, the exciting part is it’s not automagically incompatible with espresso events. The less exciting part is the fact that it’s still not working all that smoothly.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Use topics for event listings’ is closed to new replies.