Subversion Repositories svnkaklik

Rev

Go to most recent revision | Details | Last modification | View Log

Rev Author Line No. Line
6 kaklik 1
Coppermine Gallery 1.3.3 and vBulletin 3.0.0 Integration
2
Version 1.0
3
Compiled by SpeedStreet
4
 
5
I'm not the hacker for this; I am merely the guy who poured through all of the threads on vBulletin.org and the Coppermine Development Forums to come up with one definitive post about integrating vBulletin with Coppermine.
6
 
7
WHAT IT DOES:
8
At the end of this how-to, you're installations of vBulletin and Coppermine will work together off of the same login.  While everyone else wants to see all sorts of integration between the two, I believe this is the first step to making those things happen.
9
 
10
CREDITS:
11
A big thanks to everyone over at Coppermine for a terrific product and the users that support and mod it on a daily basis.  I am merely standing on the shoulders of giants here, folks.   Also, Nanobot was the guy over there that did the vB3 Gamma bridge, so the credit for that is all his.
12
 
13
FILES TO EDIT (2):
14
/bridge/vbulletin30.inc.php  (Coppermine)
15
/include/init.inc.php  (Coppermine)
16
 
17
HACK REQUIREMENTS:
18
vBulletin 3.0.0 Installed and Running
19
Coppermine 1.2.1 Installed and Running
20
5 Minutes of your time
21
 
22
SUPPORT THREADS:
23
Coppermine Gamma Thread (original thread): http://coppermine.sourceforge.net/board/viewtopic.php?t=2370&start=30&postdays=0&postorder=asc&highlight=
24
vBulletin.org Hack Thread:
25
Coppermine vB 3.0.0 Thread:
26
 
27
FINAL WARNINGS:
28
 
29
There are seem to be some issues with people integrating this with forums located on subdomains (e.g. subaruforums.speedstreet.org).  Please reference the Coppermine Gamma Thread above for more info.
30
Please ensure that Coppermine and vBulletin cookies are NOT named the same thing.
31
 
32
-------------------------------------
33
 
34
HOW TO INTEGRATE:
35
1.) Download vbulletin30.inc.php (provided as an archive with this hack)
36
2.) Open for Editing vbulletin30.inc.php and edit the following with data specific to your site:
37
 
38
//NOTE : Your vBulletin license number is provided at the top of every php file in your vBulletin installation!
39
define('VB_CUST_NO', 'xxxxxxxx'); // Your vBulletin license number (NOT your customer number)
40
define('VB_DB_NAME', 'forum'); // The name of the database used by the board
41
define('VB_BD_HOST', 'localhost'); // The name of the database server
42
define('VB_DB_USERNAME', 'username'); // The username to use to connect to the database
43
define('VB_DB_PASSWORD', 'password'); // The password to use to connect to the database
44
 
45
// The web path to your vBulletin Board directory
46
// In this example http://yoursite_name.com/vbulletin3/
47
define('VB_WEB_PATH', '/vbulletin3/');
48
 
49
3.) Save vbulletin30.inc.php to the bridge directory of your Coppermine installation
50
4.) Open for Editing init.inc.php (located in the /include directory of your Coppermine installation
51
Find:
52
// define('UDB_INTEGRATION', 'vbulletin30');
53
Remove the double slashes in front of the line to uncomment
54
 
55
5. Save init.inc.php to the include directory of your Coppermine installation
56
6. Point your browser to your Coppermine installation and verify integration is complete.
57
 
58
That should do it.  I tried it on a fresh install of both, and a custom install to an existing board.  Both worked fine.
59
 
60
 
61
 
62
 
63
 
64
 
65
 
66
 
67