setting a constant path setting a constant path
 

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

setting a constant path

Started by soaker, July 22, 2008, 09:49:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

soaker

is there anyway I can set a constant path?

right now all paths in the CPG point to ex: /include/blahblah.php

do I have to manually set each path or is there anywhere I can define the actual path for ALL files?


Joachim Müller

Are you trying to include coppermine into another app using PHP's include/require command? You can't - that's simply not the way how coppermine is designed to work. There is no overall constant that you could possibly change, you'd have to change nearly all files that come with coppermine to accomplish what you're up to. Why don't you describe instead what you actually want to accomplish instead of asking for help on how to change the include path? Maybe we could suggest a solution that you haven't been thinking of so far.

soaker

ok basically, i'm attempting to integrate the headers and footers of vbulletin into coppermine. I already have CPG integrated with the VB db.

I know its been asked a dozen times, but for the life of me I havent found a real solution. From my research there may be an issue/cookie conflict, etc. I'm not sure of the issues.

But there has GOT to be a way!

Just simply integrate the header and footer.


Joachim Müller

Quote from: soaker on July 23, 2008, 11:12:19 AM
i'm attempting to integrate the headers and footers of vbulletin into coppermine.
You can't.
Quote from: soaker on July 23, 2008, 11:12:19 AMI know its been asked a dozen times, but for the life of me I havent found a real solution.
Answer remains the same no matter how often people ask though: that's not how coppermine works.


Quote from: soaker on July 23, 2008, 11:12:19 AMBut there has GOT to be a way!
Wishfull thinking!

The headers of your other app use includes and they manipulate the http headers. You can't accomplish what you're up to. That's why we suggest in the docs to create a coppermine theme that matches the layout of your overall site. We do not recommend to include the other app. We give this recommendation because we know our way around coppermine pretty well.