Moodle +表达式引擎集成 +电子商务
我开始合作的一个客户有一个非常具体的需求,由于论坛和文档中的答案相互冲突,我似乎也找不到最佳解决方案,也找不到任何明确的是或否。
目标:我们希望使用 Moodle 来处理客户的课程管理和课程订阅。同时将 EE 用于其他内容以及商店和购物车来管理不会通过 Moodle 销售的课程相关材料和用品。
要求:同步购物车,这样如果学生购买了课程的订阅,他们还可以一次性从 EE 商店购买任何材料。
在进行研究后,我发现了一篇可以提供帮助的文章:aMember,但我无法对这些事情找到明确的是或否:
EE、Moodle 和 aMember 之间是否可以进行单点登录? 购物车功能可以吗?
如果这个问题在这里不合适,我深表歉意,但我非常希望得到答案,因为许多提出的解决方案如果不起作用,成本就会相对较高。
这里有人以前处理过这种集成吗?
A client I am beginning to work with has a very specific need that I can't seem to find the best solution too nor any definitive yes or no because of conflicting answers in forums and documentation.
Goal: We are looking to use Moodle to handle the clients course management and course subscriptions. While using EE for other content as well as a store and cart to manage course related materials and supplies that will not be sold through Moodle.
Requirement: A synchronous cart so that if a student purchases a subscription to a course, they can also purchase any materials from the EE store in one go.
Upon doing my research I have found one piece that can help: aMember, but I cannot find a definitive Yes or No to these things:
Is Single Sign On between EE, Moodle, and aMember possible?
Is the cart functionality possible?
I apologize if this question is out of place here, but I'd very much like an answer because many of the proposed solutions have a relatively high cost if they don't work.
Any one here dealt with this kind of integration before?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我从未尝试过与 Moodle 或任何其他第三方集成,但我知道您必须创建一种方式让两者相互交谈。您会使用 Moodle 作为 root 身份验证方法吗?电子工程?我不确定哪种方法最有效。您可以通过浏览 EE 插件开发文档了解有关如何创建该集成的更多信息。
此外,根据您的目标,您可能根本不需要会员。看看 Membrr,它擅长管理会员订阅。 CartThrob 和 辉煌零售 是两个流行的 EE 电子商务插件,它们也值得一试。
抱歉,我的回答无法更有针对性。希望有经验的人也能指点一下。祝你好运!
I've never tried to integrate with Moodle or any other third party, but I know you'd have to create a way for the two to talk to each other. Would you use Moodle as the root authentication method? EE? I'm not sure which approach would work best. You can learn more about how to create that integration by browsing the EE add-on development documentation.
Also, depending on what your goals are, you may not need aMember at all. Take a look at Membrr, which excels at managing membership subscriptions. CartThrob and Brilliant Retail are two popular ecommerce add-ons for EE, and they're worth checking out, too.
Sorry I couldn't be more targeted with my answers. Hopefully someone with more experience can chime in as well. Best of luck!
我刚刚完成了完整的 EE/Moodle 集成,很乐意分享我是如何做到的。快速概述一下,我们使用 EE 和 CarthThrob 来管理实际课程的购买,并使用 Moodle 来进行课程交付。我最终所做的有点复杂,但希望这能为您指明正确的方向。
课程通过 EE 网站出售。当它们被出售时,我有一个在 cartthrob_on_authorize 挂钩上填充的表,以使用电子邮件地址、角色(学生)和课程 ID 填充表。我通过 Moodle 运行一个 cron 来进行远程注册,这样它将获取该数据并注册学生。这是双向的,因此如果您从 EE 的表中删除一行,它也会取消学生在 Moodle 中的注册。
我正在使用 Moodle 的用户同步将我的所有 EE 用户通过 cron 作业拉入 Moodle 并使用他们的远程身份验证。一个问题是 Moodle 只提供开箱即用的 SHA1 和 MD5,因此我必须修改他们的远程登录脚本以首先查询盐,然后对盐和密码进行 SHA512 哈希以进行身份验证。这样做的目的是允许用户使用他们的 EE 凭据登录 Moodle 并创建记录来注册学生。
最大的警告是,您本质上在两个系统上有两个不同的帐户,并且由于 EE 将其用户数据存储在多个表中,因此您无法轻松提取诸如名字、姓氏之类的数据,因此在获取之前,moodle 会(再次)提示您输入此信息一门课程。这不是一个很好的解决方案,但它确实有效。我确信有一些方法可以解决这个问题(创建一个包含所有这些数据的注册表,以便通过 EE 扩展与 Moodle 同步)。
如果您仍在尝试这样做,希望这有助于让事情朝着正确的方向发展。
I just completed a full EE/Moodle integration and would love to share how I did it. In a quick overview, We are using EE and CarthThrob to manage the purchases of the actual courses and Moodle for course delivery. What I ended up doing was a bit complicated but hopefully this will point you in the right direction.
Courses are sold through the EE site. When they're sold, I have a table that is populated on the cartthrob_on_authorize hook to populate a table with email address, role (student) and course id. I run a cron through Moodle to do remote enrollment so it will grab that data and enroll the student. This works both ways so if you delete a row from the table in EE, it will also un-enroll the student in Moodle.
I am using Moodle's user sync to pull in all of my EE users into Moodle on a cron job as well as using their remote authentication. One issue is that Moodle only offers SHA1 and MD5 out of the box so I had to modify their remote login script to first query the salt and then do a SHA512 hash of the salt and password for it to authenticate. What this does is allow users to log into Moodle using their EE credentials and creates the record to enroll the students against.
The biggest caveat is that you essentially have two different accounts on two systems and since EE stores its user data across multiple tables, you can't easily pull in data like First Name, Last Name so moodle prompts for this information (again) before taking a course. Not a great solution but it works. I am sure there are ways you could get around this (create an enrollment table that has all of this data in it to sync against Moodle with an EE extension).
Hope that helps move things in the right direction if you're still trying to do this.
我们创建了一个接近您在 WordPress 中寻找的解决方案。在这里,我们将 Moodle 与 WooCommerce(WordPress 的电子商务解决方案)集成,以在线销售 Moodle 课程。
其他功能包括:
您可以在此处深入了解这些功能。 http://wisdmlabs.com/woocommerce-moodle-integration-solution/
We have created a solution close to what you are looking for in WordPress. Here we integrate Moodle with WooCommerce, an ecommerce solution for WordPress, to sell Moodle courses online.
Other features include:
You can read indepth about the features here. http://wisdmlabs.com/woocommerce-moodle-integration-solution/