Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A plugin integration bbpress with a rails application.
PHP
Tree: b75b365ea5

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
patches
README.markdown
integration-api-plugin.php
integration-api.php
integration_api_lib.php
readme.txt
readme.txt.old

README.markdown

integration-api

This is a small plugin to integrate a bbPress installation with a RoR application to provide the user with a single-sign-on across the two applications. Totally sweet, and so on. ;-)

Changelog / Readme

Installation

To install:

  • get the Rails plugin (link and link) working
  • checkout a copy of this repo ('integration-api') to bbpress/my-plugins folder
  • configure the settings for the bbPress Integration plugin

CREDITS

NEW NEW NEW

  • requires HTTP_Request2

    • (sudo) pear install HTTP_Request2
    • make sure that PEAR is in the include_path
  • requires Net_URL2

    • included as depency in HTTP_Request2
    • (sudo) pear install Net_URL2
  • request improvements

    • only done once per request (vs. a gazillion times)
    • data is "cached" in static variables
  • support for Basic Auth

    • RoR api URL endpoint may require Basic Auth
    • add username and password to URL
    • e.g. http://foo:bar@rails.app/whatever

Feedback?

  • Patches welcome.
  • Message me (till) on github.
  • Email me: till@php.net
Something went wrong with that request. Please try again.