-
Notifications
You must be signed in to change notification settings - Fork 4
Drupal glue module between ubercart and coova.
License
creative-contingencies/ubercoova
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
== WHAT?! == This module provides Ubercart/Coova/Radius glue that doesn't require a CoovaEWT and CoovaRADIUS setup. == LICENSE == This code is made available under the GNU GENERAL PUBLIC LICENSE version 2. See the COPYING file for details. == PREREQUISITES == You need to have a working Coova installation with a radius server that uses a MySQL backend. This code was developed for use with FreeRADIUS. You also need a configured Ubercart installation, to take payments for download quota. == INSTALLATION == Extract the module to your sites/all/modules directory and visit the modules list page to enable it. It will be listed s 'UberCoova' under 'Other'. == CONFIGURATION == To make use of the ubercoova module, Drupal needs to be able to access the FreeRADIUS backend database. You can configure this database by editing your settings.php file. Modify the $db_url variable, so that instead of a string it is an array. The array should have at least a 'default' key that contains the existing url for the Drupal database. First, change: $db_url = 'mysqli://username:password@localhost/databasename'; To: $db_url = array(); $db_url['default'] = 'mysqli://username:password@localhost/drupal'; You can now append the database url for the freeradius database below the default url. You should give it the key 'radius'. $db_url = array(); $db_url['default'] = 'mysqli://username:password@localhost/drupal'; $db_url['radius'] = 'mysqli://raduser:radpass@localhost/radius'; The raduser account needs to be able to read from and write to the table with account credentials and attributes. Once enabled, a user with 'administer ubercoova' permission can change the module configuration on admin/settings/ubercoova.
About
Drupal glue module between ubercart and coova.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published