Conference Plugin issue

Third party plugins, patches, bugfixes
Post Reply
kamaldua
Newbie
Posts: 17
Joined: Mon Jan 17, 2022 5:17 am

Conference Plugin issue

Post by kamaldua »

I am trying to create a simple plugin for joining another conference ( not BigBlue Button). It always gives wrong url for conference. Upon investigation found that file /appScs/lib/lib.conference.1.3.plugins.php has hardcoded bigblue button.
hence confernce additionl plugin can not be made except BigBlueButton

Code: Select all

function getUrl($idConference,$room_type) {
		$conference = $this->roomInfo($idConference);

        $pg = new PluginManager('Conference');
        $classconference = $pg->get_plugin('ConferenceBBB');// PluginManager::getPlugins($plugin_conference['name']); #PLUGIN_SYSTEM_OLD


    $url = $classconference ->getUrl($idConference,$room_type);

		return $url;
	}
User avatar
max
FormaLms Guru
Posts: 2642
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Conference Plugin issue

Post by max »

I think this is because BBB has traditionally been natively built-in in the old Docebo CE and now in Forma Lms.
But I can ensure you that you can create as many additional plugins that you want for other videoconference systems, we already have plugins for Zoom, Adobe, GTWebinar, Teams, Keymeeting.
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
alfa24
Senior Boarder
Posts: 1621
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: Conference Plugin issue

Post by alfa24 »

It should be $classconference = $pg->get_plugin($room_type);
I'm Jasmines, the One. If you need, you can contact me.
kamaldua
Newbie
Posts: 17
Joined: Mon Jan 17, 2022 5:17 am

Re: Conference Plugin issue

Post by kamaldua »

but this is the case at many places.
I am very new to forma , should custom plugin files be confined only under plugin folder or it can also be places else where as I see in case of BBB.
alfa24
Senior Boarder
Posts: 1621
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: Conference Plugin issue

Post by alfa24 »

Plugins should be confined and the core should not contain hardcoded references as BBB.
I'm Jasmines, the One. If you need, you can contact me.
User avatar
max
FormaLms Guru
Posts: 2642
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Conference Plugin issue

Post by max »

alfa24 wrote: Wed Feb 23, 2022 5:09 pm Plugins should be confined and the core should not contain hardcoded references as BBB.
You are absolutely right, and that what has happened with all the other available plugins.
But it was the first thing I wrote, that BBB is a kind of "legacy" that we never bothered to modify.
Also, it is possible to create other plugins for videoconference that override that setting. Don't know how, but they exist.
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
kamaldua
Newbie
Posts: 17
Joined: Mon Jan 17, 2022 5:17 am

Re: Conference Plugin issue

Post by kamaldua »

Thank you for your inputs
Post Reply