Forums

[resolved] Change Comment Author link (8 posts)

  1. tjbrewers
    Member
    Posted 10 months ago #

    I'm running a WPMU with BuddyPress on the subdomain. All users of all sites are BP members, registration is through the BP site. On the main site, when a user posts a comment, the link shows mainsite.com/members/username instead of bp.mainsite.com/members/username.

    I'd like to filter into (through my child template's function.php) comment-template.php to change the url. How do I do that?

    Thank you, Tonya

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 10 months ago #

    Does bp.mainsite.com/members/username exist? Normally it should all point back to the main site were BP was installed.

  3. tjbrewers
    Member
    Posted 10 months ago #

    No, on the mainsite there is no members/. Although BP is network enabled, it is assigned to the secblog (subdomain), which is where the /members/username exist.

    With that, how am I able to hook into comments-template.php?

  4. Andrea_r
    team pirate
    Posted 10 months ago #

    Did you post over on the BP forums? You're likely to get better help there, as it should detect that the BP blog is not the main.

  5. tjbrewers
    Member
    Posted 10 months ago #

    Hi Andrea,

    Yes, I posted there just a little bit ago.

    Thanks, Tonya

  6. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 10 months ago #

    You need to set the BP Root Slug constant for that, though if you have and that doesn't work, this should be fixed in the next BP release.

  7. @mercime
    Member
    Posted 10 months ago #

  8. tjbrewers
    Member
    Posted 10 months ago #

    Marked it as issue resolved.

    Thanks for your help!

Reply

You must log in to post.

About this Topic