Forum Replies Created
-
Author
-
tyfarris1Participant
thats instructions for kleo. how do i for sweetdate? sweetdate folder or sweetdate child?
tyfarris1Participantim interested in this as well. heres link http://www.paidmembershipspro.com/2012/01/add-a-30-day-free-trial-to-an-annual-payment-plan/
tyfarris1Participantto hide admin from site.
// Remove admin from the member directory
function bpdev_exclude_users($qs=false,$object=false){$excluded_user=’1′; // Id’s to remove, separated by comma
if($object != ‘members’ && $object != ‘friends’)// hide admin to members & friends
return $qs;$args=wp_parse_args($qs);
if(!empty($args[‘user_id’]))
return $qs;if(!empty($args[‘exclude’]))
$args[‘exclude’] = $args[‘exclude’].’,’.$excluded_user;
else
$args[‘exclude’] = $excluded_user;$qs = build_query($args);
return $qs;
}
add_action(‘bp_ajax_querystring’,’bpdev_exclude_users’,20,2);// once admin is removed, we must recount the members !
function bpfr_hide_get_total_filter($count){
return $count-1;
}
add_filter(‘bp_get_total_member_count’,’bpfr_hide_get_total_filter’);tyfarris1Participantcan somebody help me with this. i add the code…it doesnt work..it changes the men,woman and online…but i need to change the total number of users…thanks
tyfarris1Participantyeah…the “Looking for a” woman search shows men….if i man looking for a woman…i would like the results to show the woman…or maybe im doing something wrong here
-
AuthorPosts