Skip to:
Content
Pages
Categories
Search
Top
Bottom

Link to Send Private Message is wrong

  • @briandichiara

    Member

    I’m not sure if this is a problem with BuddyPress or some alteration someone has made to this instance. I was handed this project from someone else. One of the issues is that the link to send a private message is:
    messages/compose/?r=recipient-name
    which, if you are looking at their profile, the end URL when you click it is:
    /members/recipient-name/messages/compose/?r=recipient-name

    I compared this with the private message url on the BP install here: http://testbp.org, and it looks like where recipient-name is in the URL, it should be your own username. So, I tested the URL:
    /members/my-username/messages/compose/?r=recipient-name
    And that worked. So the only thing I need to figure out is how to correct the URL. Any suggestions? Can someone point me to the right file and/or patch.

Viewing 6 replies - 1 through 6 (of 6 total)
  • @mercime

    Participant

    Could be a theme issue. Change to bp-default theme and see if same behavior occurs.

    @briandichiara

    Member

    Is this a theme specific to buddy press or are you referring to my WordPress theme? Where do I change it? And if it is theme specific, where in the theme could it have been altered? Thanks for the help!

    @briandichiara

    Member

    Nevermind I found it in themes/mytheme/profile/profile-loop.php

    @zen-gonzaga

    Member

    I found the link! YEAH :D
    i put this on the page…
    <a href="”>

    Please let me know if it helped you..
    it took me days to figure this out.
    Hope it will help me anyone.

    @zen-gonzaga

    Member

    ooh i’m sorry about that.
    a href=””>

    @zen-gonzaga

    Member

    a href=&&>
    remove the -&-.. and replace it with -“-
    got problem with posting it. Sorry.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Link to Send Private Message is wrong’ is closed to new replies.
Skip to toolbar