BibORB 2014 with Social Login
You need a webserver with PHP 5.3 or higher. The program has been tested under IIS but should work with any other webserver as well. You need to enable to php_xsl extension.
- Unzip the BibORB.zip file and copy the files to the root of your webserver. The following assumes that all the files are under the directory “BibORB” (you can replace this of course).
- Make the sub-folders bibs and data writable for the web server. These folders contain the bibliographies and the user preferences.
- Go to the Google cloud console: https://code.google.com/apis/console
Create a project and under API enable the Google+ API
- Go to “Credentials”: create a client ID for a new web application; you need to provide a redirect URL which points to the redirect.php file in your installation which will be of the form http://YOUR_DOMAIN/BibORB/redirect.php
- You need the client ID and client secret from the cloud console.
- Open the file src/config.php in your installation and replace client ID, secret and the redirect URL in lines 28-30.
- Edit the data/authfiles/bibusers.txt and bibaccess.txt files. To add an administrator you need to add the following line to the users file: fullgoogle_id:1,
- For example, you can add the administrator “Tanya Rosenblat” with Google ID “tanyarosenblat@gmail.com” as tanyarosenblat@gmail.com:1,
- Administrators have full access to all bibliographies and can also add or delete bibliographies.
- For more granular control you can edit appropriate bibliography-level privileges in bib_access.txt.
- Privileges that apply for all bibliographies are declared as follows:
:markusmobius@gmail.com*adm,tanyarosenblat@gmail.com*adm
(this makes both users administrators).
- To give a user just permission to modify/add entries use the permissions m and a.
You should now be able browse to http://YOUR_DOMAIN/BibORB/index.php and use the site.