Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author J Federico

    (@jfederico)

    Hi Suribabu,

    That option is not included in the current version, but if you are comfortable coding, you can do this:

    Go and edit the plugin throgh the admin UI or edit the file bigbluebutton-plugin.php.

    Go to the line 405 and look for:

    $token = isset($args[‘token’]) ?$args[‘token’]: null;
    $submit = isset($args[‘submit’]) ?$args[‘submit’]: null;

    Right in the middle add this one. (It doesnt need to be right in the middle really, I just did it this way in my code ?? )

    $tokens = isset($args[‘tokens’]) ?$args[‘tokens’]: null;

    Then goo and look for this

    if(sizeof($listOfMeetings) > 1 && !$token ) {
    $out .= ‘

    And add this between the lines
    if( isset($tokens) && trim($tokens) != ” ) {
    $tokens_array = explode(‘,’, $tokens);
    $where = “”;
    foreach ($tokens_array as $tokens_element) {
    if( $where == “” )
    $where .= ” WHERE meetingID='”.$tokens_element.”‘”;
    else
    $where .= ” OR meetingID='”.$tokens_element.”‘”;
    }
    $listOfMeetings = $wpdb->get_results(“SELECT meetingID, meetingName, meetingVersion, attendeePW, moderatorPW FROM “.$table_name.$where.” ORDER BY meetingName”);
    }

    Thats it, you can now modify the shortcode and add the parameter ‘tokens’ with the list of meeting tokens you want to use separated by comas. something like this:

    [bigbluebutton tokens=”12be8d156389,cb53193c6b89″]

    This will be part of the next version, but you can start using it now.

    Cheers,

    JF

    Thread Starter suribabu

    (@suribabu)

    Thank you very much for sending this Code.

    Plugin Author J Federico

    (@jfederico)

    Your welcome

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘BigBlueButton Meetings are Display Security wise’ is closed to new replies.