Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • @alanniemies

    Participant

    Anyone?

    @alanniemies

    Participant

    Hi @hnla and thank you for your reply.

    Yes, as I was thinking, the problem is with OneCommunity theme (it crops as a square on Twenty Thirteen theme).. Do you have any idea of how a theme can modify this information and where should I look for? I already tried a lot of different templates and files.

    Thanks again for your time!

    @alanniemies

    Participant

    Found the problem, it’s really simple: if we declare an empty “include” in bp_has_members, it displays a Members Loop with all members. Now it’s everything fine. Thanks a lot, @shanebp!

    @alanniemies

    Participant

    Geez, not yet. I tried almost everything, triple-checked database and nothing 🙁

    @alanniemies

    Participant

    Hello shane! Thanks for the reply.

    I tried to turn them into an array and implode, but still nothing happened. My updated code:

    <?php 
    global $wpdb;
    $db_query = "SELECT user_id FROM wp_bp_xprofile_data WHERE field_id = 13 AND value = Yes";
    $match_ids = $wpdb->get_col($db_query);
    $get_these_members = array('include=' .$match_ids);
    $members_imploded = implode(",", $get_these_members);
    ?>
    
    <?php if ( bp_has_members( $members_imploded ) ) : ?>
    

    @alanniemies

    Participant

    Hi, @mercime. Thanks for the answer.

    This is not what I need, although it’s a great plugin which I’ll give a try in the future. What I am having trouble with is from a more coding nature, as I need to add an external jQuery to pull out more info inside the registration page. I have everything coded ok outside the registration.

    Thanks a lot anyway, and I hope someone may help me. 🙂

    @alanniemies

    Participant

    Up?

    @alanniemies

    Participant

    Nobody? PLEASE.

    @alanniemies

    Participant

    The REAL jQuery, lol: http://jsfiddle.net/nZ5fp/

    @alanniemies

    Participant

    Thanks a lot, shane!

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