Support Forum ยป User Profile

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Using 'MB Favorite posts' plugin for two purposes #46672
    JulianJulian
    Participant

    How can I request this as a feature please?

    in reply to: Posts module bug when listing favorites #46100
    JulianJulian
    Participant

    I forgot how I did this, sorry. But it was actually by just using the main query in the Beaver Builder posts module, and modifying that query via functions.php using this, which I assume I got from your site:

    function tas_not_listened_fl_builder_loop_query_args_filter( $query_args ) {
        if ( 'tas-metabox-not-listened' == $query_args['settings']->id ) {
            $user_id = get_current_user_id();
            $post_ids = get_user_meta( $user_id, 'mbfp_posts', true );
    
            if ( ! empty( $post_ids ) ) {
                $query_args['post__not_in'] = $post_ids;  // Exclude the post IDs
            } 
        }
        return $query_args;
    }
    add_filter( 'fl_builder_loop_query_args', 'tas_not_listened_fl_builder_loop_query_args_filter' );
    in reply to: Fav posts button - submitting indicator #46082
    JulianJulian
    Participant

    Excellent, thank you!

    in reply to: Fav posts button - submitting indicator #46070
    JulianJulian
    Participant

    Thanks - any word on when this might happen?
    If not, is there a way we can speed it up?

    in reply to: Fav Posts - weird meta box #45966
    JulianJulian
    Participant

    I only have 'Meta Box' and 'MB favorite posts' plugins installed. I have not created any fields with MB.

    in reply to: 'Add to favorites' button - custom icon #45772
    JulianJulian
    Participant

    We are using the button as a 'Mark completed' button so we'd really like to use the check circle icon.

Viewing 6 posts - 1 through 6 (of 6 total)