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
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
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
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
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, ... , ?
yup, that's all
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?
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)?
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?
Enable debug mode and post the actual SQL error message.
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.
What was the error? Posting it here along with your fix may help people in the future.
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. ;)