Advanced search  

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

Pages: [1]   Go Down

Author Topic: Need help with intergration similar to this website.  (Read 7295 times)

0 Members and 1 Guest are viewing this topic.

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Need help with intergration similar to this website.
« on: August 16, 2007, 11:52:45 pm »

Hello,

I am going to intergrate a SMF forum into my coppermine gallery, i know that when you bridge it with the wizard the forum becomes the main page. However how did you guys have it where there is a seperate link to the "Support Forum", because when you register for the demo on this website you become a member of the forum and vice-versa. This is the exact effect i am wanting to achive. So you dont get brought straight to the forum page and you have the option of clicking "Demo" or "Support Forum" and you will be a member of both.

Thanks,

btw i am not using phpbb anymore.
« Last Edit: August 18, 2007, 10:25:47 am by GauGau »
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Need help with intergration similar to this website.
« Reply #1 on: August 17, 2007, 09:35:25 am »

Use the custom link feature in coppermine's config to accomplish this. RTFM in the future before asking questions.
If you're not using phpbb any longer and therefor are not interessted in resolving the open thread you started in relation to that, you should have resolved that thread by replying to it accordingly. This would have saved others from reading and replying. Marking the other open thread accordingly. Respect board rules and common sense in the future. >:(
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Need help with intergration similar to this website.
« Reply #2 on: August 17, 2007, 09:48:24 am »

Ok sorry, But how do i bridge the gallery and the forum but not put prority on the forum. So i click on your "demo" gallery i am not redirected to the forum. When i bridge them together i get brought straight to the forum to enter my password. How do i hsve it where i click on gallery i can just enter my password there?

How do they share the same user db?
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Need help with intergration similar to this website.
« Reply #3 on: August 17, 2007, 09:59:03 am »

Ok sorry, But how do i bridge the gallery and the forum but not put prority on the forum.
Not at all. That's nonsense.

How do i hsve it where i click on gallery i can just enter my password there?
Not at all. The entire point of bridging is that the user management and authentification is done using the app you bridge with. You already have been told so on the other thread. It is independant of the app you bridge with, but generic to the bidging process.

So i click on your "demo" gallery i am not redirected to the forum.
Because you're already logged in. If you're not logged in and click the "login" link on the demo page, you'll be sent to the forum's login screen just as well. As you have set you gallery's config to disallow anonymous guest, you'll be sent to the forum's login page immediately when you go to your gallery.

How do they share the same user db?
Not at all.

Read up the bridging section of the docs - this is all being explained there.

We have a strict "one question per thread" policy that you agreed to respect when signing up. Afaik you have been told so already in another thread as well. The custom link feature and the way bridging works are clearly two different animals, so you shouldn't have posted both questions in one thread. Keep on misbehaving and no supporter will help you any longer...
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Need help with intergration similar to this website.
« Reply #4 on: August 17, 2007, 12:52:11 pm »

Okay i have made my SMF forum and bridged with CPG, however if i go to mysimtractor.com/cpg1412/index.php it redirects me to the forum where i enter my login details and when i click login, i go to the forum instead of the gallery. i couldnt access the gallery because whenever i went to the gallery url i was brought straight to the forum. So i had to go to /bridgemgr.php and disable it there.  :'( :'(

Have done something wrong?

The cookie names are different.

Thanks for your help.
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Need help with intergration similar to this website.
« Reply #5 on: August 17, 2007, 01:32:22 pm »

When i click logout on CPG i get redirected to forum logout with an error saying:

Unable to define reffering url, go back.
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Need help with intergration similar to this website.
« Reply #6 on: August 17, 2007, 04:51:08 pm »

Help,

I have followed the steps in the docs to bridge my CPG with SMF and i got no luck, nobody exept the admin could login. When you went to the CPG you got forwarded to the forum (this is normal) and when i entered the details of my normal user account it just said it was not a valid username. However when i try the same with my admin acccount it works but does not go back to the gallery instead it just goes straight to the forum (this is not supposed to happen).

Details:

I have the following issue when trying to bridge coppermine and XXX:
[error message here]

Coppermine install: http://www.mysimtractor.com/cpg1412
Forum install: http://www.mysimtractor.com/forum
Forum version: SMF 1.1.3
Test user account: test/test123

BridgeManager settings:
Forum URL:  http://mysimtractor.com/forum
Relative path to your BBS's config file:  ../forum/ 
Use post-based groups?:  0
Cookie name/preifx: SMF

Cookine name: Coppermine.

I have disabled the bridging as users could not login.

Sorry if i was a pain earlier.


Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Need help with intergration similar to this website.
« Reply #7 on: August 17, 2007, 07:37:03 pm »

I have disabled the bridging as users could not login.
We can't help you with bridging disabled. Re-enable it, then report back here. And fix your theme as well - there is gargabe showing through at the bottom.
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Need help with intergration similar to this website.
« Reply #8 on: August 17, 2007, 07:44:10 pm »

Ok, i have re-enabled the bridging.  The login details are above.

Your help is much appreciated.
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Need help with intergration similar to this website.
« Reply #9 on: August 17, 2007, 07:45:29 pm »

Also, the login wont work as it only logs in admins. I have tried to other accounts and they will not login.
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Need help with intergration similar to this website.
« Reply #10 on: August 17, 2007, 08:01:20 pm »

You'll have to provide an existing user account? Re-read the bridging section of the docs as I suggested earlier: when bridged, Coppermine drops it's user management in favor of the app it gets bridged with. Subsequently, users that have been created in Coppermine do no longer exist. Only the users that exist in the app you bridge with (in your case SMF) are being taken into account. Therefor, the test user account needs to be created in SMF, not in Coppermine. If you can log in with your admin account, then that's pure coincidence: you probably used the same user name and password both for coppermine as well as for your forum.
I'm reluctant to explain this even more. Read the docs. Re-read them. Read them again. I'm not going to repeat stuff any more that is being covered in the docs.
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Need help with intergration similar to this website.
« Reply #11 on: August 17, 2007, 09:28:10 pm »

I have read the docs but i never knew that all pre existing accounts would be lost. Is there a way to import all existing users into the database and save them?

details:
user: test
password: test123
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Need help with intergration similar to this website.
« Reply #12 on: August 17, 2007, 09:59:43 pm »

I have decided i no longer want to bridge. You can mark this one as solved. Thanks anyway!
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Need help with intergration similar to this website.
« Reply #13 on: August 18, 2007, 10:25:34 am »

I have read the docs but i never knew that all pre existing accounts would be lost.
The docs clearly say so: "5.2.3 Coppermine users, groups and pics uploaded by users are lost when integrating"

Is there a way to import all existing users into the database and save them?
No

I have decided i no longer want to bridge. You can mark this one as solved. Thanks anyway!
Marking thread accordingly. Reading the manual in the first place would have saved you a lot of work. Additionally, it would have saved a lot of time of supporters.
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 21 queries.