wbb integratin wbb integratin
 

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

wbb integratin

Started by Nappi, September 29, 2004, 11:52:26 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Nappi

Hi @ all

First sorry for my bad english

My problem

I will use CPG with an existing WBB-forum and make the integratin with the includet bridge/woltlab21.inc.php.

But i cant login now - waths wrong? - were my mistice?

This i change

in the  woltlab21.inc.php file

// The paths to your Woltlab Board directory
define('RELATIVE_WBB_PATH','../forum/');
define('WBB_WEB_PATH','/forum/');

and in the init.inc.php

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

I searcht for some other trades about this questin an find some one but not in one are a anser.

Nappi

Joachim Müller

link and test user account please.

Joachim

deion1

I have the same problem, i changed nothing in the bridge file, just outcommended woltlab2.1 in the init file

Joachim Müller

so you probably noticed the answer I posted above? Do I have to beg to let me help you >:(?

Joachim

deion1

Should i post the data here oder send a PM to you (which I did last night)?

Joachim Müller

what do you expect? Did you read my signature? Does it read as if I like to receive PMs? All I'm asking is a link and test user account (non-admin permissions), for Christ's sake - there's no need to make such a secret out of it. Post it here, and once your issue is solved you can savely disable the test user account. Why do you make it so hard for supporters?

Joachim

deion1

Quote from: GauGau on October 01, 2004, 09:34:28 AM
what do you expect? Did you read my signature? Does it read as if I like to receive PMs? All I'm asking is a link and test user account (non-admin permissions), for Christ's sake - there's no need to

Sorry, i thought you need admin rights for the account.

URL is http://www.wiesen-fans.org/wbb2 for the forum, http://www.wiesen-fans.org/coppermine for the gallery. Username is user Password is test

Nibbler


deion1

My mistake, of course i changed the
define('RELATIVE_WBB_PATH','../wbb2/');
define('WBB_WEB_PATH','/wbb2/');
to fit to my configuration.

Is there anything else to change?

Joachim Müller

well, does it work or not?

Joachim

deion1

Quote from: GauGau on October 04, 2004, 10:39:04 PM
well, does it work or not?

No, same problem as mentioned in my first posting. Coppermine redirects to the Main-Forum-Page and never "goes" back to Coppermine. I tried to log off on the board before, with different user (from different groups).

Joachim Müller

wbb doesn't support redirection back to coppermine after successfully loging into the bbs, you'll have to provide a link from the bbs to coppermine to lead the users back. The crucial question is "does the integration work" - apparently it doesn't. Try changing the cookie path in your board from "/wbb2/" to "/" and reflect those changes in your bridge file.

Joachim

deion1

Quote from: GauGau on October 05, 2004, 08:11:43 AM
wbb doesn't support redirection back to coppermine after successfully loging into the bbs, you'll have to provide a link from the bbs to coppermine to lead the users back. The crucial question is "does the integration work" - apparently it doesn't. Try changing the cookie path in your board from "/wbb2/" to "/" and reflect those changes in your bridge file.


I can not find a property in the bridgefile where to change what you mentioned. Wihtout changing anything in the bridgefile, it does not help. Should the link to the gallery back contain  any variable?

Joachim Müller

integration is disabled on your page, how am I suppossed to help?

Joachim

deion1

#14
Quote from: GauGau on November 04, 2004, 10:27:49 AM
integration is disabled on your page, how am I suppossed to help?

Joachim

I am sorry, i had to do some admin work on the gallery and i dont know a method to log in to gallery when integration ist enabled (and does not work)
Now integration is enabled again

Here is a copy of the relevant infos from my saved cookies. Maybe it will help you

www.wiesen-fans.org     FALSE   /       FALSE   1099575748      cpg131_pass     1b337b0d5e3eade99eefd32e625736f5
www.wiesen-fans.org     FALSE   /       FALSE   1099575748      cpg131_uid      1
www.wiesen-fans.org     FALSE   /       FALSE   1102155242      cpg131_data     YTozOntzOjI6IklEIjtzOjMyOiIyYzYwOGQ1OWM4Y2U5NTczYTVhMTdhOGYzMjhmY2ZjOCI7czoyOiJhbSI7aToxO3M6MzoibGl2IjthOjU6e2k6MDtzOjQ6IjEwNjciO2k6MTtzOjM6IjU4MCI7aToyO3M6MzoiNjE2IjtpOjM7czozOiI2MDYiO2k6NDtzOjQ6IjE5ODciO319
www.wiesen-fans.org     FALSE   /wbb2/  FALSE   1131098680      userid  2
www.wiesen-fans.org     FALSE   /wbb2/  FALSE   1131098680      userpassword    1b337b0d5e3eade99eefd32e625736f5


Joachim Müller

well, your wbb cookie path is still set up to be "/wbb2/" - how is coppermine suppossed to read it? Why don't you do as I suggested before and set it to "/"?

Joachim

deion1

Quote from: GauGau on November 04, 2004, 05:13:00 PM
well, your wbb cookie path is still set up to be "/wbb2/" - how is coppermine suppossed to read it? Why don't you do as I suggested before and set it to "/"?

Joachim

Set it back not to force my users to log in after the test of the integration faild. cookie path now set to /

Joachim Müller

your cookie path is still /wbb2/
QuoteCookie Information - http://www.wiesen-fans.org/coppermine/index.php?cat=0
http://www.wiesen-fans.org/coppermine/index.php?cat=0
Name   /userid
Value   347
Host   www.wiesen-fans.org
Path   /wbb2/
Expires   Freitag, 4. November 2005 23:58:16

Name   /userpassword
Value   098f6bcd4621d373cade4e832627b4f6
Host   www.wiesen-fans.org
Path   /wbb2/
Expires   Freitag, 4. November 2005 23:58:16

Name   /lastvisit
Value   1099609009
Host   www.wiesen-fans.org
Path   /wbb2/
Expires   At End Of Session

Name   /cookiehash
Value   c844f887bd9bc601fa590bf23a0eca9b
Host   www.wiesen-fans.org
Path   /wbb2/
Expires   At End Of Session

Name   cpg131_data
Value   YToyOntzOjI6IklEIjtzOjMyOiJlNjhjNjdkZTYxMDMyY2QyODc3MmRmNzU4NTVkNmI5YiI7czoyOiJhbSI7aToxO30%3D
Host   www.wiesen-fans.org
Path   /
Expires   Sonntag, 5. Dezember 2004 00:00:16

Name   PHPSESSID
Value   51ce5dcc1206386ad4cc85b820d2888c
Host   www.wiesen-fans.org
Path   /
Expires   At End Of Session

I'm out of this thread. ::)

Joachim

Nibbler

You have set your cookie prefix to / instead of your cookie path it would appear.

deion1

Thanks for your help, i found what went wrong.

wbb2 did not write the new options.inc.php, only changed it in the database table.

special thanks to gaugau who must think i am a complete idiot