coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: Richmen on September 30, 2004, 12:19:41 PM

Title: Bridge for Vbulletin doesn't work
Post by: Richmen on September 30, 2004, 12:19:41 PM
Hi

I installed coppermine first time... and after a successfull install, I tried to use the bridge to my vbulletin Board...

But it doesn't work :(

I've go step by step, and I think the Problem is at this:

// define('UDB_INTEGRATION', 'vbulletin30');
When I uncomment this, nobody can't register or login any more...
This is my Board:
http://www.orpg-board.de/
This is my Gallery
http://www.orpg-board.de/cpg132/

Has any1 an idea?


thx

Rich
Title: Re: Bridge for Vbulletin doesn't work
Post by: Nibbler on September 30, 2004, 12:25:10 PM
Enable the integration so we can see what you mean.
Title: Re: Bridge for Vbulletin doesn't work
Post by: Richmen on September 30, 2004, 12:35:24 PM
thx 4 fast reply

ok done...
Title: Re: Bridge for Vbulletin doesn't work
Post by: Nibbler on September 30, 2004, 12:38:48 PM
The login is redirecting me to

Location: http://www.orpg-board.dehttp://www.orpg-board.de/login.php

Check your paths in the bridge file.

Title: Re: Bridge for Vbulletin doesn't work
Post by: Richmen on September 30, 2004, 12:43:14 PM
u mean this?

define('VB_WEB_PATH', 'http://www.orpg-board.de/');

hm at no other Point I've write the URL  ???
Title: Re: Bridge for Vbulletin doesn't work
Post by: Nibbler on September 30, 2004, 12:44:37 PM
That is supposed to be a path, not an url. Try

define('VB_WEB_PATH', '/');
Title: Re: Bridge for Vbulletin doesn't work
Post by: Richmen on September 30, 2004, 12:48:33 PM
done.

Now, when I click login, I came on my Board Page... but at the Board I'm allready logged in ?!




And can I use my user db for the Gallery too? or must every user from the Board register at the coppermine too?
Title: Re: Bridge for Vbulletin doesn't work
Post by: Nibbler on September 30, 2004, 12:54:43 PM
The point of bridging is that coppermine and the board do share the same user db so you users only need to register at the board. Double check the setting are correct in the bridge, specifically

define('VB_CUST_NO', 'xxxxxxxx'); // Your vBulletin license number (NOT your customer number)

and

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

and

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

Your cookie prefix above should read 'bb'.
Title: Re: Bridge for Vbulletin doesn't work
Post by: Richmen on September 30, 2004, 01:04:05 PM
my lizenz number is corrent

my cookie_prefix is now empty, why 'bb' ?

and my VB_table_prefix is emtpy too

// Nothing to edit below this line
// ------------------------------------------------------------------------- //
// Prefix and names for the database tables
define('VB_TABLE_PREFIX', ''); // 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
define('VB_COOKIE_PREFIX', '');  // Cookie Prefix, not supported by vBulletin 2
Title: Re: Bridge for Vbulletin doesn't work
Post by: Richmen on September 30, 2004, 05:01:08 PM
huhu?

Can any1 help me plz???



If I change the cookie Präfix to 'bb' I get a error msg:
Fatal error :
There was an error while processing a database query


plz help me ??? I cant complete the Gallery :( :( :(
Title: Re: Bridge for Vbulletin doesn't work
Post by: Nibbler on September 30, 2004, 09:29:53 PM
Enable debug mode and post the real error message. You do not have your db settings correct.
Title: Re: Bridge for Vbulletin doesn't work
Post by: Richmen on September 30, 2004, 09:45:04 PM
where can I enable the debug mode?
And I've nothing more... thats the complete error msg  ???
http://www.orpg-board.de/cpg132/

This msg I get, if I set the cookiePräfix 'bb'


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


define('VB_CUST_NO', 'xxxxx');      <-- is correct
define('VB_DB_NAME', 'xxx');         <-- is correct
define('VB_BD_HOST', 'localhost');  <-- is correct
define('VB_DB_USERNAME', 'xxx');  <-- is correct
define('VB_DB_PASSWORD', 'xxx'); <-- is correct

So what should I do??
Title: Re: Bridge for Vbulletin doesn't work
Post by: Joachim Müller on September 30, 2004, 09:47:51 PM
nobody said you were to set the cookie prefix to bb, you have to set it to the value set up in your bbs.

Joachim
Title: Re: Bridge for Vbulletin doesn't work
Post by: Richmen on September 30, 2004, 10:58:34 PM
ahh ok my Cookie Präfix is /

now the error is fixed...

now when u click the login button, u came to the board mainpage?

any other problems??
Title: Re: Bridge for Vbulletin doesn't work
Post by: Richmen on October 01, 2004, 07:56:14 AM
But u still cant loggin in :(

Always come's to my board page back :(

Can any1 tell me what is wrong plz  ???

// Nothing to edit below this line
// ------------------------------------------------------------------------- //
// Prefix and names for the database tables
define('VB_TABLE_PREFIX', '[b]vb3_[/b]'); // 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
define('VB_COOKIE_PREFIX', '[b]/[/b]');  // Cookie Prefix, not supported by vBulletin 2


I've searching in the board here... and tested everything I've found, nothing works :(

plz, need help :(
Title: Re: Bridge for Vbulletin doesn't work
Post by: Joachim Müller on October 01, 2004, 09:01:02 AM
post a test user account (non-admin).

Joachim
Title: Re: Bridge for Vbulletin doesn't work
Post by: Richmen on October 01, 2004, 09:13:14 AM
I've a test account from my Board:

User: Dummy-User
PW:  000

A testaccount from the Gallery is not possible, cause the login/register doesn't work :( Also for my Admin Account...
But this User should be able to upload Pics, and see them.
Title: Re: Bridge for Vbulletin doesn't work
Post by: Joachim Müller on October 01, 2004, 09:29:43 AM
When looking at your cookies I can not see a userid cookie - this is all I get:
QuoteCookie Information - http://www.orpg-board.de/cpg132/
http://www.orpg-board.de/cpg132/
Name   bblastactivity
Value   1096615269
Host   www.orpg-board.de
Path   /
Expires   Samstag, 1. Oktober 2005 09:21:47

Name   bbsessionhash
Value   7c07c50d0fb2b2cf0538efd3227d5d37
Host   www.orpg-board.de
Path   /
Expires   At End Of Session

Name   cpg132_data
Value   YToyOntzOjI6IklEIjtzOjMyOiIwZjkyMzI2OWRhN2FhZTIxMGQxZTliMzMwMGU3OGU2OSI7czoyOiJhbSI7aToxO30%3D
Host   www.orpg-board.de
Path   /
Expires   Sonntag, 31. Oktober 2004 08:22:46

Name   bblastvisit
Value   1096614021
Host   www.orpg-board.de
Path   /
Expires   Samstag, 1. Oktober 2005 09:20:56
Did you apply any modifications in your vbulletin's setup to make authentification work on the session only instead of cookies (some bbs apps have this option)?

On a sidenote: making input fields appear the same color as the background, without a border around it makes it hard to impossible for newbie users to actually find the input field. Your login field of the bbs page displays all in black - you have to guess to find the field's location. Not a good idea at all (although not related to your problem).

Joachim
Title: Re: Bridge for Vbulletin doesn't work
Post by: Richmen on October 01, 2004, 09:50:27 AM
hehe thx, I'll fix the Login :)

here's the position of my cookie's

QuotePath to Save Cookies
This is the path that cookies should have when they are set. If you run more than one forum on the same domain, you need to enter a path for each forum or the cookies will become confused and and possibly corrupt. The path must start and end in a forward slash; e.g. /example/ or /forums/.
This ist '/'


QuoteCookie Domain
If you want the vBulletin cookies to affect all your domain, including subdomains, instead of just the subdomain it is located on (if applicable), enter e.g. .example.com (note the dot before the domain name and no www!). Otherwise, you can leave this setting blank.
and this is 'blank'

thats all I've found for cookie or session options in my board :(
Title: Re: Bridge for Vbulletin doesn't work
Post by: Richmen on October 01, 2004, 02:45:16 PM
ok I've tested the hole time now!

And I dunno why it doesn't work :(

Everyone has the permission to upload Pic's but only the Admin can do this.
And the integration doesn't work correctly

upload is only possible when the UDB_INTEGRATION is commented, if I uncomment nobady can upload any more.
error msg form user:
Sorry there is no album where you are allowed to upload files

error msg from admin:
Invalid action for form creation.

Now I've upped a File from Vbulletin.org replaced vbulletin30.inc.php...
now its a Bridge for Coppermine Photo Gallery 1.2.0 

http://www.orpg-board.de/cpg132
User: Dummy-User
PW : 000

[attachment deleted by admin]
Title: Re: Bridge for Vbulletin doesn't work
Post by: Fking on October 12, 2004, 04:41:52 PM
i have the same problem
i guess the file u downloaded from vbulletin.org is called "vbulletin30gamma.inc.php"
i tried it too, but still does not work.....