Support » Plugin: Events Manager » what is the buddypress activity type for new event?

  • Resolved Keno

    (@tangpage)


    been trying to figure out what it is… no result…

    i want to use something like:

    <?php if (bp_get_activity_type() == ‘new_blog_post’ ) : ?>

    to create different look for new events on activity stream…

    anyone could help…? thanks in advanced… ; )

    https://wordpress.org/plugins/events-manager/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    maybe you can try php file under events-manager/buddypress/bp-em-activity.php

    l have looked it up … but failed to figure out…

    i tried:

    <?php if (bp_get_activity_type() == ‘new_event’ ) : ?>

    and

    <?php if (bp_get_activity_type() == ‘event’ ) : ?>

    but none of them help…

    any idea?

    Plugin Support angelo_nwl

    (@angelo_nwl)

    sorry haven’t tried this yet but what happens when you echo bp_get_activity_type() ?

    returned nothing!

    so, events manager doesn’t register activity type for new event…?

    and i also found, profile picture changing returned nothing either…

    Plugin Support angelo_nwl

    (@angelo_nwl)

    hmm, em-bp activity is under events-manager/buddypress/bp-em-activity.php and maybe you can try to modify this file instead.

    ahhhh, i don’t know how to do that…. ; (

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘what is the buddypress activity type for new event?’ is closed to new replies.