Authentication by cookie Authentication by cookie
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Authentication by cookie

Started by snecz, January 05, 2007, 05:28:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

snecz

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

Nibbler

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

snecz

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.

Nibbler

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

snecz

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?


snecz

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.

Joachim Müller

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

snecz

These dummy examples are from your online manual.

Joachim Müller

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

snecz

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


Joachim Müller

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.

snecz

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)

Joachim Müller

Quote from: snecz on January 08, 2007, 11:12:50 AM
Coppermine version: cpg1.4.2
Wrong, you have cpg1.4.10 (which is OK).

Quote from: snecz on January 08, 2007, 11:12:50 AM
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.

snecz

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.

Joachim Müller

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.

snecz

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?

Nibbler

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.

snecz

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

Nibbler

SSI.php and the Sources folder should be enough.