This package contains a CPG 1.6 plugin that provides one-way user synchronization from other web applications that are in the same domain as CPG.
Currently supported are Joomla 3.x, pbpBB 3.1+, Drupal 8.x and Invision Community 4.
By use of secure encrypted cookies, users logged into supported apps using a special link to CPG will automatically be logged in to CPG, creating an account if necessary. This creates a loose coupling between the two apps that can easily be broken with no harmful effects. The user accounts fully exist in each web app, allowing users to directly log into either one as though the other doesn't exist. The option is available to sync passwords, as well ... password changes at another app will automatically be applied at CPG.
Update 12 May 2017: CPG plugin 1.3.3 - corrected issue where link to CPG via tunnel does not login user on first use.
Update 04 Mar 2018: Added Invision Community 4 to apps that can tunnel to CPG. IC4 and phpBB3 can tunnel to CPG that was previously bridged. User ID's from the bridged app will transfer to CPG.
Update 02 Oct 2019: Corrected issue setting up phpBB3 extension.
Update 14 Jan 2020: Modified extension for phpBB3 to function with version 3.3.x
Update 09 Feb 2020: Added tunneling capability for Drupal.
Coppermine Photo Gallery Tunnel for Joomla!, phpBB3, Drupal or Invision Community 4
version: 1.3.6
The five files in this package are plugins for CPG, Joomla!, phpBB(3.1+), Invision Community 4 and Drupal(v8.x).
The phpBB3 and Invision Community tunnels can function with installations that have been bridged with CPG.
For CPG:
--------
Install the plugin, cpg1.6.x_plugin_tunnel2cpg_v1.3.6.zip
Configure its 'secret phrase', encryption method, usergroup settings, whether to sync passwords and optional theme name.
The tunnel encryption phrase/method must be set the same for each tunnel component (CPG and Joomla/phpBB3/invision4/Drupal).
For Joomla!:
------------
Install the plugin, plg_system_cpgtunnel_v1.3.2.zip
Enable the plugin and configure its 'secret phrase' (phrase same as CPG), encryption method and usergroup settings.
Establish any links in Joomla! that will point to CPG as: <CPG URL>/index.php?file=tunnel2cpg/joomla
Use the same link when setting up access to CPG using a Joomla! menu item 'wrapper'
For phpBB3:
------------
Unzip the extension, ron4mac_tunneltocpg_v1.2.2.zip, into the <phpbb>/ext folder.
Enable the extension and configure its 'secret phrase' (phrase same as CPG), encryption method and usergroup settings.
Establish any links in phpBB3 that will point to CPG as: <CPG URL>/index.php?file=tunnel2cpg/phpbb3
For Invision Community 4:
------------
From the Admin Plugins area, install the plugin file invision4CPGtunnel_v1.xml
Enable the plugin and configure its 'secret phrase' (phrase same as CPG), encryption method and usergroup settings.
Establish any links in IC4 that will point to CPG as: <CPG URL>/index.php?file=tunnel2cpg/invision4
For Drupal:
------------
Unzip the module, drupalCPGtunnel_v1.0.zip, into the <drupal>/modules folder.
Install/enable the module and configure its 'secret phrase' (phrase same as CPG) and usergroup settings.
Establish any links in Drupal that will point to CPG as: <CPG URL>/index.php?file=tunnel2cpg/drupal8
NOTES:
------
Mcrypt encryption methods can not be used with PHP version 7.2 and later. You must use openSSL.
Joomla!, phpBB3, IC4 and Drupal users will have to logout and back in before a tunnel will be established.
Subsequently, when users logout from Joomla!, phpBB3, IC4 or Drupal, they will also be logged out of CPG.
Once users have accessed the CPG instance via Joomla!, phpBB3 IC4 or Drupal, they will also be able to go directly to the
CPG instance (<CPG URL>) and login with their same Joomla!, phpBB3 IC4 or Drupal username and password.
A sample CPG theme is provided that is designed for use when accessing CPG via a Joomla! menu item wrapper.