• I’ve been trying to accomplish this using ACF fields and WordPress’ Users feature and still cant get to operate properly, so trying this plug-in now.

    Simple operation I’m trying to achieve: User registers on site, with name and email > Once user is created, automatically as “subscriber”, we go in backend and assign each ‘subscriber’ with a specific DropBox link for them in their User setting > When User is logged into site a sticky tab/button, created with Elementor button widget, would appear for them that when clicked would go to the DropBox url we assigned them.

    It would also pull the User’s “first_name” to be applied to the text in the tab/button so button would be like “Joe’s Listings”.

    Also set up is the Visibility Logic for Elementor plugin that allows the button to show up based on ACF fields “subscriber” and “subscriber_email” so that only that specific user/subscriber would see their respective tab/button.

    Can this plug-in achieve this?

Viewing 1 replies (of 1 total)
  • Plugin Support Aswin Giri

    (@aswingiri)

    Hello @rawb753

    As far as I have understood your requirement, this will not work straightforwardly but can be achieved with some hooks.

    You will need to add ‘DropBox link ‘ as user meta. after that, you can add a hook to display the button on the user profile. something like following:

    add_action( 'um_profile_content_main', function( $args ){
    $profile_id = um_profile_id();
    if(is_user_logged_in()){
    $user_id = get_current_user_id();
    $dropbox_link = get_user_meta( $user_id, 'dropbox_link', true );
    if( $profile_id == $user_id && $dropbox_link){
    echo '<a href="">'.um_user('display_name').'&apos; s Listing</a>'; // or add custom code or shortcode.
    }
    }
    },33);

    You can feel free to customize the codes as per your requirement. I am not sure if it fulfills your requirement but you can give it a try.

Viewing 1 replies (of 1 total)
  • The topic ‘Sticky Button That Appears When Specific User Logged In’ is closed to new replies.