Forum Replies Created
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!
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!
Geez, not yet. I tried almost everything, triple-checked database and nothing 🙁
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 ) ) : ?>
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. 🙂
The REAL jQuery, lol: http://jsfiddle.net/nZ5fp/