Vanilla Forums and LTI

Vanilla Forums and LTI

by Chris Kenniburg -
Number of replies: 2
Picture of Particularly helpful Moodlers Picture of Plugin developers

I can also confirm that this plugin here:  http://sourceforge.net/projects/learningapps/files/Files/Basic%20LTI%20Integrations/Vanilla2/  works for connecting a Vanilla Forum to your Moodle course.

It creates a new forum category in Vanilla based on the name of your Moodle course.  However, I found that when a user tries to access the forum, they are given a random name and it doesn't carry over the name from Moodle.

Maybe I am missing something?  Anyone else exploring Vanilla Forums?

Average of ratings: -
In reply to Chris Kenniburg

Re: Vanilla Forums and LTI

by Dan Olson -

Hi Chris -- we just attempted this integration and it works as you said. We have no problem displaying the forum and it picks up the course and even the user's account (which we can tell by the email address) but it assigns a random name (like, "<ourmoodlesitesite>:4").

Have you been able to get this to work? I'm wondering if we just haven't set up the LTI configuration appropriately. 

In reply to Dan Olson

Re: Vanilla Forums and LTI

by Carlos Ors -

Hi to all,

The plugin needs to verify that the user exists in order to know if it is necessary to create or not based on the LTI parameters received. LTI states that the tool should not use email as a primary key.  So, it is necessary to use a key based on the parameters received. This LTI plugin uses the combination of the LTI parameters: oauth_consumer_key + ':' + user_id as recommended by LTI.

The field Name (which is the one that is displayed) is used to store this information. Pherhaps, another option would have been to create a new column in the users table to store this secundary key (key used when accessed by LTI). In this case, the plugin should create the column in the table in its inicialization. The problem then, would be to decide which information from LTI is used to store in the Name field since username is not currently passed in the Moodle LTI consumer. 

I have choosen the current option because permitted to pass, as well, the LTI certification tests.