Bridge for Vbulletin doesn't work Bridge for Vbulletin doesn't work
 

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

Bridge for Vbulletin doesn't work

Started by Richmen, September 30, 2004, 12:19:41 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Richmen

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

Nibbler

Enable the integration so we can see what you mean.

Richmen


Nibbler

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.


Richmen

u mean this?

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

hm at no other Point I've write the URL  ???

Nibbler

That is supposed to be a path, not an url. Try

define('VB_WEB_PATH', '/');

Richmen

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?

Nibbler

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'.

Richmen

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

Richmen

#9
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 :( :( :(

Nibbler

Enable debug mode and post the real error message. You do not have your db settings correct.

Richmen

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??

Joachim Müller

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

Richmen

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??

Richmen

#14
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 :(

Joachim Müller

post a test user account (non-admin).

Joachim

Richmen

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.

Joachim Müller

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

Richmen

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 :(

Richmen

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]