Advanced search  

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]

Pages: 1 [2] 3   Go Down

Author Topic: YabbSE Integration  (Read 33573 times)

0 Members and 1 Guest are viewing this topic.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
CPG 1.2 & YaBB SE: login problem
« Reply #20 on: November 14, 2003, 04:09:19 pm »

I have tried to login and failed. What exactly are your cookie names?
My guess is that the brdige file simple doesn't work with PfaBB (as it has been built for yabbse only)

GauGau
Logged

cerberus

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 46
    • Pocket PC Russia
CPG 1.2 & YaBB SE: login problem
« Reply #21 on: November 14, 2003, 04:22:09 pm »

PfaBB: amg
Gallery: ppcrgallery

I've got an idea: if I install a clean copy of YSE separately and configure it to use the pfabb DB and the bridge will the login from it work?  :?:
Logged
With Best Regards, Cerberus
Edamus, bibamus, gaudeamus.
http://www.pocketpcrussia.com - My Main Site

nordew

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
    • Architektur- und Ingenieurbüro Dewender
CPG 1.2 & YaBB SE: login problem
« Reply #22 on: November 14, 2003, 10:17:43 pm »

Quote
My guess is that the brdige file simple doesn't work with PfaBB (as it has been built for yabbse only)
I have the same problem like cerberus, but with yabbse 1.54.
http://1nd.de/forum
http://1nd.de/fotoalbum

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
CPG 1.2 & YaBB SE: login problem
« Reply #23 on: November 14, 2003, 10:54:06 pm »

Quote from: "cerberus"
I've got an idea: if I install a clean copy of YSE separately and configure it to use the pfabb DB and the bridge will the login from it work?  :?:
Can't guarantee that, but worth a try imo.

@nordew: please specify a test account!

GauGau
Logged

cerberus

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 46
    • Pocket PC Russia
CPG 1.2 & YaBB SE: login problem
« Reply #24 on: November 14, 2003, 11:06:07 pm »

I'll surely try, but which YSE version would you recommend?

And has anybody managed to make the bridge working?
Logged
With Best Regards, Cerberus
Edamus, bibamus, gaudeamus.
http://www.pocketpcrussia.com - My Main Site

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
CPG 1.2 & YaBB SE: login problem
« Reply #25 on: November 14, 2003, 11:20:44 pm »

I'm running YaBB SE 1.5.4, works fine for me.

GauGau
Logged

nordew

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
    • Architektur- und Ingenieurbüro Dewender
CPG 1.2 & YaBB SE: login problem
« Reply #26 on: November 15, 2003, 08:50:24 am »

Hello GauGau!

Here is a test account:
Name: test
Password: test

Greetings
nordew

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
CPG 1.2 & YaBB SE: login problem
« Reply #27 on: November 15, 2003, 10:22:52 am »

@nordew: seems to me like you're running Spiff's coppermine1.0 integration hack into yabbse as well. I think this is what causes the problems. As I don't run this mod it's hard to say what's going wrong.
Take a look at the cookie names you're using with your gallery and coppermine: they must be different (at least this is a thing to start with).

GauGau
Logged

kartoo

  • Guest
CPG 1.2 & YaBB SE: login problem
« Reply #28 on: November 15, 2003, 01:39:39 pm »

i'm still working on the CPG <-> YaBBi integration :(

Now i'm blocked on this error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in c:\htdocs\forum\Sources\Load.php on line 143

Line 143@load.php is
if (mysql_num_rows($request) != 0)

part of LoadUserSettings(), a native function of YaBB that is working fine in the forum

Code: [Select]
function LoadUserSettings () {
        global $username,$settings,$password,$action,$realname,$realemail,$yySetCookies,$pwseed,$HTTP_COOKIE_VARS;
        global $cookieusername,$cookiepassword,$pwseed,$ID_MEMBER,$realNames,$db_prefix;

        /* Only load this stuff if the username isn't Guest */
        if($username != 'Guest')
        {
                $request = mysql_query("SELECT passwd,realName,emailAddress,websiteTitle,websiteUrl,signature,posts,memberGroup,ICQ,AIM,YIM,gender,personalText,avatar,dateRegistered,location,birthdate,timeFormat,timeOffset,hideEmail,ID_MEMBER,memberName,MSN,visualAdmin FROM {$db_prefix}members WHERE memberName='$username' LIMIT 1");
                /* If we found the user... */
                if (mysql_num_rows($request) != 0)
                {
                        /* Initialize the settings array */
                        $settings = mysql_fetch_row($request);
.....................................

If i use a pair of echo() i notice that $username is loaded correctly

Where is the problem??  :?:  :?:  :?:  :(  :(  :(
Thanks for help
Logged

kraphael

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
YABBSE Login Problem
« Reply #29 on: November 20, 2003, 02:28:21 am »

I noticed there was another thread on this stating to change cookies, delete from PC, refresh, etc.

I have done this but Coppermine does not recognize the login.

I have the latest versions of Coppermine and Yabbse. I installed Coppermine today and integrated with Yabbse.

When I click on login, Coppermine takes me to the Yabbse login window. I login and then pull up coppermine/index.php. However, it shows as nobody has logged in (even thought I am logged in in Yabbse). I have tried coppermine/admin.php and it says not authorized, even though I login with an admin account.

Any ideas would be appreciated.

The url of my Yabbse board is http://masteryofawareness.com/board/

I created a test account:
user: test
password: test

Thanks!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
CPG 1.2 & YaBB SE: login problem
« Reply #30 on: November 20, 2003, 07:19:30 am »

make sure you have different cookie names for yabbse and coppermine!

GauGau

P.S. I moved your posting to the yabbse thread, as they're closely related
Logged

kraphael

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Changed Cookies but still no go
« Reply #31 on: November 20, 2003, 04:01:35 pm »

Thanks for your reply.

I went into the database and changed the cookie name for Coppermine but the logins still aren't recognized between the scripts.

I deleted cookies on harddrive and refreshed, and, tried accessing on another computer but still no go.

Coppermine looks like it would be a great addition and I would love to integrate it.

Thanks
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
CPG 1.2 & YaBB SE: login problem
« Reply #32 on: November 21, 2003, 09:26:41 am »

please provide a link (best in your profile).

GauGau
Logged

Cheffu

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
    • http://www.cheffu.de
CPG 1.2 & YaBB SE: login problem
« Reply #33 on: November 27, 2003, 01:20:27 pm »

does that work same with YabbSE?

[edit gaugau]
moved into this thread from
phpBB integration: solution for login/logout issue
[/edit]
[/color]
Logged
Schreibfehler sind beabsichtigt und dienen der allgemeinen Belustigung.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
CPG 1.2 & YaBB SE: login problem
« Reply #34 on: November 27, 2003, 05:01:28 pm »

@Cheffu: why don't you start reading the threads that deal with YaBB SE integration? The most recent yabbse bridge works fine out of the box (at least for me).

GauGau

[edit gaugau]
moved into this thread from
phpBB integration: solution for login/logout issue
[/edit]
[/color]
Logged

EZ

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 130
CPG 1.2 & YaBB SE: login problem
« Reply #35 on: November 28, 2003, 01:05:16 am »

Cheffu,

Sorry but I'm not familair with YabbSE and therefore I can only join Gaugau's recommendation.

Eyal.

[edit gaugau]
moved into this thread from
phpBB integration: solution for login/logout issue
[/edit]
[/color]
Logged

Cheffu

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
    • http://www.cheffu.de
CPG 1.2 & YaBB SE: login problem
« Reply #36 on: November 28, 2003, 08:40:34 pm »

I have search the board after YabbSE integration. I have find one thread, but there is not post a solution for that prolem. I have only get the answer. The issue is well known, i should search. i search but i find only the thread, that i have write ans many other which  have nothing to to with YabbSE integration

[edit gaugau]
moved into this thread from
phpBB integration: solution for login/logout issue
[/edit]
[/color]
Logged
Schreibfehler sind beabsichtigt und dienen der allgemeinen Belustigung.

Cheffu

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
    • http://www.cheffu.de
CPG 1.2 & YaBB SE: login problem
« Reply #37 on: November 28, 2003, 11:05:01 pm »

Hi
I have found in the YabbSE Board e Bridge file that sovle the problem with the logout. YOu can download it on http://www.yabbse.org/community/index.php?thread=24525/30. The post is circa at the middle of the page.
The logout works fine, but the problem is, when you go than back in Coppermine, you are logged in as guest. I don't know a solution for that problem, but perhabs every body else can solve that problem.
Logged
Schreibfehler sind beabsichtigt und dienen der allgemeinen Belustigung.

EZ

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 130
CPG 1.2 & YaBB SE: login problem
« Reply #38 on: November 29, 2003, 12:17:43 am »

Cheffu,

As I've mentioned before, I am not familiar with YabbSE at all, so as much as I'd like to help I simply can't.

If you don't find any helpful information in the forums, then I suggest you start a new topic in the support forum (CPG 1.2.0 Standalone Support). Describe your problem exactly and provide all the details such as CPG and YabbSE versions, in which directories you have them installed, etc.

I'm sure that if you provide all the information, then someone will be able to help. However this topic here is about integration with phpBB, no matter how hard you'll try, nobody will notice your problem here.

Good luck,

Eyal.

[edit gaugau]
moved into this thread from
phpBB integration: solution for login/logout issue
[/edit]
[/color]
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
CPG 1.2 & YaBB SE: login problem
« Reply #39 on: November 29, 2003, 09:13:31 am »

try the most recent yabbse deb bridge file from the web cvs: http://cvs.sourceforge.net/viewcvs.py/coppermine/devel/bridge/phpbb.inc.php (remember to backup your existing yabbse ridge file first).

GauGau
Logged
Pages: 1 [2] 3   Go Up
 

Page created in 0.04 seconds with 18 queries.