Integration / Bridging with phpMyForum Integration / Bridging with phpMyForum
 

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

Integration / Bridging with phpMyForum

Started by hama, April 18, 2005, 11:53:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hama


I'd like to bridge or integrate (don't know which is the right word) coppermine with a forum in the way that coppermine takes the users from the forum and when a user is logged in in the forum he is logged in in coppermine too.

I think you don't know this forum but it's a very good one and I built a lot of my website around this forum.

Website of phpMyForum: http://www.phpmyforum.de/demo.html

phpMyForum on my website: http://www.orst.ch/phpmyforum/index.php

How can I do that? - No, this is the wrong question because I can't to that for myself. Can someone do that or is this very difficult and I should ask in the "paid" area?

Thanks

hama
Get up, stand up, stand up for your rights! - Get up, stand up, don't give up the fight!

Joachim Müller

you'd need someone to build a bidge file for you (based on the existing bridge files). Please note: if you decide to hire someone to buld a bridge file for you (and this person succeeds), it'd be a nice gesture if you published the bridge file as a contribution to the community. Please note as well that the bridging mechanisms will change from cpg1.3.x to cpg1.4.x, so you will need to modify your custom bridge when upgrading (once cpg1.4.x gets released).
Just let us know if you decide to pay someone by replying on this thread and a moderator will move it for you to "paid support".

Joachim

hama


I'm in contact with someone who is building me a bridge file. In the next few days I'll know more.

When he succeeds we or he will publish the file in the community. I learned a lot by reading in this forum and when I have the chance to help someone in return it's no question for me.  :)

Is it a big work to "upgrade" the bridge file from 1.3 to 1.4?

hama
Get up, stand up, stand up for your rights! - Get up, stand up, don't give up the fight!

Joachim Müller

Quote from: hama on April 21, 2005, 12:57:00 PM
Is it a big work to "upgrade" the bridge file from 1.3 to 1.4?
no, usually not.

Joachim

Roi Danton

Any progress on the bridge for phpmyforum?
I'm highly interested in it because phpmyforum is the most customizable bulletin software I ever found.
I have looked at other bridge files but I fear that it will take a long time with my little knowledge about CPG/pmf user administration.

What CPG files have to be edited for such an integration besides the bridge file itself? include/init.inc.php, ... , ?
Style Tahun for cpg --> review

Stramm


Roi Danton

Fine. :) Do you have a recommendation what bridge file I should use as template for my own? E.G. in the bridge file for YaBB SE you have set variables for the CM group names, so is that the latest?
Style Tahun for cpg --> review

Roi Danton

#7
EDIT: Solved ... I have changed the cookie Domain for the forum software. So at least the cpg documentation for this case is wrong ;) ...

Bulletin board: http://board.yourdomain.com/
Coppermine: http://gallery.yourdomain.com/

does work!  ;D

Old text:
My bridge works so far on my local server ... well, it doesn't support using of subdomains (like galerie.domain.de and forum.domain.de).

How can I access the cookies of the forum (located at forum.domain.de) with cpg (galerie.domain.de)?
Style Tahun for cpg --> review

Roi Danton

Well, after bridging cpg I get an error message when accessing admin tools:
There was an error while processing a database query

When I disable the bridge (comment it out in init.inc.php) it works normal.

Is this normal or have I done something wrong?
Style Tahun for cpg --> review

kegobeer

Enable debug mode and post the actual SQL error message.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Roi Danton

Ah, thanks for the hint with debug mode!

I could found the error myself and now it works without problems. I'll test the bridge file in a working area before I'll release it.
Style Tahun for cpg --> review

kegobeer

What was the error?  Posting it here along with your fix may help people in the future.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Roi Danton

Quote from: kegobeer on November 22, 2005, 02:34:12 PM
What was the error?  Posting it here along with your fix may help people in the future.
Hehe, if it actually would, I'd posted it: The reason was just a repetitive typo of myself in some variables of one SQL query ... I can't imagine that someone makes the same daffy fault in the same SQL query. ;)
Style Tahun for cpg --> review