Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • @rayray23

    Participant

    Mike,
    Thank you for responding. I appreciate the effort!! I am trying to create a button that redirects the user to a specific part of their profile. I do not necessarily want a function but a variable that inserts the user’s name into the link.

    In the past I have used this:

    
    https://thornbladehills.com/members/[variable]username[/variable]/profile/
    

    I added the ending: edit/group/1/
    and at one time it worked great.

    Combined it use to look like this:

    
    https://thornbladehills.com/members/[variable]username[/variable]/profile/edit/group/1/
    

    The code replaced the variable text with the user’s username and looked like this:

    
    https://thornbladehills.com/members/ppp5555/profile/edit/group/1/
    

    which would take the user to their profile page and also to the section to edit group 1
    Group 1 is the user’s base information they filled out at registration.

    The code works with the user not being logged in. I just have to manually replace the username and then it goes directly to the section I want it to go to.
    Possibly because of security reasons, buddypress may have taken the variable text out of use, but like I said it still works if I manually enter the user’s username.

    Thanks
    Raymond

    @rayray23

    Participant

    sorry, did not work.

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar