You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Ali Alhaidary <al...@the5stars.org> on 2020/12/12 03:19:40 UTC

Group names in moodle plugin

Hi,

When setting OM plugin in moodle, the default group will be 'moodle', 
however, it is needed that different courses in moodle connects to 
different groups in OM, how to do that ?


Re: User added in mysql. How to auto-activate?

Posted by Robert Savickas <ro...@gmail.com>.
Dear Maxim,

Thank you very much for the quick reply. Silly me: I forgot to add the
LOGIN record to the om_user_right table! I did add the other two records to
that table...

Appreciate it!
Robert


On Wed, Dec 23, 2020, 00:59 Maxim Solodovnik <so...@gmail.com> wrote:

> Hello Robert,
>
> while adding users directly to DB you need to
> 1) add record to om_user table
> 2) add correspondent record to address table (with user email)
> 3) add 3 records to om_user_right table with ROOM, LOGIN, DASHBOARD right
> 4) add record to group_user table (so user will be the part of group)
>
>
> On Wed, 23 Dec 2020 at 12:29, Robert Savickas <ro...@gmail.com>
> wrote:
>
>> Dear Maxim,
>>
>> Please forgive me if this has been asked.
>>
>> I added some users directly in mysql tables. All is good, but I can't
>> login on their behalf, unless they are activated via email.
>>
>> Some of my users are older folks, some retired, others are nearing
>> retirement. They want as little computer hassle as possible. So, I set the
>> configurations so that no email be sent upon registration.
>>
>> Is it possible for me to mark the newly added users as already activated,
>> so that they can login right away? I sneaked around the mysql tables and
>> also explored the files in the open510 directory, but seem to not be able
>> to find where I can change the activation status.
>>
>> Would you have some advise?
>>
>> Thank you very much.
>> Robert
>>
>>
>> On Mon, Dec 14, 2020, 21:30 Maxim Solodovnik <so...@gmail.com>
>> wrote:
>>
>>> Hello Ali,
>>>
>>> when you are configuring OM Moodle plugin you are choosing "Module Key"
>>> This will be your group name
>>>
>>> The idea was: you can configure different Moodle instances to use same OM
>>>
>>> To have different groups in OM for the one Moodle you need to have
>>> several instances of OM Moodle plugin installed
>>> Not sure this is possible without modifying source code of plugin
>>>
>>> On Sat, 12 Dec 2020 at 10:20, Ali Alhaidary <al...@the5stars.org>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> When setting OM plugin in moodle, the default group will be 'moodle',
>>>> however, it is needed that different courses in moodle connects to
>>>> different groups in OM, how to do that ?
>>>>
>>>>
>>>
>>> --
>>> Best regards,
>>> Maxim
>>>
>>
>
> --
> Best regards,
> Maxim
>

Re: User added in mysql. How to auto-activate?

Posted by Maxim Solodovnik <so...@gmail.com>.
Hello Robert,

while adding users directly to DB you need to
1) add record to om_user table
2) add correspondent record to address table (with user email)
3) add 3 records to om_user_right table with ROOM, LOGIN, DASHBOARD right
4) add record to group_user table (so user will be the part of group)


On Wed, 23 Dec 2020 at 12:29, Robert Savickas <ro...@gmail.com> wrote:

> Dear Maxim,
>
> Please forgive me if this has been asked.
>
> I added some users directly in mysql tables. All is good, but I can't
> login on their behalf, unless they are activated via email.
>
> Some of my users are older folks, some retired, others are nearing
> retirement. They want as little computer hassle as possible. So, I set the
> configurations so that no email be sent upon registration.
>
> Is it possible for me to mark the newly added users as already activated,
> so that they can login right away? I sneaked around the mysql tables and
> also explored the files in the open510 directory, but seem to not be able
> to find where I can change the activation status.
>
> Would you have some advise?
>
> Thank you very much.
> Robert
>
>
> On Mon, Dec 14, 2020, 21:30 Maxim Solodovnik <so...@gmail.com> wrote:
>
>> Hello Ali,
>>
>> when you are configuring OM Moodle plugin you are choosing "Module Key"
>> This will be your group name
>>
>> The idea was: you can configure different Moodle instances to use same OM
>>
>> To have different groups in OM for the one Moodle you need to have
>> several instances of OM Moodle plugin installed
>> Not sure this is possible without modifying source code of plugin
>>
>> On Sat, 12 Dec 2020 at 10:20, Ali Alhaidary <al...@the5stars.org>
>> wrote:
>>
>>> Hi,
>>>
>>> When setting OM plugin in moodle, the default group will be 'moodle',
>>> however, it is needed that different courses in moodle connects to
>>> different groups in OM, how to do that ?
>>>
>>>
>>
>> --
>> Best regards,
>> Maxim
>>
>

-- 
Best regards,
Maxim

User added in mysql. How to auto-activate?

Posted by Robert Savickas <ro...@gmail.com>.
Dear Maxim,

Please forgive me if this has been asked.

I added some users directly in mysql tables. All is good, but I can't login
on their behalf, unless they are activated via email.

Some of my users are older folks, some retired, others are nearing
retirement. They want as little computer hassle as possible. So, I set the
configurations so that no email be sent upon registration.

Is it possible for me to mark the newly added users as already activated,
so that they can login right away? I sneaked around the mysql tables and
also explored the files in the open510 directory, but seem to not be able
to find where I can change the activation status.

Would you have some advise?

Thank you very much.
Robert


On Mon, Dec 14, 2020, 21:30 Maxim Solodovnik <so...@gmail.com> wrote:

> Hello Ali,
>
> when you are configuring OM Moodle plugin you are choosing "Module Key"
> This will be your group name
>
> The idea was: you can configure different Moodle instances to use same OM
>
> To have different groups in OM for the one Moodle you need to have several
> instances of OM Moodle plugin installed
> Not sure this is possible without modifying source code of plugin
>
> On Sat, 12 Dec 2020 at 10:20, Ali Alhaidary <al...@the5stars.org>
> wrote:
>
>> Hi,
>>
>> When setting OM plugin in moodle, the default group will be 'moodle',
>> however, it is needed that different courses in moodle connects to
>> different groups in OM, how to do that ?
>>
>>
>
> --
> Best regards,
> Maxim
>

Re: Group names in moodle plugin

Posted by Ali Alhaidary <al...@the5stars.org>.
I think the thread 'moodle plugin' is doing the job :-)

Ali

On 12/30/20 12:29 PM, Maxim Solodovnik wrote:
>
>
> On Wed, 23 Dec 2020 at 11:21, Ali Alhaidary 
> <ali.alhaidary@the5stars.org <ma...@the5stars.org>> wrote:
>
>
>>
>>     group per `OM Moodle Activity` might be bigger mess
>>     I guess one teacher can lead multiple classes, and files and
>>     recordings should be shared based on org structure of particular
>>     school/university
>>     This can be done
>>     But, I'm afraid, this will require to add some OM specific
>>     attributes to Moodle users/groups (not sure if Moodle has groups ...)
>     moodle do have groups, but I am not talking about adding moodle
>     groups to OM instance (which will need much more integration),
>     rather adding OM group to OM per instance (moving 'Module key'
>     from plugin config to the instance) as students can not access
>     recordings until the teacher download them and upload it to moodle
>     class page (they do not have any recording entry), and recordings
>     can not be moved to my, local or public files tree branch.
>
>
> Please describe your use case step-by-step
> I'm afraid I don't understand what is not working and what you are 
> trying to achieve :(
>
>>         The issue that we are facing is that all files and recordings
>>         goes to one single group 'moodle' for all courses, which is
>>         very much confusing and unorganized
>>
>>         Nothing is done manual or per user my friend :-)
>>
>>         Ali
>>
>>
>
>
> -- 
> Best regards,
> Maxim

Re: Group names in moodle plugin

Posted by Maxim Solodovnik <so...@gmail.com>.
On Wed, 23 Dec 2020 at 11:21, Ali Alhaidary <al...@the5stars.org>
wrote:

>
>
> group per `OM Moodle Activity` might be bigger mess
> I guess one teacher can lead multiple classes, and files and recordings
> should be shared based on org structure of particular school/university
> This can be done
> But, I'm afraid, this will require to add some OM specific attributes to
> Moodle users/groups (not sure if Moodle has groups ...)
>
> moodle do have groups, but I am not talking about adding moodle groups to
> OM instance (which will need much more integration), rather adding OM group
> to OM per instance (moving 'Module key' from plugin config to the instance)
> as students can not access recordings until the teacher download them and
> upload it to moodle class page (they do not have any recording entry), and
> recordings can not be moved to my, local or public files tree branch.
>

Please describe your use case step-by-step
I'm afraid I don't understand what is not working and what you are trying
to achieve :(


>
>
>> The issue that we are facing is that all files and recordings goes to one
>> single group 'moodle' for all courses, which is very much confusing and
>> unorganized
>>
>> Nothing is done manual or per user my friend :-)
>>
>> Ali
>>
>>

-- 
Best regards,
Maxim

Re: Group names in moodle plugin

Posted by Ali Alhaidary <al...@the5stars.org>.
On 12/22/20 7:39 PM, Maxim Solodovnik wrote:
>
>
> On Wed, 16 Dec 2020 at 10:46, Ali Alhaidary 
> <ali.alhaidary@the5stars.org <ma...@the5stars.org>> wrote:
>
>     No, that is not what we are doing or want to do :-)
>
>     When you install the plugin, only one group is automatically
>     created for all moodle users, that is what was defied in 'Module
>     Key' default 'moodle', so all instances of OM in moodle will
>     belong to that group and thus all OM users in moodle will join
>     that one group.
>
> I guess `instances of OM` == `OM activities`
Could be, but group name could be other than 'moodle' and could be more 
than that :-)
>
>     What is much more practical and logical is the automatic creation
>     of group when creating an instance of OM, it could default to
>     course name for example, and to do that my suggestion is 'Module
>     Key' is moved from plugin configuration to instance configuration
>     so that the users of that instance will be in that specific group.
>
>
> group per `OM Moodle Activity` might be bigger mess
> I guess one teacher can lead multiple classes, and files and 
> recordings should be shared based on org structure of particular 
> school/university
> This can be done
> But, I'm afraid, this will require to add some OM specific attributes 
> to Moodle users/groups (not sure if Moodle has groups ...)
moodle do have groups, but I am not talking about adding moodle groups 
to OM instance (which will need much more integration), rather adding OM 
group to OM per instance (moving 'Module key' from plugin config to the 
instance) as students can not access recordings until the teacher 
download them and upload it to moodle class page (they do not have any 
recording entry), and recordings can not be moved to my, local or public 
files tree branch.
>
>     The issue that we are facing is that all files and recordings goes
>     to one single group 'moodle' for all courses, which is very much
>     confusing and unorganized
>
>     Nothing is done manual or per user my friend :-)
>
>     Ali
>
>     On 12/16/20 6:16 AM, Maxim Solodovnik wrote:
>>
>>
>>     On Tue, 15 Dec 2020 at 12:15, Ali Alhaidary
>>     <ali.alhaidary@the5stars.org
>>     <ma...@the5stars.org>> wrote:
>>
>>         Thanks Max, I expected that there will be an option when
>>         creating an instance of OM for group name (could default to
>>         Module Key as moodle).
>>
>>         As for now, all recordings are stored in one group although
>>         they belong to different courses/teachers/dates, the good
>>         news is that teachers can rename the lecture recording as
>>         course-date-lecture :-)
>>
>>         Should I raise a jira?
>>
>>
>>     I would prefer to have small discussion first :)))
>>
>>     As I understand you are proposing to add "group" to every user in
>>     Moodle (manually)
>>     With the default of "module key"?
>>
>>     I doubt someone will do this ...
>>
>>         Ali
>>
>>         On 12/15/20 5:29 AM, Maxim Solodovnik wrote:
>>>         Hello Ali,
>>>
>>>         when you are configuring OM Moodle plugin you are choosing
>>>         "Module Key"
>>>         This will be your group name
>>>
>>>         The idea was: you can configure different Moodle instances
>>>         to use same OM
>>>
>>>         To have different groups in OM for the one Moodle you need
>>>         to have several instances of OM Moodle plugin installed
>>>         Not sure this is possible without modifying source code of
>>>         plugin
>>>
>>>         On Sat, 12 Dec 2020 at 10:20, Ali Alhaidary
>>>         <ali.alhaidary@the5stars.org
>>>         <ma...@the5stars.org>> wrote:
>>>
>>>             Hi,
>>>
>>>             When setting OM plugin in moodle, the default group will
>>>             be 'moodle',
>>>             however, it is needed that different courses in moodle
>>>             connects to
>>>             different groups in OM, how to do that ?
>>>
>>>
>>>
>>>         -- 
>>>         Best regards,
>>>         Maxim
>>
>>
>>
>>     -- 
>>     Best regards,
>>     Maxim
>
>
>
> -- 
> Best regards,
> Maxim

Re: Group names in moodle plugin

Posted by Maxim Solodovnik <so...@gmail.com>.
On Wed, 16 Dec 2020 at 10:46, Ali Alhaidary <al...@the5stars.org>
wrote:

> No, that is not what we are doing or want to do :-)
>
> When you install the plugin, only one group is automatically created for
> all moodle users, that is what was defied in 'Module Key' default 'moodle',
> so all instances of OM in moodle will belong to that group and thus all OM
> users in moodle will join that one group.
>
I guess `instances of OM` == `OM activities`


> What is much more practical and logical is the automatic creation of group
> when creating an instance of OM, it could default to course name for
> example, and to do that my suggestion is 'Module Key' is moved from plugin
> configuration to instance configuration so that the users of that instance
> will be in that specific group.
>

group per `OM Moodle Activity` might be bigger mess
I guess one teacher can lead multiple classes, and files and recordings
should be shared based on org structure of particular school/university
This can be done
But, I'm afraid, this will require to add some OM specific attributes to
Moodle users/groups (not sure if Moodle has groups ...)


> The issue that we are facing is that all files and recordings goes to one
> single group 'moodle' for all courses, which is very much confusing and
> unorganized
>
> Nothing is done manual or per user my friend :-)
>
> Ali
> On 12/16/20 6:16 AM, Maxim Solodovnik wrote:
>
>
>
> On Tue, 15 Dec 2020 at 12:15, Ali Alhaidary <al...@the5stars.org>
> wrote:
>
>> Thanks Max, I expected that there will be an option when creating an
>> instance of OM for group name (could default to Module Key as moodle).
>>
>> As for now, all recordings are stored in one group although they belong
>> to different courses/teachers/dates, the good news is that teachers can
>> rename the lecture recording as course-date-lecture :-)
>>
>> Should I raise a jira?
>>
>
> I would prefer to have small discussion first :)))
>
> As I understand you are proposing to add "group" to every user in Moodle
> (manually)
> With the default of "module key"?
>
> I doubt someone will do this ...
>
>
>
>> Ali
>> On 12/15/20 5:29 AM, Maxim Solodovnik wrote:
>>
>> Hello Ali,
>>
>> when you are configuring OM Moodle plugin you are choosing "Module Key"
>> This will be your group name
>>
>> The idea was: you can configure different Moodle instances to use same OM
>>
>> To have different groups in OM for the one Moodle you need to have
>> several instances of OM Moodle plugin installed
>> Not sure this is possible without modifying source code of plugin
>>
>> On Sat, 12 Dec 2020 at 10:20, Ali Alhaidary <al...@the5stars.org>
>> wrote:
>>
>>> Hi,
>>>
>>> When setting OM plugin in moodle, the default group will be 'moodle',
>>> however, it is needed that different courses in moodle connects to
>>> different groups in OM, how to do that ?
>>>
>>>
>>
>> --
>> Best regards,
>> Maxim
>>
>>
>
> --
> Best regards,
> Maxim
>
>

-- 
Best regards,
Maxim

Re: Group names in moodle plugin

Posted by Ali Alhaidary <al...@the5stars.org>.
No, that is not what we are doing or want to do :-)

When you install the plugin, only one group is automatically created for 
all moodle users, that is what was defied in 'Module Key' default 
'moodle', so all instances of OM in moodle will belong to that group and 
thus all OM users in moodle will join that one group.

What is much more practical and logical is the automatic creation of 
group when creating an instance of OM, it could default to course name 
for example, and to do that my suggestion is 'Module Key' is moved from 
plugin configuration to instance configuration so that the users of that 
instance will be in that specific group.

The issue that we are facing is that all files and recordings goes to 
one single group 'moodle' for all courses, which is very much confusing 
and unorganized

Nothing is done manual or per user my friend :-)

Ali

On 12/16/20 6:16 AM, Maxim Solodovnik wrote:
>
>
> On Tue, 15 Dec 2020 at 12:15, Ali Alhaidary 
> <ali.alhaidary@the5stars.org <ma...@the5stars.org>> wrote:
>
>     Thanks Max, I expected that there will be an option when creating
>     an instance of OM for group name (could default to Module Key as
>     moodle).
>
>     As for now, all recordings are stored in one group although they
>     belong to different courses/teachers/dates, the good news is that
>     teachers can rename the lecture recording as course-date-lecture :-)
>
>     Should I raise a jira?
>
>
> I would prefer to have small discussion first :)))
>
> As I understand you are proposing to add "group" to every user in 
> Moodle (manually)
> With the default of "module key"?
>
> I doubt someone will do this ...
>
>     Ali
>
>     On 12/15/20 5:29 AM, Maxim Solodovnik wrote:
>>     Hello Ali,
>>
>>     when you are configuring OM Moodle plugin you are choosing
>>     "Module Key"
>>     This will be your group name
>>
>>     The idea was: you can configure different Moodle instances to use
>>     same OM
>>
>>     To have different groups in OM for the one Moodle you need to
>>     have several instances of OM Moodle plugin installed
>>     Not sure this is possible without modifying source code of plugin
>>
>>     On Sat, 12 Dec 2020 at 10:20, Ali Alhaidary
>>     <ali.alhaidary@the5stars.org
>>     <ma...@the5stars.org>> wrote:
>>
>>         Hi,
>>
>>         When setting OM plugin in moodle, the default group will be
>>         'moodle',
>>         however, it is needed that different courses in moodle
>>         connects to
>>         different groups in OM, how to do that ?
>>
>>
>>
>>     -- 
>>     Best regards,
>>     Maxim
>
>
>
> -- 
> Best regards,
> Maxim

Re: Group names in moodle plugin

Posted by Maxim Solodovnik <so...@gmail.com>.
On Tue, 15 Dec 2020 at 12:15, Ali Alhaidary <al...@the5stars.org>
wrote:

> Thanks Max, I expected that there will be an option when creating an
> instance of OM for group name (could default to Module Key as moodle).
>
> As for now, all recordings are stored in one group although they belong to
> different courses/teachers/dates, the good news is that teachers can rename
> the lecture recording as course-date-lecture :-)
>
> Should I raise a jira?
>

I would prefer to have small discussion first :)))

As I understand you are proposing to add "group" to every user in Moodle
(manually)
With the default of "module key"?

I doubt someone will do this ...



> Ali
> On 12/15/20 5:29 AM, Maxim Solodovnik wrote:
>
> Hello Ali,
>
> when you are configuring OM Moodle plugin you are choosing "Module Key"
> This will be your group name
>
> The idea was: you can configure different Moodle instances to use same OM
>
> To have different groups in OM for the one Moodle you need to have several
> instances of OM Moodle plugin installed
> Not sure this is possible without modifying source code of plugin
>
> On Sat, 12 Dec 2020 at 10:20, Ali Alhaidary <al...@the5stars.org>
> wrote:
>
>> Hi,
>>
>> When setting OM plugin in moodle, the default group will be 'moodle',
>> however, it is needed that different courses in moodle connects to
>> different groups in OM, how to do that ?
>>
>>
>
> --
> Best regards,
> Maxim
>
>

-- 
Best regards,
Maxim

Re: Group names in moodle plugin

Posted by Ali Alhaidary <al...@the5stars.org>.
Thanks Max, I expected that there will be an option when creating an 
instance of OM for group name (could default to Module Key as moodle).

As for now, all recordings are stored in one group although they belong 
to different courses/teachers/dates, the good news is that teachers can 
rename the lecture recording as course-date-lecture :-)

Should I raise a jira?

Ali

On 12/15/20 5:29 AM, Maxim Solodovnik wrote:
> Hello Ali,
>
> when you are configuring OM Moodle plugin you are choosing "Module Key"
> This will be your group name
>
> The idea was: you can configure different Moodle instances to use same OM
>
> To have different groups in OM for the one Moodle you need to have 
> several instances of OM Moodle plugin installed
> Not sure this is possible without modifying source code of plugin
>
> On Sat, 12 Dec 2020 at 10:20, Ali Alhaidary 
> <ali.alhaidary@the5stars.org <ma...@the5stars.org>> wrote:
>
>     Hi,
>
>     When setting OM plugin in moodle, the default group will be 'moodle',
>     however, it is needed that different courses in moodle connects to
>     different groups in OM, how to do that ?
>
>
>
> -- 
> Best regards,
> Maxim

Re: Group names in moodle plugin

Posted by Maxim Solodovnik <so...@gmail.com>.
Hello Ali,

when you are configuring OM Moodle plugin you are choosing "Module Key"
This will be your group name

The idea was: you can configure different Moodle instances to use same OM

To have different groups in OM for the one Moodle you need to have several
instances of OM Moodle plugin installed
Not sure this is possible without modifying source code of plugin

On Sat, 12 Dec 2020 at 10:20, Ali Alhaidary <al...@the5stars.org>
wrote:

> Hi,
>
> When setting OM plugin in moodle, the default group will be 'moodle',
> however, it is needed that different courses in moodle connects to
> different groups in OM, how to do that ?
>
>

-- 
Best regards,
Maxim