coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: Mastacheata on November 18, 2004, 08:37:59 PM

Title: Ideas for Integrating into wbblite
Post by: Mastacheata on November 18, 2004, 08:37:59 PM
I want to integrate the Gallery into my wbblite Board. It's the same architecture than the wbb2 Boards, so I thought it would be possible to use the wbb2.1 bridge that comes with the script, but I get stuck when the scrupt tells me the cookie_prefix variable is not defined in woltlab21.inc.php. So I thought to just look in the options.inc.php of my wbblite and search if the guys at woltlab renamed the cookie prfix variable, but there isn't even set one. Also you cannot define the name of the cookie in either the ACP or the config files.
Then I used my web developer toolbar in Firefox to see all the cookies set by my website, but there are at least 3 cookies set by the burning board and i don't know wich one I need to use in the cpg.
I'd appreciate any kinds of hints or solutions.

Thanks in advantage and greets from Germany
Mastacheata
Title: Re: Ideas for Integrating into wbblite
Post by: Nibbler on November 18, 2004, 08:50:04 PM
It doesn't seem to have a prefix, so leave it blank.
Title: Re: Ideas for Integrating into wbblite
Post by: Mastacheata on November 18, 2004, 08:59:48 PM
Ok I've found it on my own.
It's not that easy:
userid & userpassword cookie have the prefix wbb_ but cookiehash hasn't got a prefix...

But thanks anyway

EDIT:
I've got a new problem:
The Cookies are alright now but I get the very nonsaying message:
QuoteFatal error :
There was an error while processing a database query

But i can't define where this error happens. I even tried to get the mysql_error message, but no way...
Title: Re: Ideas for Integrating into wbblite
Post by: Joachim Müller on November 19, 2004, 09:47:08 AM
enable debug mode in coppermine config to see what query actually fails.

Joachim
Title: Re: Ideas for Integrating into wbblite
Post by: Mastacheata on November 19, 2004, 10:49:32 PM
thanks for the debug mode tip.
Next problem is the useronlinegroupid column wich is not available in wbblite database.
I've not got a wbb2 so I can't check what this column is for.
I'll now try to instead change the column from useronlinegroupid to groupid
I'll update this posting when I tried

*UPDATE*:
Now the gallery shows up properly, but I can't login or register.
When I try to login I'm redirected to the Forum's Start page.
But there I am already logged in and registered.
So please halp me where could there be a problem???



Greets
Mastacheata
Title: Re: Ideas for Integrating into wbblite
Post by: Joachim Müller on November 20, 2004, 10:11:23 AM
link and test user account (non-admin) please.

Joachim
Title: Re: Ideas for Integrating into wbblite
Post by: Mastacheata on November 20, 2004, 12:26:05 PM
It could be kind of difficult for you because my site is in german but anyways here comes the link:

Gallery: http://www.stufe12gat.de/cpg/
wbblite: http://www.stufe12gat.de/wbblite/

Login: testuseraccount
PW: testuserpw

greets
Mastacheata
Title: Re: Ideas for Integrating into wbblite
Post by: Casper on November 20, 2004, 12:41:32 PM
Quote from: Mastacheata on November 20, 2004, 12:26:05 PM
It could be kind of difficult for you because my site is in german but anyways here comes the link:

;D ;D ;D

Although Joachim speaks and writes excellent English, he is German, so should be able to cope with your site.
Title: Re: Ideas for Integrating into wbblite
Post by: Mastacheata on November 20, 2004, 01:39:58 PM
Hey where from should I know that Casper?

Yes I think so too that a german won't have any problems with my site. :D
Title: Re: Ideas for Integrating into wbblite
Post by: Joachim Müller on November 21, 2004, 07:54:32 AM
can't log in with the test account you provided, I get
QuoteZugriff verweigert! Bitte überprüfen Sie Ihre Eingaben.
Benutzen Sie den Zurück-Button Ihres Browsers oder klicken Sie hier!

Joachim
Title: Re: Ideas for Integrating into wbblite
Post by: Mastacheata on November 21, 2004, 01:46:17 PM
Rechecked everything. It should work now, at least for me it works...
Title: Re: Ideas for Integrating into wbblite
Post by: Joachim Müller on November 22, 2004, 07:35:29 AM
site is down for me - address can't even be resolved. Probably a DNS issue.

Joachim
Title: Re: Ideas for Integrating into wbblite
Post by: Mastacheata on November 22, 2004, 03:36:30 PM
You're right the DNS Servers were Down since 2:30 AM GMT+1 until 2:45 PM GMT+1
Title: Re: Ideas for Integrating into wbblite
Post by: Winterheat on December 06, 2004, 05:14:47 AM
I have the wbblite too and would like to integrate coppermine into it. Does anyone got the integration to work and can tell me how to do it?
Title: Re: Ideas for Integrating into wbblite
Post by: Winterheat on December 09, 2004, 07:53:44 PM
OK,

I followed Mastacheata`s steps and additionally changed the sessionhash column to hash and now it works. I attach the woltlab21.inc so you can take a look at it and maybe add it to the next coppermine release if other users prove the functionality.
Title: Re: Ideas for Integrating into wbblite
Post by: Joachim Müller on December 10, 2004, 01:28:10 AM
can other users confirm the modified bridge file Winterheat posted does work?

Joachim
Title: Re: Ideas for Integrating into wbblite
Post by: Winterheat on December 11, 2004, 04:50:20 PM
As I said the login integration works perfect but it seems that the e-card feature is broken now. I mean the e-card is being sent but the pictures aren`t displayed. After a look at the code I saw that the pictute URL`s are like 'http://www.myurl.de/images/stamp.gif' instead of 'http://www.myurl.de/coppermine/images/stamp.gif'. Where can this be fixed?
Title: Re: Ideas for Integrating into wbblite
Post by: Casper on December 11, 2004, 05:47:48 PM
Make sure the config setting 'target address for see more pics....' is correct, and includes the full url, i.e.  http://www.myurl.de/coppermine/
Title: Re: Ideas for Integrating into wbblite
Post by: Winterheat on December 11, 2004, 06:51:05 PM
Ah, thanks, I altered this setting to http://www.myurl.de because my website will be running in a frameset and I dind`t want the visitors to miss the navigation if they go directly to the coppermine gallery.
Title: Re: Ideas for Integrating into wbblite
Post by: Joachim Müller on December 12, 2004, 09:31:33 AM
Quote from: Winterheat on December 11, 2004, 04:50:20 PMAs I said the login integration works perfect
I understand that it works for you, but I'd like someone else to confirm before adding the bridge file to the coppermine release, as I can't test it myself.

Joachim
Title: Re: Ideas for Integrating into wbblite
Post by: Mastacheata on December 29, 2004, 11:35:38 PM
It doesn't work for me. SO it seems to me Winterheat has got a wbblite 1.0
Title: Re: Ideas for Integrating into wbblite
Post by: Torty on December 05, 2005, 04:48:06 PM
Hallöchen
ist zwar ein altes Thema aber für mich gerade top aktuell :-)

Frage:
gibt es nun eine möglichkeit zur integration bei einem wbblite 1.2 mit installationsanleitung?

Falls ja könnte bitte nochmal jemand alles zusammenfassend  posten was man machen muß?
Da ich nicht wirklich ahnung von PHP usw hab wär das sehr hilfreich für mich.

außerdem wüßte ich gerne ob man wie ich bei der integration von wbb2.3 gelesen habe gallerie und forum in der selben verzeichniseben machen muß
also zum beispiel
www.blabla.de/forum
und dann
www.blabla.de/gallerie

oder kann ich das forum im hauptverzeichnis installieren und nur die gallerie in ein unterverzeichnis?

Grüße
Torty
Title: Re: Ideas for Integrating into wbblite
Post by: Torty on December 05, 2005, 04:59:17 PM
PS:
Eine lösung für die integration von der Neuem gallery 1.4 wär auch oki
Title: Re: Ideas for Integrating into wbblite
Post by: Joachim Müller on December 09, 2005, 08:03:26 AM
there's no support in German except on the German support board.