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   Go Down

Author Topic: Authentication by cookie  (Read 9437 times)

0 Members and 1 Guest are viewing this topic.

snecz

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Authentication by cookie
« on: January 05, 2007, 05:28:21 pm »

Hi everyone. I've installed smf (working fine). And I want to install coppermine gallery. I would like to integrate it. I have just started to read manual and came to this part:

5.2.1 Authentication by cookie

The login integration uses your bulletin board cookies, therefore it won't work if your board cookies are not visible by Coppermine. So unless you are an expert, keep things simple and install Coppermine and your bulletin board on the same domain. Examples :
This will work:
Bulletin board: http://yourdomain.com/board/
Coppermine: http://yourdomain.com/gallery/
This won't work:
Bulletin board: http://board.yourdomain.com/
Coppermine: http://gallery.yourdomain.com/

Is it really true? I have second option. What can I do?
thanks
snecz
Logged

Nibbler

  • Guest
Re: Authentication by cookie
« Reply #1 on: January 05, 2007, 05:40:09 pm »

It will work. Set the forum's cookie domain to .yourdomain.com
Logged

snecz

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Authentication by cookie
« Reply #2 on: January 05, 2007, 05:44:52 pm »

Thanks. Great news. I had to move smf once and I had big problems with that. I woulldn't like to this again.

But how can I do this? In my administration panel of smf I just can change the name of the cookie.
Logged

Nibbler

  • Guest
Re: Authentication by cookie
« Reply #3 on: January 05, 2007, 06:37:02 pm »

For SMF you need to use the option 'subdomain independent cookies'.
Logged

snecz

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Authentication by cookie
« Reply #4 on: January 05, 2007, 06:51:44 pm »

Ok. thanks I can see that in my adminstartion panel.
The most important is fact that it's possible.
So I guess before integration I must have first stand-alone coppermine gallery?
Than I make integration?
Logged

Nibbler

  • Guest
Re: Authentication by cookie
« Reply #5 on: January 05, 2007, 07:02:19 pm »

Yes.
Logged

snecz

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Authentication by cookie
« Reply #6 on: January 07, 2007, 12:32:19 pm »

I have my gallery installed. And I have already smf with few registered users.

And I have this option:
Bulletin board: http://board.yourdomain.com/
Coppermine: http://gallery.yourdomain.com/

What should I do first?
Please help.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Authentication by cookie
« Reply #7 on: January 08, 2007, 08:42:15 am »

Don't post dummy URLs but actual information (unless you own the domain "yourdomain.com").
Logged

snecz

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Authentication by cookie
« Reply #8 on: January 08, 2007, 10:11:11 am »

These dummy examples are from your online manual.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Authentication by cookie
« Reply #9 on: January 08, 2007, 10:17:04 am »

So what? I know the documentation pretty well, since I wrote most of it. Replace them with the actual ones that apply to you. From the documentation:
Quote
When requesting bridge support, please post a link to your site, a test user account, and what you have set in the bridge manager.
Make sure that the test user account doesn't have admin privileges. [...] This is how your posting should look like (with actual URLs instead of the dummy URLs given here as an example):
What exactly do you not understand from the sentence I highlighted in bold?
Logged

snecz

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Authentication by cookie
« Reply #10 on: January 08, 2007, 10:25:56 am »

Ok. Sorry for dummy links.
I didn't post it as I had htaccess in gallery and wanted to open it fine working. But deleted it now.
I didn't make any works on bridging yet.
Here are my links:
http://forum.powisle.waw.pl
http://galeria.powisle.waw.pl

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Authentication by cookie
« Reply #11 on: January 08, 2007, 10:34:49 am »

I'm not going to argue with you. Do exactly as suggested in the documentation and the sticky thread on this sub-board if you want help. The documentation clearly says what you need to post. Failing to do so will result in not getting support.
Logged

snecz

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Authentication by cookie
« Reply #12 on: January 08, 2007, 11:12:50 am »

I have the following issue when trying to bridge coppermine and SMF:
[../smf/Settings.php nie istnieje. Popraw wartość którą wprowadziłeś dla Ścieżka względna do pliku konfiguracyjnego Twojego BBS]
Which can be translated as [ .../smf/Settings.php doesn’t exist. Replace it with existing and proper value

Coppermine install: http://galeria.powisle.waw.pl (catalogue galleria in webroot)
Forum install: http://forum.powisle.waw.pl (catalogue smf in webroot)
Coppermine version: cpg1.4.2
Forum version: SMF 1.1.1
Test user account: bridge / 123qwerty

BridgeManager settings: none yet
Forum URL:  http://forum.powisle.waw.pl
Relative path to your BBS's config file:  ../smf/ 
Use post-based groups?:  0
Cookie name/preifx (if applicable)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Authentication by cookie
« Reply #13 on: January 08, 2007, 05:28:47 pm »

Coppermine version: cpg1.4.2
Wrong, you have cpg1.4.10 (which is OK).

Relative path to your BBS's config file:  ../smf/ 
This depends on the way sub-domains are being set up on your server. Usually, sub-domains are being represented on file system level as sub-folders within your webroot. If this is the case for you, the relative path should be ../forum - I strongly doubt that it is ../smf. If you're not sure, review your sub-domain setup.
Logged

snecz

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Authentication by cookie
« Reply #14 on: January 08, 2007, 06:01:25 pm »

Neither ../smf or ../forum/ is working.

I have sub-domain which name is "forum" in the "powisle.waw.pl" domain. And I have rederection to smf catalogue in my webroot.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Authentication by cookie
« Reply #15 on: January 08, 2007, 06:06:17 pm »

A redirection rule doesn't equal a folder. If you have no idea what to set it to, you'll have to ask your webhost for support, since we don't know the way subdomains are being handled on your webserver.
Logged

snecz

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Authentication by cookie
« Reply #16 on: January 08, 2007, 10:01:19 pm »

Just got very sad news. They (admins of the webserver) said it's impossible to get from galeria to forum catalogue.
 ??? .
I asked you here before and on smf forum. You said it's possible - go for it.
How can I solve it now?
Logged

Nibbler

  • Guest
Re: Authentication by cookie
« Reply #17 on: January 08, 2007, 10:11:33 pm »

Copy the core files of your forum to somewhere you can get a path to and set that as the relative path. You'll then need to keep the copy up to date when you update the forum.
Logged

snecz

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Authentication by cookie
« Reply #18 on: January 08, 2007, 10:19:26 pm »

 :) What do you mean by "core files"? It's possible  :)
Logged

Nibbler

  • Guest
Re: Authentication by cookie
« Reply #19 on: January 08, 2007, 10:47:23 pm »

SSI.php and the Sources folder should be enough.
Logged
Pages: [1] 2   Go Up
 

Page created in 0.032 seconds with 19 queries.