WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] $member_link for activity wall (8 posts)

  1. af3
    Member
    Posted 1 year ago #

    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/

  2. agelonwl
    Member
    Posted 1 year ago #

    Hi,

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

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

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

  4. af3
    Member
    Posted 1 year ago #

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

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

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

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    the dev version fixes this btw

  7. af3
    Member
    Posted 1 year ago #

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

  8. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.