Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • dxlwebs
    Participant

    @dxlwebs

    Figured it out 😀 here is my code for anyone else wanting to know

    if ( !function_exists( 'xprofile_get_field_data' ) ) { 
        require_once '/bp-xprofile/bp-xprofile-functions.php'; 
    } 
    // The ID of the field, or the $name of the field. 
    $field = 'Channel ID'; 
      
    // The ID of the user. 
    $user_id = $author_id; 
      
    // How should array data be returned? 'comma' if you want a 
    // comma-separated string; 'array' if you want an array. 
    $multi_format = 'array'; 
      
    // NOTICE! Understand what this does before running. 
    $result = xprofile_get_field_data($field, $user_id, $multi_format); 
    echo $result;

    dxlwebs
    Participant

    @dxlwebs

    thanks for the reply, i’ve read through that page just now think i understand it ty 😀


    dxlwebs
    Participant

    @dxlwebs

    yeah exactly 😀 that’s why i put it in here as a when you have time sort of suggestion i know there are more important factors but would really like it sorted at some point 😀


    dxlwebs
    Participant

    @dxlwebs

    i edited the source code my self and added <form action="#" which should sort the problem but by doing that everytime there is an update i will need to redo it myself

    thnx for the link ill look into it

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