matcorrao VIP
Total posts: 83
10 Sep 2012 00:24

Hi Guys,

I wanted to ask you if there's a way of using Cobalt+Emerald with native features to solve the following e-learning scenario.

I have an e-learning site with:

Type A: Courses

A course has general characteristic about a course, with a description, an image, etc. Nothing special nor restricted. Courses can be added by registered users.

However, there's a relate field (parent type) where users can submit the content in different classes.

Type B: Classes

They contain the course material. They can be of different types (videos, images, html, etc.).

I need Classes to be available (accessed) only to people that buys the course (payment).

What I want?

I want users to pay to access to the course material (classes). However, the fields located at the course level aren't restricted, they contain general information about the course to tease users to buy it.

So, when a users pays, access to classes should be granted.

I tried using "paytoaccess" field at the Course level, but this doesn't let users get into the course. I need them to get into the course to see more details about the course, reviews, rates, comments, etc, and then if they liked they would be able to access classes (if they pay).

So, if there any way of solving this scenario using Cobalt+Emerald? If not, what would you think it would be the most simple solution (even if it means to add some customization or a special field "paytocourse" (e.g)?

I'm currently developing this scenario for one of my clients on localhost, but I plan to upload everything to a server by tomorrow, it would be good to know how to approach this scenario so that I can start working on it.

Thanks for all,

Matias

Last Modified: 02 Mar 2014


Sergey
Total posts: 13,748
10 Sep 2012 03:11

Emerald can restrict by fields. But it cannot allow to purchase individual courses. You wil have to create plan for every course. Of course if you have limited static number or courses it is ok. But think you don't.

The only way for quickest solution is to modify paytoaccess and allow it to select restricted fields rather then whole article.

And even though, that will be parent-child fields. It will hide fields on the course page, but it wil not check access to the other article. It only work within the current article. I am just thinking out laud.

So what would be he solution to pay in one article and get access to the other articles?

There is only one answer. SSI have to be implemented into parent and child fields. So you could see buy button right before the list of related articles, and when you access related articles field that show parent check for access.

And it sounds reasonable and good feature :)


matcorrao VIP
Total posts: 83
10 Sep 2012 07:28

Hi Sergey,

Thank you very much for your suggestion, I think that I will move forward with integrating SSI into relate fields so that I can make this cross-check.

All the best,

Matias


Sergey
Total posts: 13,748
10 Sep 2012 19:57

That would be most easy way. because parent field have ID of the child field and vice versa. So it will be very easy to check, because you already know a field ID that keep order.


pepperstreet VIP
Total posts: 3,837
16 Oct 2012 13:10

Interesting topic... I am following ;-)


Sergey
Total posts: 13,748
16 Oct 2012 20:00

I believe Matias already has some solution :) I Like tit very much.


matcorrao VIP
Total posts: 83
21 Feb 2013 13:28

Hello guys,

Sorry for delaying so much!

Yes indeed, we built www.marketcursos.com which is a spanish language where teachers register and sell their own courses (multiseller commerce). It was very challenging and required developing some custom plugins and extensions but lots of task of simplified by the use of Cobalt :D

We add lots of interesting features such as: - Course selling. Course is a parent type related to classes and exams. We created a custom field called "paytoaccessrelated" in order to let users access classes (related content) when they pay through PayPal. - Multiple type of contents in one class (thanks to Cobalt's upload field and renderization through GoogleDocsViewer) - Multiple choice exams (a type of content made through Cobalt), as well as history of students' answers and grades (even with certificates generated with Cobalt content type!!!). - Forums in each class (thanks to "Cobalt's Comments"). - Messaging between teachers and all of their student's classes. - Workflow for course publishing depending on user role and course status. Teachers need to sign an agreement before their courses are approved and ready to sell. - We integrated custom rules to allow better workflow on CommunityBuilder. - We integrated Emerald cupons in the "paytoaccessrelated" to allow discounts. This was really nice. - We integrated WizzAffiliate component through a plugin development to allow Cobalt and WizzAffiliate work together. - Changes in saler and buyer templates to allow a more complex level of commission (some sales were manually added through admin because sales were generated by third party platforms).

The project took 2 months including custom designs and development. It was very exciting and I believe the project took off because we decide to go ahead with a Cobalt-and-Tailored features.

The client is planning to add a lot more in the following months, so the list will continue.

Thanks a lot for all the help, this year we're taking two others project with the same approach of using Cobalt with some custom development! It's impressive what you can do with Cobalt and a bit of imagination :D

All the best!

Matias


Sergey
Total posts: 13,748
22 Feb 2013 02:38

Yes indeed, we built www.marketcursos.com which is a spanish language where teachers register and sell their own courses (multiseller commerce). It was very challenging and required developing some custom plugins and extensions but lots of task of simplified by the use of Cobalt

Esto es excelente! I am very happy to look at this site. You are rock!

You know what? I believe there are number of people who would like to get their hands on those cusom fields and other customisations you've created. Is it possible to pack it and publish in Community Dept?


matcorrao VIP
Total posts: 83
23 Feb 2013 08:36

Thank you guys for your support and encouragement! I will revise our customizations and will try to pack them soon!

Thanks a lot, I'm very glad you liked it!


pepperstreet VIP
Total posts: 3,837
21 Aug 2013 19:51

Just stumbled upon this older topic... any news on this?


matcorrao VIP
Total posts: 83
26 Sep 2013 23:37

Hi Pepperstreet!

This has been a terrible year filled with a lot of demanding projects, but cannot complain!

I haven't forgotten about this topic, I will focus on this after the storm is gone.

Best,

Matias

Powered by Cobalt