Forums/SCORM Cloud

SCORM Cloud For WordPress

Troy Foster
posted this on July 16, 2010 04:54 pm

We present a beta release of the SCORM Cloud for WordPress integration.

Note that this plugin requires PHP5.

To install the plugin, simply place the unzipped 'scormcloud' folder in your wordpress wp-content/plugins folder and then activate it on the administrator 'plugins' page.

To configure the plugin, you'll need to use an ApplicationID/Secret Key associated with your SCORM Cloud account or sign up for a SCORM Cloud account here (https://cloud.scorm.com/sc/guest/SignUpForm). If you have any questions about the plugin or SCORM Cloud, please feel free to post your questions here or email support@scorm.com.

The plugin can be downloaded from the wordpress repository here: http://wordpress.org/extend/plugins/scormcloud/

 

Comments latest first

User photo
Melissa

Testing this out with a fresh install of wordpress 3.1.1 (multisite enabled) and SC version 1.1.4. testing with one course uploaded in the free account, but cannot seem to get courses to share across sites.  Is there an option I am missing - the only one I see in Network Admin/SCORM Cloud/Settings is the "Share" checkbox? 

February 03, 2012 11:34 am.
User photo
raju

Thank you Troy,

I updated the plugin and now it is working great.

February 02, 2012 09:59 pm.
User photo
Troy Foster
Rustici Software

Hi Raju,

We saw this problem with the latest version of WordPress (3.3.1) and the SCORM Cloud plugin.  This should be fixed in version 1.1.4 of the plugin.  So make sure you have the latest plugin version if you are using the latest WordPress version.

February 02, 2012 09:16 pm.
User photo
raju

After I installed the SCORM cloud plugin for wordpress, I can not upload any images/files in the media library. I am using default twentyten template. When I deactivate the plugin, image uploader in  media library works fine. Please help.

February 02, 2012 09:02 pm.
User photo
raju

I have been uploading the courses with all the sizes as big as 175mb into the scorm cloud without any difficulties. Suddenly I got the following error"Import or update failed, error was: File upload caused an internal IO error: Read timed out" while I was uploading a course only 37mb. And I have no clue what is going on. Help please.

January 25, 2012 11:06 am.
User photo
raju

Thanks for all your help Jena. I really appreciate it.

January 24, 2012 09:57 am.
User photo
Jena LaWing
Rustici Software

Raju, 

You could try to import your course directly through the SCORM Cloud site. Make sure you upload from the Apps page, after selecting your app in the dropdown. 

January 24, 2012 09:41 am.
User photo
raju

Question,

I have a course in zip file which is 148 mb. I am trying to import it from the scorm cloud backend in the wordpress. It is taking too long (so far an hour) and I guess it will never finish uploading. How do I import those huge files? Any help will be much appreciated.

Thanks

January 24, 2012 09:31 am.
User photo
raju

Thanks Jena, It worked. :)

January 24, 2012 09:27 am.
User photo
Jena LaWing
Rustici Software

Raju, 

So sorry, I left out a step. You also need to change it in the scormcloudcontenthandler.php file (around line 127). 

January 24, 2012 09:14 am.
User photo
raju

Thanks Jena  for your help but it changes the label only in the admin. When I embed the course into the post, The button in the post to launch the course still remains "START TRAINING".  I have attached the screenshot.

January 24, 2012 09:09 am.
User photo
Jena LaWing
Rustici Software

Raju, 

 

The way to make that specific change is to modify  the text in the embedtrainingdialog.php file (in the ui folder; around line 95).  Let me know if you need any additional help.

January 24, 2012 09:00 am.
User photo
raju

I am using SCORM Plugin for wordpress. Everything is working great. I want to change the label "start training" to "Launch" where do I edit that?

January 23, 2012 11:38 pm.
User photo
Mike Rustici
Rustici Software

On Wednesday, WordPress detected a security vulnerability in the SCORM Cloud plugin. We already published a patch, please update to the latest version (1.0.7) ASAP.

 

http://scorm.com/blog/2011/09/security-vulnerability-in-wordpress-c...

 

September 09, 2011 02:35 pm.
User photo
Bret Weinraub
Aura Software

I believe one of the widgets (the one that shows the trainings the user is registered to) gives basic pass/fail and completion %.

September 06, 2011 02:52 pm.
User photo
Joseph Wagner

I love SCORM Cloud, after trying the demo today I'm very impressed. The only question I have is if it's possible to have the individual learners see their statistics in Wordpress. As an administrator I can look at their statistics, but if I were a learner, how could I view my statistics?

August 31, 2011 12:47 pm.
User photo
Troy Foster
Rustici Software

A custom player css file can be specified on the SCORM Cloud Settings page of the plugin.  

August 15, 2011 07:12 am.
User photo
Jon Ophoff

Where do I enter the css URL to give my course a custom stylesheet when launched from within WordPress?

August 14, 2011 10:53 pm.
User photo
Bret Weinraub
Aura Software

Make sure you've got the latest version of the plugin ; the old version allowed duplicate registrations to be created via the launch button if the user banged on it, which was highly likely since there was a delay until the training launched.

Next is cleaning up the dupes.  Right now, the SCORMCloud API is the only way.  

Also note that deleting the registration is not enough, you will need to clean out the entry in wp_scormcloudinvitationregs as well.

June 06, 2011 03:22 pm.
User photo
Tineke Timmerman

I just figured out that each time I try to make a widget (training) it re-registers all your users and bills you for it :-(

Also: Why is it not possible to delete trainings? Also can't find the option to delete registrations to a course: In my case the same users are triple registered to a course.

June 05, 2011 11:34 pm.
User photo
Troy Foster
Rustici Software

In the last few days, there have been a number of questions regarding the SCORM Cloud Wordpress plugin and the SCORM Cloud app and the relationship between their users and overall data.  Here I aim to shed some light on this more.

WordPress has users.  The SCORM Cloud knows nothing about those users until a registration(training) is created via WordPress.  At that time, the SCORM Cloud is sent the user's (assignee's) email, first name, and last name from the wordpress user's profile to be identified with that registration.  When the SCORM Cloud receives the request for the new registration, it takes the user's email and either matches it up with an existing SCORM Cloud user or creates a new SCORM Cloud user.  From this point, all of the user's training is trackable within the SCORM Cloud app based on the user who owns that email address.

Additionally, if a wordpress user's profile is updated with a new first and/or last name in Wordpress, the changes now get pushed to the associated user in SCORM Cloud.

Note that the only things wordpress knows about is it's own users as well as invitations and registrations created within wordpress.  What this means is that if you use the SCORM Cloud website to invite someone (using the SCORM Cloud invitation process) to take a course (whether imported via wordpress or not), neither the invitation nor the training will be accessible within wordpress; they will show up in Reportage and in the SCORM Cloud as you would expect.

It is worth noting that this relationship has changed in the last couple of days as it became obvious that the user relationships weren't adequately created. The change made should make it easier to identify users between wordpress and SCORM Cloud.  Prior to the recent changes, wordpress learners did not show up in the SCORM Cloud people section, but they did show up in Reportage.  There were duplicates to confuse the matter, though, because the learner identities weren't tied to a SCORM Cloud user.  The recent change should help this all make more sense.

I hope this clears things up for you. If you haven't upgraded your SCORM Cloud for wordpress plugin lately, now is a good time. The wordpress repository seems a little finicky about me registering new versions or updates available (or maybe it just takes time).  So if you downloaded via the repository, you could do well to just remove your old version from wordpress and install the new one. (Your data should be safe.)  If you downloaded the package on this page, it has been updated with the latest.

February 16, 2011 04:46 pm.
User photo
Troy Foster
Rustici Software

Yet another update.  This one fixes a bug in registrations created on the trainings page as well as adding code that will push wordpress user profile name changes to the SCORM Cloud.

February 16, 2011 01:22 pm.
User photo
Troy Foster
Rustici Software

Package updated to send an 'email' argument when new registrations are created.  This will tie the user to a user in the SCORM Cloud that has the same email.

February 15, 2011 01:01 pm.
User photo
Troy Foster
Rustici Software

Note that the plugin has recently been enhanced to support translation, and thanks to one of our plugin users, Dutch language support is now a part of the plugin.

If anyone else has the desire to translate the plugin to another language, there is also a default .po file in the plugin 'langs' folder that can be used to assist in this effort.

Thanks.

February 09, 2011 02:33 pm.
User photo
Tim Martin
Rustici Software

Bret... thanks for jumping in with the solution, too.  Curl is often installed in a lot of the environments we see, but we should have included it in the docs.

Thanks.

January 07, 2011 08:28 am.
User photo
Bret Weinraub
Aura Software

Looks like this plugin requires PHP/curl support to run correctly.  Otherwise when you hit the plugin settings page, you'll get no content.  For me (Ubuntu 10.04 LTS 64bit) I had the following in my apache logs:

 

 

 

 

 

[Fri Jan 07 13:43:19 2011] [error] [client 85.218.34.99] SCORM Cloud ConstructUrl : http://cloud.scorm.com/EngineWebServices/api?appid=&method=rust..., referer: http://XXXX/wp-admin/post.php?post=1&action=edit&message=1[Fri Jan 07 13:43:19 2011] [error] [client 85.218.34.99] PHP Fatal error:  Call to undefined function curl_init() in /var/www/wordpress/wp-content/plugins/scormcloud/SCORMAPI/ServiceRequest.php on line 137, referer: http://XXXX/wp-admin/post.php?post=1&action=edit&message=1

[Fri Jan 07 13:43:19 2011] [error] [client 85.218.34.99] SCORM Cloud ConstructUrl : http://cloud.scorm.com/EngineWebServices/api?appid=&method=rust..., referer: http://XXXX/wp-admin/post.php?post=1&action=edit&message=1[Fri Jan 07 13:43:19 2011] [error] [client 85.218.34.99] PHP Fatal error:  Call to undefined function curl_init() in /var/www/wordpress/wp-content/plugins/scormcloud/SCORMAPI/ServiceRequest.php on line 137, referer: http://XXXX/wp-admin/post.php?post=1&action=edit&message=1

 

 

 

A little googling had me here:

 

http://www.hotscripts.com/forums/php/26167-fatal-error-call-undefin...

 

 

 

And the problem was solved with:

 

apt-get install php5-curl

 

 

 

/etc/init.d/apache2 restart

January 07, 2011 07:48 am.
User photo
Sander G
SCORM Cloud

I'm impressed by this plugin, great stuff! I'm new to SCORM, but quickly finding my way. Some questions that I still have after testing this plugin for a while:

- what's the difference between a course and a training?

- Would it be possible to create a translation file? I do allot of translation of WordPress plugins (Dutch). Would be nice to create one for this plugin too

- Is there any way to open a course on the page, instead of launching a popup? tried some settings, but doesn't seem to work for me.

Thanks, keep up the good work!

Sander

 

January 05, 2011 05:48 pm.
User photo
Ray Morrell
SCORM Cloud

I installed this plug-in on my Wordpress site.  I am using WP ver. 3.0.1.  The app installed and activated, but I get this error when I try to go to any of the Scorm Cloud menus:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/wellesley/www/wellesleyservices.ca/temp/wp-content/plugins/scormcloud/SCORMAPI/ScormEngineService.php on line 22

As you can see, my install is not in the root directory, but in a subdir called "temp".

Any help appreciated!

December 06, 2010 01:42 pm.
User photo
Niclas Sund
SCORM Cloud

Thank for quick reply. I think I got it. Basically we pay for each published course per person.

November 15, 2010 09:49 am.
User photo
Tim Martin
Rustici Software

Niclas.

I couldn't agree more on the name issue.  If everyone has the same name, we've got ourselves a big problem.  I'm going to create a ticket on the subject and we'll revisit it with you.

A registration is counted the first time that a given learner launches a given course.  They can revisit that course as many times as they like... It only counts the first time.  

So, if you have 100 students launch one course each in the first month, that counts as 100 registrations.  If they launch 2 courses each, 200 registrations.  

Does that help?

November 15, 2010 08:37 am.
User photo
Niclas Sund
SCORM Cloud

Hi, we are evaluating if we could use this with Wordpress and have some issues. Fist of all it seems to be a problem with the First and Last name for the Learners. This box in wordpress and at your admin page at Scorm Cload shows the same name for all learners, in this case, my name. That makes it very hard to separate learners from each other.

Then the second thing, I dont get the pricing. It costs a sum per registration that I understand. But if the person once is registrated and want to go an other course. Does this counts like a new registration then? I mean if he/she already is a registred user? 

Otherwise, this is a great Wordpress plugin!

November 15, 2010 08:31 am.
User photo
Troy Foster
Rustici Software

Made changes to how "anonymous" learners are handled at launch time.  In this case, an anonymous learner is one who does not have a wordpress account but launched content by inputting a first and last name and an email.  Before this change, every launch of this type created a new registration.  With this change, the email entered by the learner is first compared to others who have launched the same course via the same "invitation" (An invitation being an instance of training showing up in a post or in the catalog), and if an existing registration is found, then that registration is launched instead of a new registration.

Note that a launch from the catalog looks for any registration between that user email and the course, regardless of which, if any, invitation it is  associated with.  This means that if the learner as taken that course before, then that registration will be launched.

September 20, 2010 04:42 pm.
User photo
Troy Foster
Rustici Software

Peter,  Will you clear your cache and try again.  One thing I notice is that you aren't seeing the full height of the iframe in which the editor control is to be displayed.

Also, what browser are you using and can you tell what the src value of the iframe is?

-Troy

August 31, 2010 07:06 am.
User photo
Peter Atkinson

Upgraded to V 1.01. I can see the option to "edit course properties" on the courses tab but the actual options are not loading when the edit link is clicked - see attached screenshot. Using BP V 1.2.5.2 & WP 3.01.

August 31, 2010 05:03 am.
User photo
Troy Foster
Rustici Software

Added course properties editors to the Courses page to enable setting course Package Properties from within wordpress.

No schema changes necessary.  Should update seamlessly by overwriting the current course files.

wp_propseditor.jpg

August 30, 2010 01:22 pm.
User photo
Troy Foster
Rustici Software

Modified the Upload service to add robustness and to use the service host setting instead of the token server value. Essentially, the server value returned from the Upload token changed when a server upgrade took place, breaking the upload service.  This new UploadService file fixes the problem. (But we are also still looking to fix the server.)

I am attaching the modified file, but the package at the head of this thread has also been updated with the latest.

August 27, 2010 10:23 am.
User photo
Troy Foster
Rustici Software

Package Updated with cloud php library enhancements.

August 16, 2010 10:58 am.
User photo
Troy Foster
Rustici Software

Package updated to delete invitations and regs from wp when a course is deleted.

Also now checking for available account registrations before enabling links that will create new Registrations in WP.  Using the getAccountInfo service call.

July 22, 2010 12:36 am.
User photo
Troy Foster
Rustici Software

Package Updated to include custom SCORM player stylesheet support.

July 21, 2010 01:14 pm.