• Hi,

    I hope this finds you well. I need to give non-admin moderators a quick and easy way to create their own rooms in the frontend. Is this possible with a widget or shortcode currently? A snippet? Thank you greatly.

    Best regards,

    Esme

Viewing 1 replies (of 1 total)
  • Hi esmelndn there are no shortcodes or widgets for what i know, but you could fiffle arround with custom functions as this is just a post type. so you could write a function whcih creates a post / room for this user for example on register.

    just to give you an EXAMPLE what this COULD look like:

    add_action( 'user_register', 'MYFUNCTIONNAME', 10, 1 );
    function MYFUNCTIONNAME ( $user_id )
    {
        // Get user info
        $user_info = get_userdata( $user_id );
        
        // Create a new post type bbb-room

    //dont forget to create default meeting-id / moderatorcode / usercode and add this information in the corresponding custom meta values of the post

Viewing 1 replies (of 1 total)
  • The topic ‘Is there a Create Rooms widget or shortcode?’ is closed to new replies.