Integration into Orion ... Integration into Orion ...
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Integration into Orion ...

Started by femu, March 15, 2006, 11:50:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

femu

Hi,

I'm running Orion (a phpBB 2.0.19 based portal software). Now I tried to get the page_header.php and page_tail.php from my forum software around Coppermine, but as soon as I entered the path and filename in the settings and saved it, I get a hacking attempt from Coppermine.

What do I need to do, that I get the album between my standard header and footer?

Thanks,
Felix

Joachim Müller

to visually integrate coppermine into your page, it's recommended to create a theme that matches your site's design. You can't use the page header and page footer to include anything, but only allowed html markup output. Your BBS app probably tries to modify the header (cookie stuff etc), which just isn't possible. As far as I can see, you're not trying to make coppermine use the login/user management from your other app (which is basically what bridging is about).
It might help to post more details what you're trying to do, with a link to your page

femu

Hi,

I'm currently working on a solution to get it integrated. So I found on phpBB board how to implement another PHP program, but currently fighting a little bit around :-) So when I start the PHP file in my forum root, the header and footers are displayed correctly, but coppermine not, since it uses then the php root as path and vice versa, when I start in the coppermine directory. So I presume I need to add some additional environment variables or whatever for the page header and footer and start from the coppermine directory. So if I found a working solution, I'll let you know.

BTW. I use of course the login part and that works fine.

Thanks and regards,
Felix

Joachim Müller

coppermine can't be included into another app using PHP's include command, it simply doesn't work that way. Many have tried, all of them have failed. As a workaround, you could come up with an iframe solution as the one from snork13 (designed for SMF though): "[How To] Coppermine within SMF".
Close visual integration actually means creating a port like the one for e107 or PragmaMx, which requires in-detailed understanding and dropping coppermine's theming engine in favor of the one from your other app. Creating a port is not recommended though, you'll run into upgrading issues sooner or later.

femu

#4
Hi,

I played around a while and found that you're absolutely right. The idea I had only works with the first screen :-) So I changed the template.html to get the impression it's part within my Orion. So there's one little question left. As the user integration works fine, I would get rid of the Login/Logout and the Profile part inside the coppermine menu. Do you have an idea, where I can exclude these two menu items?

And another one. In the album view, I see a sample pricture and the comment to the album. The picture is vertically centered, but due to the different length of the descriptions I would like to have the picture at the top. So something like a valign="top". Where can I change that one?

Thanks,
Felix

Joachim Müller

we have a "one question per thread" policy you agreed to respect when signing up - please do so in the future. Marking this thread as "solved".
There are various postings in the themes sub-board that explain how to get rid of menu items, the easiest method being using the plugin that is available as well.
If you don't want to use the plugin, then you'll have to modify your custom theme - can't post exact instructions as the method differs depending on which theme you use. If you need detailed help, start a new thread on the theming sub-board, providing a link to your page and as an attachment the zipped-up copy of your custom theme.

Same thing goes for your other question: start a new thread with details.

In fact it's mandatory to post a link to your page in every thread: it's much easier to understand a support request if the supporter can take a look at the live thing instead of trying to imagine what the user looking for support is seeing and trying to accomplish.

femu

Hi,

thanks for the hint! I will check the other sections for my other question and then create a new post, if I can't find something.

Kind regards and thanks for the help,
Felix