Skip to:

Re: BP Member Filter



I think I narrowed the problem down:

the output seems to go bust when there are more than one results.

I can query the members for different profile fields, but as soon as there are more than one hit, the function halts (cut off in html when viewing source).

with error reporting on it shows: (sorry for breaking the lines)

Notice: Undefined variable: field_filter_last_users in
/var/www/vhosts/ on line 150
Notice: Undefined variable: temp_array in
/var/www/vhosts/ on line 170
Catchable fatal error: Object of class stdClass could not be converted to string in
/var/www/vhosts/ on line 174

the fatal line is:

// Remove duplicate user_id's<br />
$temp_array = array_unique( $temp_array );

any clues or tipps?

YAY!! uncommenting that line fixes it!!

… but still… the selectbox issue remains, no select boxes for me with this release! :(

in bp-filter.php there is a line commented out in regards to selectboxes. when “activating” it,

it returns:

Fatal error: Call to undefined function bp_filter_the_profile_field_options() in /var/www/vhosts/ on line 257

– this function is not added yet, correctly?

now the problem is: dropdown boxes work, but when saving profiles the data is not saved when using dropdown boxes (I have to use selectboxes there). when using selectboxes with this filter, the selectboxes are not displayed!

anything I am missing?


Skip to toolbar