Advanced search  


cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.

Pages: [1]   Go Down

Author Topic: Tunnel2CPG user synchronization plugin(s)  (Read 224 times)

0 Members and 1 Guest are viewing this topic.


  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 524
Tunnel2CPG user synchronization plugin(s)
« on: April 20, 2017, 02:22:50 PM »

This package contains a CPG 1.6 plugin that provides one-way user synchronization from (currently) Joomla 3.x or pbpBB 3.1+ to CPG.

By use of secure encrypted cookies, users logged into Joomla or phpBB3 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 Joomla or phpBB3 will automatically be applied at CPG.

Code: [Select]
Joomla! and/or phpBB3 to Coppermine Photo Gallery Tunnel
version: 1.3.2

The three zipped files in this package are plugins for CPG, Joomla! and phpBB(3.1+).

For CPG:
Install the plugin,
Configure its 'secret phrase', usergroup settings, whether to sync passwords and optional theme name.
The tunnel encryption method must be set the same for each tunnel component (CPG and Joomla/phpBB3).

For Joomla!:
Install the plugin,
Enable the plugin and configure its 'secret phrase' (phrase same as CPG), usergroup settings and encryption method.
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,, into the <phpbb>/ext folder
Enable the extension and configure its 'secret phrase' (phrase same as CPG), usergroup settings and encryption method.
Establish any links in phpBB3 that will point to CPG as:  <CPG URL>/index.php?file=tunnel2cpg/phpbb3

Joomla! and phpBB3 users will have to logout and back in before a tunnel will be established.
Subsequently, when users logout from Joomla! or phpBB3, they will also be logged out of CPG.

Once users have accessed the CPG instance via Joomla! or phpBB3, they will also be able to go directly to the
CPG instance (<CPG URL>) and login with their same Joomla! or phpBB3 username and password.

A sample CPG theme is provided that is designed for use when accessing CPG via a Joomla! menu item wrapper.
« Last Edit: April 21, 2017, 07:27:08 PM by ron4mac »

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4357
Re: Tunnel2CPG user synchronization plugin(s)
« Reply #1 on: April 20, 2017, 04:29:53 PM »

Excellent work as ever.
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up

Page created in 0.062 seconds with 20 queries.