2nd Instance of Coppermine
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCoppermine
Author Message
WebSiteGuru
1000+ Posts Club


Joined: Jun 09, 2005
Posts: 2321

PostPost subject: 2nd Instance of Coppermine
Posted: Wed Nov 21, 2007 3:51 pm
Reply with quote

Big grin What do I need to do to add a 2nd instand of coppermine?

I know that I'll have to rename the folder to a different name (IE: coppermine2). And other changes need to be made... Confused

_________________
Lead Theme Designer - WebSiteGuru Designs

WebSiteGuru's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1
Back to top
View user's profile Visit poster's website Yahoo Messenger
greenday2k
Forum Admin


Joined: Aug 11, 2005
Posts: 484
Location: CO

PostPost subject: Re: 2nd Instant of Coppermine
Posted: Thu Sep 25, 2008 4:31 am
Reply with quote

've just installed second instance of coppermine.

Ive just copied the
/modules/coppermine dir

and renamed the new copy to
/modules/Pictures dir

now, in your new "Pictures" dir
open the file: cpg_install.php

find: (about line 16, $Revision: 9.10 $)
Code:
class coppermine {

and that class with your module name, in this case Pictures
Code:
class Pictures {

Now, find the function:
Code:
function coppermine() {

and rename it to your new module name:
Code:
function Pictures () {

Those names are case sensitive.

Also you have too Edit the
/modules/module_name/search.inc file

_________________
www.greenday2k.net



greenday2k's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger
WebSiteGuru
1000+ Posts Club


Joined: Jun 09, 2005
Posts: 2321

PostPost subject: Re: 2nd Instance of Coppermine
Posted: Fri Sep 26, 2008 10:29 pm
Reply with quote

WOW! Shocked My question finally got answer (no pun intended) Big grin after almost a year. Very Happy Hmmmm, what was I planning to do with it? Question I actually forgot already. LOL! Laughing

@ greenday2k - Thanks, thou! As soon as I remembered what I wanted to do back then, I'll surely user this instruction you have provided. Very Happy Smile

_________________
Lead Theme Designer - WebSiteGuru Designs

WebSiteGuru's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1
Back to top
View user's profile Visit poster's website Yahoo Messenger
radiogetswild
500+ Posts Club


Joined: Apr 22, 2004
Posts: 685
Location: UK

PostPost subject: Re: 2nd Instance of Coppermine
Posted: Sat Sep 27, 2008 5:07 pm
Reply with quote

Now thats gonna be handy for seperating ecards from main photos cheers and thanks i will keep this in mind if i cant get my ecard module ported... only been trying for like 5 years lol

cheers all have a great weekend

Tim


radiogetswild's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL Version 5.0.45 PHP Version 5.2.6 apache is 1.3.41 Dragonfly 9.2.1 Windows Vista
Back to top
View user's profile Send e-mail Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCoppermine All times are GMT
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.5 seconds with 19 DB Queries in 0.0993 seconds
Memory Usage: 2.88 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy