GithubHelp home page GithubHelp logo

cafuego / ubercoova Goto Github PK

View Code? Open in Web Editor NEW

This project forked from creative-contingencies/ubercoova

1.0 1.0 1.0 103 KB

Drupal glue module between ubercart and coova.

License: GNU General Public License v2.0

PHP 100.00%

ubercoova's Introduction

== 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.

ubercoova's People

Contributors

cafuego avatar dagdamor avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.