Skip to content

General AEC Integration

jfusion edited this page Mar 26, 2016 · 1 revision

This is a how to article on integrating AEC into JFusion. The method below is probably one of many methods, but I have found this to be effective.

#Minimal Requirements

#Introduction

Basically this is how the process will work. A usergroup will be set up using NoixACL that will house "non-members." Usergroups with limited permissions will then be created in the integrated softwares. Using AEC's Usergroup MI and JFusion's MI, AEC will move users who's plans have expired into the non-members group. JFusion will then update the user's group throughout the integrated softwares effectively crippling the user's account.

This article will lay out a simple setup where only a non-members group will be used. But in addition, you can create multiple new groups within Joomla and the integrated software with varying permissions. Then assign those groups to specific AEC plans so that each plan has varying permissions in the forum, etc.

For this article, vBulletin will be used as the example.

#Configuring Joomla

  • In Joomla's Plugin Manager, make sure that JFusion's user plugin is ordered after AEC's user plugins.

#Configuring Usergroups

##Joomla

  • Browse to Components -> Access Control -> Manage Groups and click New.
  • Type in a Group Name such as "Non-Members" and click Save (leave Parent Group set to Public Front-end.

##vBulletin

  • From the administrator panel, browse to Usergroups -> Usergroup Manager and click Add New Usergroup
  • Give it a title like "Non-Members" and setup the permissions. In this example, we will give the group permission to view the Forum only so that they can see the forums, but nothing beyond.
  • Click Save

##JFusion

  • Browse to Components -> JFusion -> Configuration and click the Edit icon for the vBulletin plugin
  • Scroll down to User Options and change Usergroup Mode to Advanced.
  • Assign Joomla's usergroups to vBulletin's usergroups. Make sure every group is assigned or else login access may be lost. Assign Joomla's Non-Member group to vBulletin's Non-Member group and match up any other custom groups that were created.

#Configuring AEC

##Installing/Configuring Micro Integrations

  • Download the JFusion MI from above and upload it to components/com_acctexp/micro_integration.
  • Browse to Components -> AEC Subscription Manager -> Settings and click on the MicroIntegr tab.
  • While holding down the Ctrl key, click on JFusion and Usergroup MI (ACL) from the list then click Save.
  • Click on Micro Integr. from Joomla's submenu and click New
  • Fill in a name, select Yes for Expiration Action, and select JFusion from the Function Name list. Click Save and then Save again.
  • Click New again and do the same as above but select Usergroup MI this time and before you click Save the second time, click on the Settings tab and select Yes for "Set on Expir.?" and select Non-Member for "Espir. GID." Then click Save.

##Configuring the Plans

  • Edit or create a new plan in AEC
  • Select Yes for "Enable usergroup" and select a user group from "Add User to Group." Do not select Non-Members here. You can however select custom groups if you've created them as mentioned in the introduction. Otherwise, select Registered.
  • Click on the Micro Integr. tab and while holding down the Ctrl key, click on Usergroup MI and JFusion. Click Save

#Finished! And that's it! Now when a user's plan expires, they will be automatically downgraded in vBulletin as well. Or if you have created multiple groups and assigned them to individual plans, upgraded on a new subscription.

Note...screenshots to come.