Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Intergrating Vbulletin 3.0.3 and Coppermine Gallery 1.32 TUTORIAL  (Read 5579 times)

0 Members and 1 Guest are viewing this topic.

Seraphuk

  • Coppermine newbie
  • Offline Offline
  • Posts: 3

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::
Quote
define('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!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Intergrating Vbulletin 3.0.3 and Coppermine Gallery 1.32 TUTORIAL
« Reply #1 on: December 05, 2004, 09:35:28 pm »

Thanks for your contribution, but
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
Logged

Seraphuk

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Intergrating Vbulletin 3.0.3 and Coppermine Gallery 1.32 TUTORIAL
« Reply #2 on: December 05, 2004, 09:46:10 pm »

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!
Logged

version2

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Intergrating Vbulletin 3.0.3 and Coppermine Gallery 1.32 TUTORIAL
« Reply #3 on: December 17, 2004, 08:07:34 pm »

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.
Logged

DefenceTalk.com

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 230
    • http://www.defencetalk.com
Re: Intergrating Vbulletin 3.0.3 and Coppermine Gallery 1.32 TUTORIAL
« Reply #4 on: December 31, 2004, 10:03:47 am »

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.
Logged
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.defencetalk.com%2Fpictures%2Fsignature_cpg.php&hash=c0098ed5314d39beb9e8799c7c8787a9a0353b45)

SnitchSeeker

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Intergrating Vbulletin 3.0.3 and Coppermine Gallery 1.32 TUTORIAL
« Reply #5 on: August 23, 2005, 11:09:48 am »

Thanks for your contribution, but
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!
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 16 queries.