<< Indietro
Messaggi di questa discussione
Mittente Testo dei messaggi
Erba Claudio

Avatar
Post fatti : 2688
> Profilo
Scritto il : 15/12/2010 10:50 ( più di un mese )
Oggetto : Magento commerce integration
Official thread for magento commerce integration


                                                                                                 


Features and how-to install
Please see this wiki page to find out more information on the module and how to install it.



Download
You can download the module from our download area.


 
Join us
As stated, this project is an official Docebo project, open to everyone to join. If you have enough skills to improve this module, like a good knowledge of Magento and PHP5, you can ask us for access as a contributor to the GIT repository that hosts this project:
 
For require to be added to the repository as a contributor, or for any other question regarding the module, please reply to this thread.
Messaggio modificato da : giovanni.derks il : 23/02/2011 16:51
Docebo CEO and Founder
www.docebo.com
 
moore jeremy

Avatar
Post fatti : 8
> Profilo
Scritto il : 10/02/2011 17:15 ( più di un mese )
Oggetto : Re: Magento commerce integration
Has anyone began integrating magento with docebo?  Is there an extension under development? I need something to add users and their assignments to docebo when products are purchased from magento.

Thanks
Jeremy
 
Derks Giovanni

Avatar
Post fatti : 1861
> Profilo
Scritto il : 10/02/2011 18:24 ( più di un mese )
Oggetto : Re: Magento commerce integration
Hello,
yes we are working on in and a first version of the module will be released in the next few days. The first version will only work with standard courses (no editions or classrooms).

Giovanni. 

Docebo Staff
 - Docebo 4 released! -

 
moore jeremy

Avatar
Post fatti : 8
> Profilo
Scritto il : 11/02/2011 01:00 ( più di un mese )
Oggetto : Re: Magento commerce integration
Derks,

That's great! We use all standard courses and would love to dig in and get the module implemented. Will you be releasing this as a beta version or do you feel it's fairly stable? In the mean time, do you guys have any documentation I could review as I would want to implement it ASAP.

Thanks guys!

Jeremy
 
Derks Giovanni

Avatar
Post fatti : 1861
> Profilo
Scritto il : 11/02/2011 17:56 ( più di un mese )
Oggetto : Re: Magento commerce integration
Hello,
no documentation is available yet, but will be easy to setup.

The first version will be more like a beta or anyway with limited features (but being simple, once you can set it up and it works, it should be stable too); we also hope to get some support from the Magento community as we are releasing this as open source.

bye,
Giovanni. 

Docebo Staff
 - Docebo 4 released! -

 
moore jeremy

Avatar
Post fatti : 8
> Profilo
Scritto il : 15/02/2011 16:55 ( più di un mese )
Oggetto : Re: Magento commerce integration
Hi Giovanni,

Do you know what the estimated release date is for this extension.  We have both our magento store and our docebo LMS setup and are really anxious to find a way to connect the two.  If you looking fo people in the short term to test it out we'd be up for it as well.

Thanks

Jeremy_at_thriveagency.com
 
Derks Giovanni

Avatar
Post fatti : 1861
> Profilo
Scritto il : 16/02/2011 18:07 ( più di un mese )
Oggetto : Re: Magento commerce integration
Hello,
please stay tuned for this as it should be a matter of few days.

The magento code is quite complicated and I the documentation not that detailed; moreover we didn't received any support from the community yet, so this is slowing it down a little bit. But we are almost done with the first version.

bye,
Giovanni. 

Docebo Staff
 - Docebo 4 released! -

 
moore jeremy

Avatar
Post fatti : 8
> Profilo
Scritto il : 16/02/2011 20:19 ( più di un mese )
Oggetto : Re: Magento commerce integration
Sure thing,

Let me know if you guys have the code out on github or some other repository.  I have quite a bit of magento experience and so might be able to help as you guys wrap up.

Thanks for the info,

Jeremy
 
Derks Giovanni

Avatar
Post fatti : 1861
> Profilo
Scritto il : 17/02/2011 18:39 ( più di un mese )
Oggetto : Re: Magento commerce integration
Scritto da:: moore jeremy

Let me know if you guys have the code out on github or some other repository.  I have quite a bit of magento experience and so might be able to help as you guys wrap up.


Hello,
sure the code will be on github as soon as we release the module, and of course your help will be very welcome!  thanks.

bye,
Giovanni. 

Docebo Staff
 - Docebo 4 released! -

 
Derks Giovanni

Avatar
Post fatti : 1861
> Profilo
Scritto il : 23/02/2011 10:43 ( più di un mese )
Oggetto : Re: Magento commerce integration
Hello Jeremy

Now you can find the first version of the module on our git repository:
https://github.com/docebo/docebotp

You can find instructions in the readme file on the repository or in our wiki.

If you want to help with this module and join the project please let me know your github username, thanks :)

Giovanni. 

Docebo Staff
 - Docebo 4 released! -

 
sys

Noavatar
Post fatti : 6
> Profilo
Scritto il : 02/03/2011 16:51 ( più di un mese )
Oggetto : Re: Magento commerce integration
I am testing Magento module, but don't work for me.
- I have DoceboLMS 4.04
- I have Magento 1.4.2
- I did all the steps in the README file 

Unfortunally, in the Magento Administration Panel (System --> Configuration --> Web) I haven't a Docebo section.

Thanks for help! 
 
Erba Claudio

Avatar
Post fatti : 2688
> Profilo
Scritto il : 04/03/2011 10:45 ( più di un mese )
Oggetto : Re: Magento commerce integration
Now you can sell your e-learning courses! Magento e-commerce module integrated with DoceboLMS e-learning is Online! 

http://www.magentocommerce.com/magento-connect/docebo/extension/5982/docebolms_elearning_integration
Docebo CEO and Founder
www.docebo.com
 
Cimarelli Giorgio

Avatar
Post fatti : 280
> Profilo
Scritto il : 04/03/2011 15:07 ( più di un mese )
Oggetto : Re: Magento commerce integration
Avrei qualche curiosità...
Come si interfaccia più in dettaglio Docebo e Magento? possiamo definire magento come una vetrina per un catalogo avanzato? l'utente che si è registrato in docebo cosa deve affrontare per comprare un corso? Quali vantaggi porterevve utilizzare magento al posto del modulo e-commerce integrato in docebo? 

Grazie
Giorgio 
www.ecmunipv.it
 
Erba Claudio

Avatar
Post fatti : 2688
> Profilo
Scritto il : 04/03/2011 18:12 ( più di un mese )
Oggetto : Re: Magento commerce integration
Hello this forum area is only in english

Magento allow to sell courses and  products at the same time, also manage differnt payment gateways, promotions and so on. Then it's a specialized e-commerce platform. 

For all the details related to features and so on here is the log:
REQUIREMENTS:
---------------------------------------------------------------------------------------
- Magento 1.4.x
- Docebo 4.0.4 with updated files from the package
FEATURES / HOW IT WORKS:
---------------------------------------------------------------------------------------
This module at this time provides a userbase synchronization between Magento and Docebo where Magento is the "Master" and Docebo is the "Slave". This means that updating or creating a user in Magento will update or create the user in Docebo but if you create or update a user in Docebo the change won't affect the Magento installation.
The module allows users to buy a virtual product in your Magento installation that can be linked with a Docebo LMS course. When the order is completed the courses bought by the users in Magento will automatically be activated for the user in Docebo LMS. Note that at this time it works only with regular e-learning courses (no editions / no classrooms).
Please feel free to join us to improve this module that is provided as an official Docebo module to/for the community of Magento and Docebo; see the "join  us" chapter.
INSTALL
---------------------------------------------------------------------------------------
On the package you can download from the website you can find the "Docebo" and the "patch_for_Docebo_404" folders.
- The "patch_for_Docebo_404" folder contains files that have to be updated in your 4.0.4 installation in order to have the module working correctly, so we suggest you to first backup your Docebo installation files and the to overwrite them with the new ones provided.
- The "Docebo" folder is the folder that must be placed inside the "app/code/local" folder of your Magento install.
Once you've setup the files, you have to configure the module by going in administration > system > configuration and selecting Web > Docebo.
Here you have to setup the url of your Docebo installation (ending with "/") and the user and password of a super-admin user that will be used to authenticate to the Docebo API.
On the administration page, selecting Docebo -> Users from the menu, you'll also find the "Sync users from Magento to Docebo" link that lets you perform a 1-way sinc to "link" Docebo accounts to Magento accounts. This works by checking, by e-mail address, the accounts in Docebo that matches the one available on your Magento installation. When a user is found the data is stored on the Docebo database in order to "link" it with the Magento account. In this way, updating a Magento account will also update the Docebo account. Once you've setup and configured the module, new Magento users will automatically be added and "linked" to your Docebo installation.
CREATING A PRODUCT
---------------------------------------------------------------------------------------
You can create a product and link it to a Docebo course by creating a Magento product as you normally would; create it as a Virtual Product and remember to select a category and set inventory settings as following:
- Manage Stock: No
- Maximum Qty Allowed in Shopping Cart: 1
On the "General" tab you'll find the "DoceboLMS Course" dropdown menu that will allow you to select a Docebo LMS course to associate your product with. Selecting a course will "link" the product with the course.
JOIN US
---------------------------------------------------------------------------------------
As stated, this project is an official Docebo project, open to everyone to join. If you have enough skills to improve this module, like a good knowledge of Magento and PHP5, you can ask us for access as a contributor to the GIT repository that hosts this project:
 
https://github.com/docebo/docebotp/ 
Messaggio modificato da : claudio.erba il : 04/03/2011 18:13
Docebo CEO and Founder
www.docebo.com
 
Derks Giovanni

Avatar
Post fatti : 1861
> Profilo
Scritto il : 04/03/2011 18:18 ( più di un mese )
Oggetto : Re: Magento commerce integration
Scritto da:: sys

Unfortunally, in the Magento Administration Panel (System --> Configuration --> Web) I haven't a Docebo section.
 


Hello,
you can now install it also via magento connect.

Anyway, try to download again the package from our download section. Not it should works / you should see the Docebo menu item.

bye,
Giovanni. 

Docebo Staff
 - Docebo 4 released! -

 
Derks Giovanni

Avatar
Post fatti : 1861
> Profilo
Scritto il : 04/03/2011 18:22 ( più di un mese )
Oggetto : Re: Magento commerce integration
@Cimarelli Giorgio: magento is an advanced e-commerce so it is way more difficult to set-up than Docebo. If you just have to sell courses and you don't need advanced features I'd suggest you to just use Docebo. Also, the user must be registered in Magento to buy a Docebo course so in this scenario Magento would be the master platform.

bye,
Giovanni. 

Docebo Staff
 - Docebo 4 released! -

 
puga rodrigo

Noavatar
Post fatti : 2
> Profilo
Scritto il : 22/03/2011 07:55 ( più di un mese )
Oggetto : Re: Magento commerce integration
Hi,

I just installed docebo and dis the step by step for integrating it to magento.

I configured magento's admin and after I click on Docebo menu link under magento admin, I get the following error:

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in/home7/investe3/public_html/lojavirtual/app/code/local/Docebo/Docebo/controllers/Adminhtml/DoceboController.php on line 58 

Anyone can help me solve this?  

Thanks in advance! 
 
Derks Giovanni

Avatar
Post fatti : 1861
> Profilo
Scritto il : 22/03/2011 10:42 ( più di un mese )
Oggetto : Re: Magento commerce integration
Hello,
do you installed it using magento connect?

Do you have magento 1.4.2?

Could you tell me what do you have at line 58 of file: app/code/local/Docebo/Docebo/controllers/Adminhtml/DoceboController.php ?

Thanks.

bye,
Giovanni. 

Docebo Staff
 - Docebo 4 released! -

 
puga rodrigo

Noavatar
Post fatti : 2
> Profilo
Scritto il : 22/03/2011 21:11 ( più di un mese )
Oggetto : Re: Magento commerce integration
Thanks for the reply.

I have Magento 1.4.1.1 

I did not install with magento connect, because I got an error. So I installed manually.

On line 58 I have the following code:

$res = $docebo_req::request('importextusersfromemail', $userdata);



and this is the whole DoceboController.php code:

<?php
class Docebo_Docebo_Adminhtml_DoceboController extends Mage_Adminhtml_Controller_action
{
 
public function indexAction() {
$this->loadLayout();
$this->_setActiveMenu('docebo/index');
//$this->_addBreadcrumb(Mage::helper('adminhtml')->__('Item Manager'), Mage::helper('adminhtml')->__('Item Manager'));
//$this->_addContent($this->getLayout()->createBlock('docebo/adminhtml_docebo_edit'));
//->_addLeft($this->getLayout()->createBlock('docebo/adminhtml_docebo_edit_tabs'))
//->_addContent($this->getLayout()->createBlock('docebo/adminhtml_docebo_edit_tab_form'));
$this->_addContent($this->getLayout()->createBlock('docebo/adminhtml_docebo'));
$this->_addContent($this->getLayout()->createBlock('docebo/adminhtml_docebo_edit_tab_form'));
$this->renderLayout();
}
 
public function saveAction() { // sync users:
$userdata =array();
/* $users = Mage::getModel('customer/customer')->getCollection();
/* foreach ($users as $customer) {
$is_active =$customer->is_active;
$email =$customer->email;
$customer_id =$customer->entity_id;
// print_r($customer_id.": ".$email);
//$users[$customer_id]=$email;
} */
$users = Mage::getModel('customer/customer')->getCollection();
$i = 0;
    foreach($users as $customer) {
$is_active =$customer->is_active;
$email =$customer->email;
$customer_id =$customer->entity_id;
      if ($customer_id > 0) {
        $userdata['user_'.$i.'[ext_user]'] = $customer_id;
        $userdata['user_'.$i.'[ext_user_type]'] = 'magento';
        $userdata['user_'.$i.'[email]'] = $email;
        $i++;
      }
    }
$res =false;
if (!empty($userdata)) {
$docebo_req =Mage::helper('docebo/doceborequest');
$res = $docebo_req::request('importextusersfromemail', $userdata);
}
// var_dump($res); die();
Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('docebo')->__('Magento users has been synchronized with the ones matching in Docebo.'));
$this->_redirect('*/*/');
// Mage::getSingleton('adminhtml/session')->addError(Mage::helper('docebo')->__('Unable to find item to save'));
}
 
 
R William

Noavatar
Post fatti : 7
> Profilo
Scritto il : 07/04/2011 02:54 ( più di un mese )
Oggetto : Re: Magento commerce integration
Written by:: puga rodrigo

Hi,

I just installed docebo and dis the step by step for integrating it to magento.

I configured magento's admin and after I click on Docebo menu link under magento admin, I get the following error:

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in/home7/investe3/public_html/lojavirtual/app/code/local/Docebo/Docebo/controllers/Adminhtml/DoceboController.php on line 58 

Anyone can help me solve this?  

Thanks in advance! 


I am getting the exact same problem.
 
Derks Giovanni

Avatar
Post fatti : 1861
> Profilo
Scritto il : 07/04/2011 18:34 ( più di un mese )
Oggetto : Re: Magento commerce integration
Hello,
now in our download area you can find an updated version of the module that fixes that problem. Please let us know.

Thanks.

bye,
Giovanni. 
Messaggio modificato da : giovanni.derks il : 07/04/2011 18:34

Docebo Staff
 - Docebo 4 released! -

 
R William

Noavatar
Post fatti : 7
> Profilo
Scritto il : 07/04/2011 18:37 ( più di un mese )
Oggetto : Re: Magento commerce integration
Hello,
  I found Line 58 to be

$res = $docebo_req=::request('importextusersfromemail', $userdata); 

I changed it to

$res = $docebo_req =Mage::request('importextusersfromemail', $userdata);

and that seemed to fix the problem.

Either way I will uninstall and install the update and let you know how it goes. Thanks for the speedy response!
 
R William

Noavatar
Post fatti : 7
> Profilo
Scritto il : 07/04/2011 18:52 ( più di un mese )
Oggetto : Re: Magento commerce integration
Just updated,  When I click sync users I get the following error

Fatal error: Class 'Docebo_Docebo_Helper_Doceborequest' not found in /public_html/app/Mage.php on line 520 

517 $registryKey = '_helper/' . $name;
518 if (!self::registry($registryKey)) {
519 $helperClass = self::getConfig()->getHelperClassName($name);
520 self::register($registryKey, new $helperClass);
521 }
522 return self::registry($registryKey);
523 }
 

I get the same error when trying to edit a product now also. 
Messaggio modificato da : willr il : 07/04/2011 18:57
 
R William

Noavatar
Post fatti : 7
> Profilo
Scritto il : 07/04/2011 21:49 ( più di un mese )
Oggetto : Re: Magento commerce integration
I fixed the issue, DoceboRequest.php needs to be renamed.

/public_html/app/code/local/Docebo/Docebo/Helper/DoceboRequest.php

needs to be renamed to

/public_html/app/code/local/Docebo/Docebo/Helper/Doceborequest.php

Basically the "r" in DoceboRequest.php needs to be lowercase. 

is this because of my server settings? 
 
R William

Noavatar
Post fatti : 7
> Profilo
Scritto il : 07/04/2011 22:22 ( più di un mese )
Oggetto : Re: Magento commerce integration
I created a virtual product, assigned it to an e-Learning class. When a user registers on my site I don't see them in docebo?
Are there any settings I should change on docebo? Thanks. 


....Also when I click on manage products and try to edit a product I'm recieving an exception error. I tried deleting the virtual product, but the error is still occuring.

Here's the log from public_html/var/log/exception.log

2011-04-07T20:01:36+00:00 ERR (3): 
exception 'Mage_Core_Exception' with message 'Invalid block type: Mage_Ultdebate_Block_Questions' in /home/xxx/public_html/app/Mage.php:550
Stack trace:
#0 /home/xxx/public_html/app/code/core/Mage/Core/Model/Layout.php(469): Mage::throwException('Invalid block t...')
#1 /home/xxx/public_html/app/code/local/Aitoc/Aitsys/Model/Core/Layout.php(10): Mage_Core_Model_Layout->_getBlockInstance('ultdebate/quest...', Array)
#2 /home/xxx/public_html/app/code/core/Mage/Core/Model/Layout.php(411): Aitoc_Aitsys_Model_Core_Layout->_getBlockInstance('ultdebate/quest...', Array)
#3 /home/xxx/public_html/app/code/core/Mage/Core/Model/Layout.php(446): Mage_Core_Model_Layout->createBlock('ultdebate/quest...', 'ultdebate')
#4 /home/xxx/public_html/app/code/core/Mage/Core/Model/Layout.php(238): Mage_Core_Model_Layout->addBlock('ultdebate/quest...', 'ultdebate')
#5 /home/xxx/public_html/app/code/core/Mage/Core/Model/Layout.php(204): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#6 /home/xxx/public_html/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#7 /home/xxx/public_html/app/code/core/Mage/Core/Model/Layout.php(209): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#8 /home/xxx/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(343): Mage_Core_Model_Layout->generateBlocks()
#9 /home/xxx/public_html/app/code/core/Mage/Catalog/Helper/Product/View.php(73): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#10 /home/xxx/public_html/app/code/core/Mage/Catalog/Helper/Product/View.php(144): Mage_Catalog_Helper_Product_View->initProductLayout(Object(Aitoc_Aitpermissions_Model_Rewrite_CatalogProduct), Object(Mage_Catalog_ProductController))
#11 /home/xxx/public_html/app/code/core/Mage/Catalog/controllers/ProductController.php(132): Mage_Catalog_Helper_Product_View->prepareAndRender(169, Object(Mage_Catalog_ProductController), Object(Varien_Object))
#12 /home/xxx/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Catalog_ProductController->viewAction()
#13 /home/xxx/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(253): Mage_Core_Controller_Varien_Action->dispatch('view')
#14 /home/xxx/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#15 /home/xxx/public_html/app/code/core/Mage/Core/Model/App.php(340): Mage_Core_Controller_Varien_Front->dispatch()
#16 /home/xxx/public_html/app/Mage.php(627): Mage_Core_Model_App->run(Array)
#17 /home/xxx/public_html/index.php(80): Mage::run('', 'store')
#18 {main}
 
Messaggio modificato da : willr il : 08/04/2011 13:49
 
R William

Noavatar
Post fatti : 7
> Profilo
Scritto il : 09/04/2011 04:38 ( più di un mese )
Oggetto : Re: Magento commerce integration
Still can't fix my store.....Been trying for hours.. Help please Embarassed

when I click edit on any product in admin

There has been an error processing your request

Source model "docebo/product_attribute_source_unit" not found for attribute "docebo_course".
Messaggio modificato da : willr il : 10/04/2011 10:54
 
R William

Noavatar
Post fatti : 7
> Profilo
Scritto il : 10/04/2011 13:32 ( più di un mese )
Oggetto : Re: Magento commerce integration
SOLVED

If anyone runs into a similar problem in the future run the following command on the database in phpmyadmin:

DELETE FROM `core_resource` WHERE `core_resource`.`code` = 'docebo_setup'

DELETE FROM `eav_attribute` WHERE `eav_attribute`.`attribute_code` = 'docebo_course'

update eav_entity_type set additional_attribute_table='catalog/eav_attribute',entity_attribute_collection='catalog/product_attribute_collection'
 
Erba Claudio

Avatar
Post fatti : 2688
> Profilo
Scritto il : 11/04/2011 19:37 ( più di un mese )
Oggetto : Re: Magento commerce integration
Giovanni please fix and update (And open a bug)
Claudio 
Docebo CEO and Founder
www.docebo.com
 
Derks Giovanni

Avatar
Post fatti : 1861
> Profilo
Scritto il : 15/04/2011 12:49 ( più di un mese )
Oggetto : Re: Magento commerce integration
Written by:: R William

I fixed the issue, DoceboRequest.php needs to be renamed.

/public_html/app/code/local/Docebo/Docebo/Helper/DoceboRequest.php

needs to be renamed to

/public_html/app/code/local/Docebo/Docebo/Helper/Doceborequest.php

Basically the "r" in DoceboRequest.php needs to be lowercase. 

is this because of my server settings? 


Hello,
this was caused by the fact that unix/linux uses a case-sensitive filesystem; now it has been fixed and you can find the new version in the download area (v. 0.2.1).

Please rename your file back to DoceboRequest.php as it has been fixed in the code.

Also, about the other problem, as said we've tested it with version 1.4.2; I've tested it on linux and it works correctly (can sync users, add a product and associate it with a course, if a new user register to magento I can see him in Docebo, ...)

Please make sure you applied the patch to Docebo 4.0.4 (folder "patch_for_docebo_404") that is needed to have the latest API; else the Magento integration won't work correctly.

This project is open for the community to directly contribute; it is for example possible to report issue and eventually fix them on our github account here. We're looking forward to some Magento experts to join us ;)

bye,
Giovanni. 
Messaggio modificato da : giovanni.derks il : 15/04/2011 12:53

Docebo Staff
 - Docebo 4 released! -

 
MARK

Noavatar
Post fatti : 2
> Profilo
Scritto il : 24/06/2011 09:41 ( più di un mese )
Oggetto : Re: Magento commerce integration
Hello Giovanni,

I have setup Magento-Docebo integration for one of my clients. He wants that his customers are able to login automatically into Docebo from their Magento Dashboard by clicking on a link.  I understand Docebo username/pass is the same as Magento users' email/pass. I've been trying to pass these credentials to Docebo's login page and discovered secret key that is generated everytime Docebo's login page is loaded. Now I've tried sending that key over too alongwith user's login info but it doesn't seem to work.

Can you please help?

Thanks,

Mark
 
 
<< Indietro