Multiple Joomla Installations

Discussion in 'Integration' started by xenous, Sep 2, 2013.

  1. xenous

    xenous New Member

    Joined:
    Aug 27, 2012
    Messages:
    8
    I need to know what to do integrate more than one joomla site into amember. Tried multiple WP guide but no luck.

    Thanks
  2. xenous

    xenous New Member

    Joined:
    Aug 27, 2012
    Messages:
    8
    Nevermind... I have sorted it out.

    For the ones who are seeking the same answer the guide is follows.
    1. Copy all files from /amember/application/default/plugins/protect/joomla to /amember/application/default/plugins/protect/joomla1 folder.
    2. Rename /amember/application/default/plugins/protect/joomla1/joomla.php to /amember/application/default/plugins/protect/joomla1/joomla1.php
    3. Edit /amember/application/default/plugins/protect/joomla1/joomla1.php and change the lines
    Code:
    class Am_Protect_Joomla extends Am_Protect_Databased 
    to
    Code:
    class Am_Protect_Joomla1 extends Am_Protect_Databased 
    Code:
    Am_Protect_Table_Joomla extends Am_Protect_Table
    to
    Code:
    Am_Protect_Table_Joomla1 extends Am_Protect_Table
    Code:
    Am_Protect_Table_Joomla_150 extends Am_Protect_Table
    to
    Code:
    Am_Protect_Table_Joomla1_150 extends Am_Protect_Table
    Code:
    Am_Protect_SessionTable_Joomla extends Am_Protect_SessionTable
    to
    Code:
    Am_Protect_SessionTable_Joomla1 extends Am_Protect_SessionTable
    Delete everything after line 426

    4. Go to aMember CP -> Setup -> Plugins and enable joomla1 plugin.

    In aMember CP -> Protect Content -> Integrations you will have two plugins now: joomla and joomla1

Share This Page