Support » Plugin: Events Manager » [Plugin: Events Manager] $member_link for activity wall

  • Resolved af3

    (@af3)


    Hi,
    Members username that has dot (.) is replaced with (-) in the buddyboss theme that I am using. With EM, the profile link in the activity wall has to be changed to replace the (.) with dash (-).

    Any other way to do this without changing the code in bp-em-activity.php with these:

    $username_str = str_replace(".", "-", $user->user_login);
    $member_link = trailingslashit(bp_get_root_domain()) . $member_slug . '/' . $username_str;

    Thx

    http://wordpress.org/extend/plugins/events-manager/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    maybe your theme has a hook/filter which you use to handle the (.) in members username.

    Plugin Author Marcus

    (@netweblogic)

    will look into this, I think BP has a dedicated function for this now.

    Hi marcus, can this be included in the next update so we dont have to re-edit the code during updates. thx

    Plugin Author Marcus

    (@netweblogic)

    I added something for this, slightly different, same effect.

    Plugin Author Marcus

    (@netweblogic)

    the dev version fixes this btw

    Seems like the latest version did not incorporate this? i am starting to see this (.) re-appearing again instead of the hypen.

    Plugin Author Marcus

    (@netweblogic)

    is this for all activity feeds or secific ones, e.g. created a new event and attending a new event? I’m thinking I may have missed one specific activity.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Events Manager] $member_link for activity wall’ is closed to new replies.