Bridging CPG 1.6.03 with phpBB3.2 - not working Bridging CPG 1.6.03 with phpBB3.2 - not working
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Bridging CPG 1.6.03 with phpBB3.2 - not working

Started by nl, April 14, 2017, 11:21:46 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

nl

Please move my message if needed ..

Hi, I'm having trouble with bridging ..

Installed everything from scratch and documenting (mostly) everything ..
It still doesn't seem to do what I like it to.

The following gives me the options ...
Go to CPG .. click login
I'm moved to phpBB3, where I sign in (Yes!)
I'm moved back to CPG (Yes!) but still not logged in .. ???

Any suggestions before I quit?

The "documentation" is as follows:


###################################################################
### Installation guide for bridging between CPG1.6 and phpBB3.2 ###
###                                                             ###
### NOT WORKING .. in my setup                                  ###
###################################################################

###################################################################
#####  INSTALLATION OF phpBB3.2   #################################
###################################################################

UPLOAD FILES
in "/public_html/"

upload og unzip zip-file:
"phpBB-3.2.0.zip"
This creates "phpBB3"

DANISH LANGUAGE
in "/public_html/phpBB3/"

Upload og unzip zip-fil:
"danish_3_2_0_UPLOAD.zip"

### INSTALLATION ###############################

RUN : https://mysite.com/phpBB3

Follow installation guide (see tab INSTALL) ..

PAGE1
Admin user: mee
contact email: mee@gmail.com
admin  pw: xxxxxx
admin  pw: xxxxxx

PAGE2
Database type: MySQL/MySQLi
Database server host: mysql99.mysite.com
Database server port: LEFT BLANK                   
Databser username:    mysite_com_username
Database password:    xxxxxx
Databasename:         mysite_databasename
Prefix:               phpbb_

PAGE3
Cookie           : Yes
Force server URL : No
Servrer protocol : https://
domain name      : mysite.com
server port      :           
script path      : /phpBB3

PAGE4
Enable board-wide emails   : Enable
Use SMTP server for email  : No
SMTP server addr       :
SMTP server port       :
Authentication method SMTP : PLAIN /
SMTP user name             : LEFT BLANK 
SMTP password              : LEFT BLANK 

PAGE5
Default lang       : Danish
Title of board     : BORED
Short descripotion : Bored text


phpBB ACP (Administrator control panel)...

Send Statistics: Enable
VigLink : Disable/Enable?

===========================

RUN : "https://mysite.com/phpBB3/"

click on "Search index" in error message "phpBB Native Fulltext"..

### INSTALLATION ENDED phpBB3 ###############################


###################################################################
#####  INSTALLATION OF CPG1.6x(03)  ###############################
###################################################################

UPLOAD FILEs
in "/public_html/"

upload og unzip zip-file:
"cpg1.6.x-develop.zip"

Rename folder "cpg1.6-develop" to "cpg"

installation = cpg .. = version 1.6.03
RUN: "https://mysite.com/cpg/install.php"

1: English
2:
3:
4: Imagick Extension @ "/usr/bin/"
5:
6:
Database Type = MYSQLI
Database host = mysql99.mysite.com   
Databser username:    mysite_com_username
Database password:    xxxxxx
7: USE DB | prefix = cpg16x_
8:
9:
Username:            mee
Password:            xxxxxx
Email adress:        mee@gmail.com
10:

### INSTALLATION ENDED CPG  ###############################


Bridging .. if possible ..
##################################################################
#####  INSTALLATION of BRIDGING     ###############################
###################################################################

##########################################
Now to bridging .. phpBB - > CPG 1.6.03
##########################################
Install thing from FILE "tunnel2cpg.zip" ..
------------------------------------------------------
use cpg1.6.x_plugin_tunnel2cpg_v1.3.zip instead 1.5.x
------------------------------------------------------

From the Fantastic manual :
"Joomla! and/or phpBB3 to Coppermine Photo Gallery Tunnel
version: 1.2.5

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

For CPG:
--------
Install the plugin, cpg1.5.x_plugin_tunnel2cpg_v1.2.5.zip
Configure its 'secret phrase', usergroup settings and optional theme name.

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


NOTES:
------
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.
"

### Install CPG-plugin for bridging ##########################

cpg:
in "plugins" folder
Install (upload + unzip) the plugin, "cpg1.6.x_plugin_tunnel2cpg_v1.3.zip"

### Install phpBB-plugin for bridging ##########################

phpBB3:
in "ext" folder
install (upload + unzip) ron4mac_tunneltocpg_v1.0.0b.zip

### Install CPG-plugin for bridging NO II ##########################

cpg:
Configure its 'secret phrase', usergroup settings and optional theme name.
=
config -> plugin -> plugins not installed : INSTALL
Tunnel to CPG - Config
Secret phrase             : xxxxxx
Add new users to group    : Registrered
CPG theme to use tunneled : hardwired
+
Config -> Bridge manager
Bridge wizard .. phpBB version 3
URL bridge app        : https://mysite.com/phpBB3
relative path         : ../phpBB3/
cookie prefix         : phpbb3_

use bridge custom grp : yes

enable:       YES

### Install phpBB-plugin for bridging NO II ##########################

phpBB3:
Settings -> secret phrase : xxxxxx

Rename "/public_html/phpBB3/Install" to "/public_html/phpBB3/xInstall"


Log out + login .. REMEMBER HTTPS


############ END OF INSTALLATIONS ... #######################################


Btw. This is in Firefox on Ubuntu - Tried Chrome with even more trouble ..

./nl

ron4mac

#1
You need to decide between the the built in CPG bridge manager method and the Tunnel2CPG plugin method ... you cannot initiate them both.

For the tunnel method, you need to setup both ends, log into phpBB and then access CPG using the link method as described in the tunnel documentation.

As stated, the phpBB tunnel is somewhat beta. I'll set something up to test it with phpBB3.2 as soon as possible.

ron4mac

I updated a test installation of phpBB3 from 3.1.6 to 3.2.0 and had no problem 'tunneling' from phpBB3.2 to CPG1.6(03).

I logged into phpBB and then followed the link <myCPG1.6url>/index.php?file=tunnel2cpg/phpbb3

Again: you cannot use the tunnel and the bridge manager.