Intergrating Vbulletin 3.0.3 and Coppermine Gallery 1.32 TUTORIAL Intergrating Vbulletin 3.0.3 and Coppermine Gallery 1.32 TUTORIAL
 

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

Intergrating Vbulletin 3.0.3 and Coppermine Gallery 1.32 TUTORIAL

Started by Seraphuk, December 05, 2004, 07:55:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Seraphuk

Here is an Easy Tutorial on how to intergrate the two, first time with ease!:

1. Install your forums.

2. Upload the coppermine files to your Forums directory in a folder. (Eg: /forums/gallery/ if your forums is in www.mysite.com/forums/ |  /gallery/ if your forums are in www.mysite.com).

3. Install Coppermine Gallery into the SAME MYSQL database as your Forums.

4. Test Everything Works.

5. Download the included attachment.

6. Upload the init.inc.php to /includes/ directory in your gallery folder.

7. Open vbulletin3.inc.php.

8. Go to your forums directory and download the following file: /functions/functions_login.php.
-- Open the file and goto line 151 and you will find: "vbsetcookie('password', md5($bbuserinfo['password'] . 'THIS HERE'));".
---- copy what it says here: "THIS HERE".

9. Set the following up in the file::
Quotedefine('VB_CUST_NO', 'THIS HERE'); // Your vBulletin license number (NOT your customer number)  < PUT "THIS HERE" where it says THIS HERE
define('VB_DB_NAME', 'mysql_dbname'); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_USERNAME', 'mysql_uname'); // The username to use to connect to the database
define('VB_DB_PASSWORD', 'pword'); // The password to use to connect to the database

// The web path to your vBulletin Board directory
// In this example http://yoursite_name.com/vbulletin3/
define('VB_WEB_PATH', 'http://yoursite.whatever');  << Put your forums directory

10. Upload vbulletin3.inc.php  to the bridge folder.

11. Go to your gallery and test all works!

Joachim Müller

Thanks for your contribution, but
Quote from: Seraphuk on December 05, 2004, 07:55:38 PM
2. Upload the coppermine files to your Forums directory in a folder. (Eg: /forums/gallery/ if your forums is in www.mysite.com/forums/ |  /gallery/ if your forums are in www.mysite.com).
is not recommended. Coppermine should not be a sub-folder of your bbs (well, nothing bad will happen if you do still).However, we recommend putting the coppermine folder into the webroot (e.g. "/gallery/"), not into the bbs folder.

Joachim

Seraphuk

Yeah, i had been trying for sometime without success. And then i found them files and did like i said and it worked. So i thought id post how it worked for me first time (Today anyway ;D) so hopefully everyone else would have success!

version2

Seraphuk, I was able to get the login integration working with your instructions, but now I get a form creation error when trying to upload anything.

DefenceTalk.com

Will this work if CPG database is not in same database as vB 3.0.3? I guess, I will have to test it out.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.defencetalk.com%2Fpictures%2Fsignature_cpg.php&hash=c0098ed5314d39beb9e8799c7c8787a9a0353b45)

SnitchSeeker

Quote from: GauGau on December 05, 2004, 09:35:28 PM
Thanks for your contribution, but
Quote from: Seraphuk on December 05, 2004, 07:55:38 PM
2. Upload the coppermine files to your Forums directory in a folder. (Eg: /forums/gallery/ if your forums is in www.mysite.com/forums/ |  /gallery/ if your forums are in www.mysite.com).
is not recommended. Coppermine should not be a sub-folder of your bbs (well, nothing bad will happen if you do still).However, we recommend putting the coppermine folder into the webroot (e.g. "/gallery/"), not into the bbs folder.

Joachim
I have to agree with Joachim. I want my Gallery to be located in the webroot, and not nested in the forums.

Is there a tutorial for integrating the vBulleting user db to Coppermine doing it that way instead?

Thanks!