Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)

  • emidio007
    Participant

    @emidio007

    I think I’ll solve it as provisional. i’ll split getString into an array

    SELECT *
    FROM wp_bp_xprofile_data
    WHERE field_id =9
    AND value LIKE ‘Woman’
    AND field_id =10
    AND value LIKE ‘Man’
    OR field_id =26
    AND value LIKE ‘Rom’


    emidio007
    Participant

    @emidio007

    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' );

    emidio007
    Participant

    @emidio007

    Thank you very much! It works great exactly as I had imagined.


    emidio007
    Participant

    @emidio007

    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.


    emidio007
    Participant

    @emidio007

    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.


    emidio007
    Participant

    @emidio007

    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.


    emidio007
    Participant

    @emidio007

    hello,

    i think, i have now the Solution:

    i can use the parameters:

    ?field_16_min=170&field_16_max=185& …


    emidio007
    Participant

    @emidio007

    hallo henrywright,

    ok, i’ll ask there 😉 If I have the solution, I’ll post it here.

    Thanks


    emidio007
    Participant

    @emidio007

    Hello shanebp,

    Thank you, It works very good.

Viewing 9 replies - 1 through 9 (of 9 total)
Skip to toolbar