Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

  • Slushman
    Member

    @butimnoexpert

    Thanks Paul! I took a break to finish the other parts of the plugins and the rest of that project, but now I’m back working on this part again. Unfortunately, I can’t make head or tails of that function. I’ve tried sending a variable array to that function based on the parameters it gives on line 584, but it never adds the field. It appears xprofile_insert_field() requires a the group_field_id too, which I’m also trying to create a new Field Group, but I can’t find a way to get the ID # of the group I’m creating, and it doesn’t appear the group is created either. Is there a tutorial or a working plugin that does the same thing I can see HOW they did it?


    Slushman
    Member

    @butimnoexpert

    On line 52, replace

    with

    `<?php if (bp_is_active('friends')) :
    echo bp_member_add_friend_button();
    endif; ?>`

    That keeps the function in there if you ever use Friends again, but takes it out if it’s turned off. Not sure why this isn’t the default way of doing this.


    Slushman
    Member

    @butimnoexpert

    I figured it out. It’s not quite as elegant as I was hoping, it works. I put the following code right after `

    ` in the member.php theme file.

    `have_posts()) : $recent->the_post();?>

    `

    The page ID needs to be the page id # for the page you’d like to use for the description. It has to be the number though, the function doesn’t work with anything but an integer. I found my page’s id by mousing over the page name on the Pages listing in WordPress; the number is in the link.

    You can see the output at http://makemeanexpert.com/members.

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