aldebaranmirko
Forum Replies Created
-
Forum: Plugins
In reply to: [BP Profile Search] search more fieldsdrop down box
Forum: Plugins
In reply to: [BP Profile Search] search more fieldsthe first works, the second does not.
they are not related to each otherForum: Plugins
In reply to: [BP Profile Search] search more fieldsI have 2 groups of fields to look for, I did it but it does not work:
<?php add_filter ('bps_field_sql', 'change_query', 10, 2); function change_query ($sql, $f) { if ($f->id == 127) $sql['where']['field_id'] = 'field_id IN (127,129,131)'; return $sql; } ?> <?php add_filter ('bps_field_sql', 'change_query2', 10, 2); function change_query2 ($sql, $f) { if ($f->id == 149) $sql['where']['field_id'] = 'field_id IN (149,152,155)'; return $sql; } ?>“For now, you can open your theme/child theme and look for buddypress/members/index.php and add the tabs there.”
how do you add them?
thanks
Forum: Plugins
In reply to: [BP Profile Search] search more fieldsthank you very much, it works
Forum: Plugins
In reply to: [BuddyPress Compliments] It does not work anymore!I still have it postponed
Forum: Plugins
In reply to: [BuddyPress Compliments] It does not work anymore!you received the credentials?
Forum: Plugins
In reply to: [BuddyPress Compliments] It does not work anymore!so sorry for the delay but I was sick in bed, what kind of credentials you need?
Forum: Plugins
In reply to: [BuddyPress Compliments] It does not work anymore!I also tried it with 1.0.6 but still does not work
Forum: Plugins
In reply to: [BuddyPress Compliments] It does not work anymore!sorry I had to do, http://www.thecitydog.it
Forum: Plugins
In reply to: [BuddyPress Compliments] It does not work anymore!not work! help me!
Forum: Themes and Templates
In reply to: [Customizr] Customizr With rtMediaI also have a similar problem, it works fine except in groups.
When I click on the media group page shows me the page as if it were a directory of articles.
if I put in the function.php the code above the problem is resolved, but when I enter in the media of certain user profiles gives me this error:
Fatal error: Can not use object of type stdClass as array/home/thecity3/public_html/wp-content/plugins/buddypress-media/app/main/interactions/RTMediaInteraction.php on line 303Forum: Plugins
In reply to: [BuddyPress Compliments] Buddypress members directoryfunction bp_comp_display_member_count() { $user_id = bp_get_member_user_id(); $counts = bp_compliments_total_counts( array( 'user_id' => $user_id ) ); $comp_url = bp_core_get_user_domain($user_id).BP_COMPLIMENTS_SLUG.'/'; $tipoutente = bp_get_member_profile_data( 'field=Chi sono?' ); if ($tipoutente == 'Un azienda') echo '<a href="'.$comp_url.'">'.$counts['received'].' Giudizi</a>'; } add_action('bp_directory_members_item', 'bp_comp_display_member_count')that way you only see for vendors in the member-loop
Forum: Plugins
In reply to: [BuddyPress Compliments] Buddypress members directorysorry, one last thing:you can enable the compliments only to certain types of users?
for example, there are users who have registered as vendors and others as clients.
customers can send compliments to the sellers but not the other, or you can also do all that can send but change the type of compliments.I excuse myself clear?
Forum: Plugins
In reply to: [BuddyPress Compliments] Buddypress members directoryPERFECT ! thank you for all !