Hi, I cannot get the bridge to work on my test forum running on IPB 3.3.4. The forum is located at
www.domain.tld/testforum and the gallery is in
www.domain.tld/testforum/gallery. Admin group is 4, conf_global.php file is located in the testforum folder and the test forum's cookie prefix is "test". I also followed the instructions to modify udb_base.inc.php to fix the problem when "use bridge app custom groups" was set to yes.
I logged in using the standalone admin account in the gallery, enabled "use bridge app custom groups" in the bridge manager, no errors show up after clicking on the finish button but it doesn't show any content at all.
Here are the modified parts from the bridge file.
if (isset($bridge_lookup)) {
$default_bridge_data[$bridge_lookup] = array(
'full_name' => 'Invision Power Board 3.x',
'short_name' => 'invisionboard30',
'support_url' => 'http://forums.invisionpower.com/',
'full_forum_url_default' => 'http://www.domain.tld/testforum',
'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
'relative_path_to_config_file_default' => '../',
'relative_path_to_config_file_used' => 'lookfor,conf_global.php',
'use_post_based_groups_default' => '0',
'use_post_based_groups_used' => 'radio,1,0',
);
function cpg_udb()
{
global $BRIDGE;
if (!USE_BRIDGEMGR) {
$this->boardurl = 'http://www.domain.tld/testforum';
require_once('../conf_global.php');
$this->use_post_based_groups = 0;
} else {
require_once($BRIDGE['relative_path_to_config_file'] . 'conf_global.php');
$this->boardurl = $INFO['board_url'];
$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
}
Cookie prefix
if ($superCage->cookie->keyExists('test_member_id') && $superCage->cookie->keyExists('test_pass_hash')) {
$id = $superCage->cookie->getInt('test_member_id');
$pass = substr($superCage->cookie->getEscaped('test_pass_hash'), 0, 32);
}
Did I miss anything else? Thanks in advance for your help.