Forum Replies Created
-
I think I’ll solve it as provisional. i’ll split getString into an array
SELECT *
FROMwp_bp_xprofile_data
WHEREfield_id
=9
ANDvalue
LIKE ‘Woman’
ANDfield_id
=10
ANDvalue
LIKE ‘Man’
OR field_id =26
ANDvalue
LIKE ‘Rom’I am sending the code, if someone is looking for such solution.
I added a line to the Filter. I wanted to modify directly the text “Only Me”.
$levels['adminsonly']['label'] = _x( 'only visible for me', 'Visibility level setting', 'buddypress' );
function bpfr_remove_visibility_level( $levels ) { global $bp; if ( isset( $levels['loggedin'] ) ) { unset( $levels['loggedin'] ); } if ( isset( $levels['public'] ) ) { unset( $levels['public'] ); } $levels['adminsonly']['label'] = _x( 'only visible for me', 'Visibility level setting', 'buddypress' ); return $levels; } add_filter( 'bp_xprofile_get_visibility_levels', 'bpfr_remove_visibility_level' );
Thank you very much! It works great exactly as I had imagined.
hello danbp,
thank you for your reply.
I want to give the user the ability to choose between two options.
e.g. “My Friends” and “Only Me”Maybe I could override these options with a filter.
hello djsteveb,
I use rtmedia and would like to find out the number of images, I would like Limit the number of images to eg 15 images. A user can then, for example, only upload 15 images.
hello shanebp,
thank you for your reply.
1- The plugin is good. Maybe I’ll buy it soon.
2- I use rtmedia and would like to find out the number of images, I would like Limit the number of images to eg 15 images. A user can then, for example, only upload 15 images.hello,
i think, i have now the Solution:
i can use the parameters:
?field_16_min=170&field_16_max=185& …
hallo henrywright,
ok, i’ll ask there 😉 If I have the solution, I’ll post it here.
Thanks
Hello shanebp,
Thank you, It works very good.