Ideas for Integrating into wbblite Ideas for Integrating into wbblite
 

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]

Main Menu

Ideas for Integrating into wbblite

Started by Mastacheata, November 18, 2004, 08:37:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mastacheata

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

Nibbler

It doesn't seem to have a prefix, so leave it blank.

Mastacheata

#2
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...

Joachim Müller

enable debug mode in coppermine config to see what query actually fails.

Joachim

Mastacheata

#4
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

Joachim Müller

link and test user account (non-admin) please.

Joachim

Mastacheata

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

Casper

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.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Mastacheata

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

Joachim Müller

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

Mastacheata

Rechecked everything. It should work now, at least for me it works...

Joachim Müller

site is down for me - address can't even be resolved. Probably a DNS issue.

Joachim

Mastacheata

You're right the DNS Servers were Down since 2:30 AM GMT+1 until 2:45 PM GMT+1

Winterheat

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?

Winterheat

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.

Joachim Müller

can other users confirm the modified bridge file Winterheat posted does work?

Joachim

Winterheat

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?

Casper

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/
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Winterheat

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.

Joachim Müller

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