Problem integration with vBulletin 3.0.7 Problem integration with vBulletin 3.0.7
 

News:

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

Main Menu

Problem integration with vBulletin 3.0.7

Started by melbcentral, April 13, 2005, 06:34:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

melbcentral

<?php
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.2.0                                            //
// ------------------------------------------------------------------------- //
// Copyright (C) 2002,2003 Gregory DEMAR                                     //
// http://www.chezgreg.net/coppermine/                                       //
// ------------------------------------------------------------------------- //
// Updated by the Coppermine Dev Team                                        //
// (http://coppermine.sf.net/team/)                                          //
// see /docs/credits.html for details                                        //
// ------------------------------------------------------------------------- //
// Modified for vB3 by Nanobot at www.f5hosting.com                          //
// ------------------------------------------------------------------------- //
// This program is free software; you can redistribute it and/or modify      //
// it under the terms of the GNU General Public License as published by      //
// the Free Software Foundation; either version 2 of the License, or         //
// (at your option) any later version.                                       //
// ------------------------------------------------------------------------- //

// vBulletin 3.0 Integration for Coppermine

// ------------------------------------------------------------------------- //
// ------------------------------------------------------------------------- //
// Modify the values below according to your Board installation
// ------------------------------------------------------------------------- //
// database configuration

//NOTE : Your vBulletin license number is provided at the top of every php file in your vBulletin installation!
define('VB_CUST_NO''xxxxxxx'); // Your vBulletin license number (NOT your customer number)
define('VB_DB_NAME''fanclub_albums'); // The name of the database used by the board
define('VB_BD_HOST''localhost'); // The name of the database server
define('VB_DB_USERNAME''fanclub_fanbum'); // The username to use to connect to the database
define('VB_DB_PASSWORD''xxxxxxx'); // The password to use to connect to the database

// The web path to your vBulletin Board directory
// In this example http://lemonquestion.com/forum/
define('VB_WEB_PATH''/forum/');
// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //
// Prefix and names for the database tables
define('VB_TABLE_PREFIX''bb'); // Leave empty, not supported by vBulletin 2.3
define('VB_USER_TABLE''user'); // The members table
define('VB_SESSION_TABLE''session'); // The sessions table
define('VB_GROUP_TABLE''usergroup'); // The groups table



I have tried to search around the forum but still can not solve the problem.

Now, I can't even login to my acc in the gallery

Whenever I click on the link reg or login and it redirect me into the forum


http://lemonquestion.com/gallery
http://lemonquestion.com/forum

Anyone knows this problem ???

Thanks


kegobeer

The forum handles all login/logout and register functions, but usually the person is redirected to the appropriate screen.  However, this may be normal behavior for this bridge.  So, all login/logout and register functions are handled in the forum, not Coppermine.  When you log in to the forum, you aren't logged into the gallery?

Post a test user/password here.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

melbcentral

yes when i logged into the forum and they also logged me in the gallery as well. But the thing is you can't use some function of the gallery itself. I think some pro should be fix

user: demo
pass: demo

in da forum and also the gallery

Thanks

Nibbler

Do you have any actual problems or are you just requesting things ?

melbcentral

wat do u mean >?  ??? That was da problem and i dont know how to fix it ???

thanks 4 your help  :-*

kegobeer

What doesn't work?  You need to be more exact than "you can't use some function of the gallery itself."
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

melbcentral

the users and i cant upload photos and i cant directly sign out from the gallery. there is another error when anyone view users gallery
"There was an error while processing a database query", but notthing happend when u login ??

Any ideas ???

s1l3ncer

I dont wanna make another thread so I hope you dont mind me posting here  my problem. Its somewhate related to yours.
But mine is That when I do the bridge, I am log in my forums and when I go to my gallery its like I am not log in. Then I click on loging and redirects me to my forums where I am allready login. so I what I do is type in my browser the url to the admin and says I do not have permission to do that. So I unbriged the gallery and then I check the groups and shows like 3 user groups admin/users/banned. Any Idea whats happening here. I have being trying to integrate my vbulletin with coppermine since I got my forum script but never had the luck of doin it successfully. any help is apreciated.

PS after I do the unbridge everything is fine I am log into my gallery.

Nibbler


mlwirak

I have the same problem with my installation.  When I click "log in" in Coppermine, I'm redirected to vBulletin where I'm already logged in. And after I installed Coppermine with the forum bridge, it is impossible to log out from the forum!

s1l3ncer

Quote from: mlwirak on April 26, 2005, 01:12:04 AM
I have the same problem with my installation.  When I click "log in" in Coppermine, I'm redirected to vBulletin where I'm already logged in. And after I installed Coppermine with the forum bridge, it is impossible to log out from the forum!

yes thats what happends to me and I have recheck everything like 10 times. I cant find the problem

Nibbler

OK, lets go through this again... Please post a link to your site, a test user account, and what you have changed in the bridge file. :)

s1l3ncer

make an demo acc on the forums or gallery  well I made a demo acc on my forums
www.saintzero.com/forum

name:demo
pass:123456

here is what I did

//NOTE : Your vBulletin license number is provided at the top of every php file in your vBulletin installation!
define('VB_CUST_NO', 'my number'); // Your vBulletin license number (NOT your customer number)
define('VB_DB_NAME', 'the database'); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_USERNAME', 'the name'); // The username to use to connect to the database
define('VB_DB_PASSWORD', 'pasword'); // The password to use to connect to the database

// The web path to your vBulletin Board directory
// In this example http://yoursite_name.com/vbulletin3/
define('VB_WEB_PATH', '/forum/');

then I went to include/init.inc and did this


 Coppermine version: 1.3.3
 $Source: /cvsroot/coppermine/stable/include/init.inc.php,v $
 $Revision: 1.15 $
 $Author: gaugau $
 $Date: 2005/04/19 21:54:31 $
**********************************************/

define('COPPERMINE_VERSION', '1.3.3');
// 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

Notice I un comment the vbulletin one.
then I uplod the file ini.inc to my image gallery include folder.
here is my gallerys url
www.saintzero.com/album   try it and good luck.

Nibbler

Make sure you have set

define('VB_COOKIE_PREFIX', '');

correctly. Should be 'bb' for your setup. Other than that, double check your license number. All that you have posted looks fine.

s1l3ncer

well I have recheck everything and
define('VB_TABLE_PREFIX', ''); // Leave empty, not supported by vBulletin 2.3 I have no Idea what the cookie prefix is
couse it says leave empty,

snork13

Quote from: s1l3ncer on April 28, 2005, 11:43:27 PM
well I have recheck everything and
define('VB_TABLE_PREFIX', ''); // Leave empty, not supported by vBulletin 2.3 I have no Idea what the cookie prefix is
couse it says leave empty,

check you database for the prefix

s1l3ncer

I am sorry I that was soppose to be I copy and paste that wrong line of code
This is the correct one andI have deleted all my cookies just to see if that would work

define('VB_COOKIE_PREFIX', 'bb');  // Cookie Prefix, not supported by vBulletin 2

mlwirak

When I configured both these, it worked!:

define('VB_TABLE_PREFIX', 'vb3'); // Leave empty, not supported by vBulletin 2.3

define('VB_COOKIE_PREFIX', 'bb');  // Cookie Prefix, not supported by vBulletin 2

Thanks for your help!

subnet_rx

Quote from: Nibbler on April 28, 2005, 03:54:06 PM
Make sure you have set

define('VB_COOKIE_PREFIX', '');

correctly. Should be 'bb' for your setup. Other than that, double check your license number. All that you have posted looks fine.

This should be in the instructions.  I had the same problem and this fixed it.