- Posts: 10
Jomsocial - Groups and Wall
- Martin Schacke
- Topic Author
- Offline
- New Member
-
Less
More
15 years 2 months ago #1
by Martin Schacke
Jomsocial - Groups and Wall was created by Martin Schacke
Hello
When I create af new course in Moodle a group is also created. So far so god. But when I enrol I'm not added to the group and it doesn't figure on my wall.
What am I doing wrong?
When I create af new course in Moodle a group is also created. So far so god. But when I enrol I'm not added to the group and it doesn't figure on my wall.
What am I doing wrong?
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
15 years 2 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Re: Jomsocial - Groups and Wall
Hi.
I tested with Jomsocial 2.0 and found out that I forgot to add some code to the add members feature (which I did add in the add group).
To fix it, you can add this lines at the start of addJSGroupMember() function, in "administrator/components/com_joomdle/helpers/groups.php":
Thanks for your feedback!
I tested with Jomsocial 2.0 and found out that I forgot to add some code to the add members feature (which I did add in the add group).
To fix it, you can add this lines at the start of addJSGroupMember() function, in "administrator/components/com_joomdle/helpers/groups.php":
Code:
if (file_exists (JPATH_ADMINISTRATOR.DS.'components'.DS.'com_community'.DS.'tables'.DS.'cache.php'))
require_once(JPATH_ADMINISTRATOR.DS.'components'.DS.'com_community'.DS.'tables'.DS.'cache.php');
Thanks for your feedback!
Please Log in or Create an account to join the conversation.
- Martin Schacke
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
15 years 2 months ago #3
by Martin Schacke
Replied by Martin Schacke on topic Re: Jomsocial - Groups and Wall
Hi again - and thanks for your reply.
Should the code look like this:
Because it still doesn't work. And it doesn't show up on the wall either...
Should the code look like this:
Code:
function addJSGroupMember ($group_name, $username, $permissions)
{
if (file_exists (JPATH_ADMINISTRATOR.DS.'components'.DS.'com_community'.DS.'tables'.DS.'cache.php'))
require_once(JPATH_ADMINISTRATOR.DS.'components'.DS.'com_community'.DS.'tables'.DS.'cache.php');
require_once(JPATH_SITE.DS.'components'.DS.'com_community'.DS.'libraries'.DS.'core.php');
require_once(JPATH_SITE.DS.'components'.DS.'com_community'.DS.'models'.DS.'groups.php');
Because it still doesn't work. And it doesn't show up on the wall either...
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
15 years 2 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Re: Jomsocial - Groups and Wall
Yes, that is what I did to fix it locally.
Wall: do you mean that you don't see activity created either?
Wall: do you mean that you don't see activity created either?
Please Log in or Create an account to join the conversation.
- Martin Schacke
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
15 years 2 months ago #5
by Martin Schacke
Replied by Martin Schacke on topic Re: Jomsocial - Groups and Wall
Exactly. But maybe i dit something wrong in the settings?
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
15 years 2 months ago #6
by Antonio Durán
Replied by Antonio Durán on topic Re: Jomsocial - Groups and Wall
Did you set "auto create activities" and "auto create groups" in Moodle config?
Activities were working fine for me without any changes, so I guess you are having some other problem.
Activities were working fine for me without any changes, so I guess you are having some other problem.
Please Log in or Create an account to join the conversation.
- Martin Schacke
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
15 years 2 months ago #7
by Martin Schacke
Replied by Martin Schacke on topic Re: Jomsocial - Groups and Wall
If you mean under: Plugins, Authentication, Joomdle - then I did. Didn't fill out the Parent Role ID though. Does that make any difference?
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
15 years 2 months ago #8
by Antonio Durán
Replied by Antonio Durán on topic Re: Jomsocial - Groups and Wall
No, that is not needed.
I don't know what can be happening then...
What works and doesn't?:
- When you create a course: does it create group? And activity?
I don't know what can be happening then...
What works and doesn't?:
- When you create a course: does it create group? And activity?
Please Log in or Create an account to join the conversation.
- Martin Schacke
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
15 years 2 months ago #9
by Martin Schacke
Replied by Martin Schacke on topic Re: Jomsocial - Groups and Wall
Yes, a group is created, when I create a course. But it doesn't show up in activities.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
15 years 2 months ago #10
by Antonio Durán
Replied by Antonio Durán on topic Re: Jomsocial - Groups and Wall
You should get an activity also like "A new course "BLA BLA" was created" or something like that....
I have no idea why it is not working for you, as all my local tests work ok
Will tell you if I can think of something else...
I have no idea why it is not working for you, as all my local tests work ok
Will tell you if I can think of something else...
Please Log in or Create an account to join the conversation.