Hi!
I'm using coppermie for my website. The website itself has two versions, one for Mozilla/Netscape which makes good use of transparent .pngs and an Internet Explorer version which uses .jpgs. I've finished the Firefox version
http://thelaststand.hl2files.com/media/
and I'm trying to install the IE version. When I come up to the mySQL database information screen during installation it says that "cpg132_albums" already exists, as it should really.
What I'm trying to do is setup the two galleries to use the same database so I just have to upload files to one for both to change. Any ideas?
Thanks in advance for any help,
J.-F.
Just use a different prefix, instead of cpg132. Maybe cpg132a, or something that lets you know which version the gallery is for: cpgie
Even if the prefixes are different, are the galleries the same? I.E. if I upload some pics in the Firefox version of the gallery, do those pics appear in the IE gallery as well?
No, they will contain different information because they will go to different tables with different prefixes. Are you installing them into different folders, too?
Yep, its being installed in .../forums/ and .../forumsIE. Would it be possible to download the contents of /forums (Firefox version) and upload to /forumsIE and simply change the theme information?
sure.
What's the purpose for having two almost identical websites? Just to take advantage of transparent PNG images for your theme?
If that's all you want to do, it would probably be easier to do a browser check in init.inc.php, set a variable (or a constant) to TRUE (for non-IE) or FALSE (IE), then wherever you want the transparent PNG displayed, just check for TRUE and display your PNG.
Or, you could check out http://www.koivi.com/ie-png-transparency/ to display PNG images correctly on all browsers. I've used it with Coppermine successfully. Very easy to implement.
I agree with what kegobeer said - having two different installs is overkill - just use a traditional browser fork/switch.
Joachim
just an inspirational note : I have my Coppermine in one folder (/somewhere/fotosite), - using database 'foto'. Then I copied the entire folder /somewhere/fotosite to /somewhere/fotosite_test, - retaining all db connections, - so I ended up with 2 different coppermine installations, - SHARING the same database.
I wanted to test out new themes and modifications, - without affecting the 'original site', - but with all the data/images/comments intact.
For testing purposes this works perfect.
Kim Igel
The thing with that is if you are "testing" config, it would affect the real gallery because some settings are stored in the database.
But if you don't need to fiddle with config with your test gallery, it's all good.
yup, - it's normally 'theme-related', - changing colour, borders, stuff like that, - only touching ../theme/... files. But you're right.