OK, I changed smf.inc.php to include the following:
} else { // the vars from the bridgemgr
$path = $BRIDGE['relative_path_to_config_file'];
define('USE_POST_GROUPS', $BRIDGE['use_post_based_groups']);
}
// Set the names of implied groups here
define('CM_ADMIN_GROUP_NAME', 'Administrators');
define('CM_MEMBERS_GROUP_NAME', 'Registered');
define('CM_GUEST_GROUP_NAME', 'Anonymous');
define('CM_BANNED_GROUP_NAME', 'Banned');
define('CM_GMOD_GROUP_NAME', 'Global Moderators');
// Otherwise, try to autodetect SMF path if not set:
if (substr($path, -1) == '/')
$path = substr($path, 0, -1);
$possible_paths = array($path, '..', '../forum', '../forums',
'../community', '../yabbse', '../smf');
$correct = 0;
while (!file_exists($possible_paths[$correct] . '/Settings.php') &&
count($possible_paths) > $correct)
$correct++;
require($possible_paths[$correct] . '/SSI.php');
// database configuration
define('SMF_DB_NAME', $db_name); // The name of the database used by the board
define('SMF_DB_HOST', $db_server); // The name of the database server
define('SMF_DB_USERNAME', $db_user); // The username to use to connect to the database
define('SMF_DB_PASSWORD', $db_passwd); // The password to use to connect to the database
// The web path to your SMF Board directory
define('SMF_WEB_PATH', "$boardurl/");
Then I changed include/init.inc.php to include:
define('COPPERMINE_VERSION', '1.3.5');
// User database integration
// Uncomment the applicable line if you want to use it
// define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
// define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
// Start output buffering
ob_start();
// Report all errors except E_NOTICE
// This is the default value set in php.ini
// error_reporting (E_ALL ^ E_NOTICE);
error_reporting(E_ALL);
and now I am getting:
Notice: Undefined variable: BRIDGE in /home/fullthro/public_html/gallery/bridge/smf.inc.php on line 82
Notice: Undefined variable: BRIDGE in /home/fullthro/public_html/gallery/bridge/smf.inc.php on line 83
Fatal error: Cannot redeclare db_query() (previously declared in /home/fullthro/public_html/gallery/include/functions.inc.php:71) in /home/fullthro/public_html/forum/Sources/Subs.php on line 216
Yeah I'm a newbie. But I could sure use some help here. Just trying to integrate and link this to the posts under the avatar. I've changed that part but can't tell if it will work. I just want the users of the forum to be able to click to their own gallery where they are logged in with their username and password from the site.
I've looked all over here and peiced together what to do but I am still screwing it up. Please help.
