Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Coppermine 1.2.1 / vBulletin 3.0.0 Integration Details »»
Coppermine 1.2.1 / vBulletin 3.0.0 Integration
Version: 1.00, by SpeedStreet SpeedStreet is offline
Developer Last Online: Feb 2011 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 03-21-2004 Last Update: Never Installs: 76
 
No support by the author.

Coppermine Gallery 1.21 and vBulletin 3.0.0 Integration
Version 1.0
Compiled by SpeedStreet

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.

WHAT IT DOES:
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.

CREDITS:
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.

FILES TO EDIT (2):
/bridge/vbulletin3.inc.php (Coppermine)
/include/init.inc.php (Coppermine)

HACK REQUIREMENTS:
vBulletin 3.0.0 Installed and Running
Coppermine 1.2.1 Installed and Running
5 Minutes of your time

SUPPORT THREADS:
Coppermine Gamma Thread (original thread): http://coppermine.sourceforge.net/bo...asc&highlight=
vBulletin.org Hack Thread: https://vborg.vbsupport.ru/showthread.php?p=488062
Coppermine vB 3.0.0 Thread: http://coppermine.sourceforge.net/bo...ic.php?p=20674

FINAL WARNINGS:

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.
Please ensure that Coppermine and vBulletin cookies are NOT named the same thing.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #182  
Old 02-12-2005, 09:57 PM
SpeedStreet SpeedStreet is offline
 
Join Date: Aug 2002
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That would seem to be a proper fix, yes.
Reply With Quote
  #183  
Old 02-25-2005, 03:31 PM
dtdesign dtdesign is offline
 
Join Date: Feb 2002
Location: Ireland
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ian Gratton
Hi There,

I am trying to integrate coppermine 1.3.0 beta4 into my vBulleting 3.01 installation.

So far so good - I have followed all the instructions for configuring the bridge and authentication is working fine - when I click the login button it authenticates me against my vbulletin details and then I appear logged on as that user in coppermine.

This leads me to believe that all the linkages between the two are working perfectly.

Prior to integrating the two solutions I created sample albums (both as an admin and regular user) and I could upload pictures perfectly (or at least after messing about with directory permissions).

Now the two are integrated I get a strange error when I click the upload file link in coppermine. Instead of getting the page asking me to browse files or enter URLs I get valid page back - but instead of including the form - the page contains a table whose heading is 'Error'

The message centered in the table is

Invalid action for form creation.

Anyone have any ideas ?

A few more bits of info.

IIS 6.0 on Win 2003 server
manual PHP 4.3.6 running via ISAPI filter with GD2 extension enabled.

I am certain somebody will know how to fix this - my users are very eager to upload.

Kind Regards

Ian.
Guys,

I was running vb version 3.0 and upgraded and lost my bridge to Coppermine 1.2.1 - I came across this thread when I was upgrading to VB version 3.0.6. I've downloaded the zip file and done the edits and when i go to the gallery I ain't logged in and when I click login I get redirected to my board where I am logged in..

Any clues ?
Reply With Quote
  #184  
Old 02-27-2005, 02:31 PM
Rick Sample Rick Sample is offline
 
Join Date: Apr 2004
Location: Ohio
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

UPDATE::

I got it integrated, everyone can log in who has a vbulletin account, etc. I have all the permissions set to upload folders, I have the albums permissions also set, but now it won't let me upload any files it returns this error:

ERROR:
Invalid action for form creation.

Any thoughts??
Reply With Quote
  #185  
Old 02-27-2005, 02:44 PM
Rick Sample Rick Sample is offline
 
Join Date: Apr 2004
Location: Ohio
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rick Sample
UPDATE::

I got it integrated, everyone can log in who has a vbulletin account, etc. I have all the permissions set to upload folders, I have the albums permissions also set, but now it won't let me upload any files it returns this error:

ERROR:
Invalid action for form creation.

Any thoughts??

Just searched this thread, and this problem seems to happen with more than half of the users who use this script :ermm:

Also, I just ran debug mode and this is what it returns:
otice: Use of undefined constant CUSTOMIZE_UPLOAD_FORM - assumed 'CUSTOMIZE_UPLOAD_FORM' in /home/muscleh/public_html/photos/upload.php on line 31

Notice: Use of undefined constant USER_UPLOAD_FORM - assumed 'USER_UPLOAD_FORM' in /home/muscleh/public_html/photos/upload.php on line 32

Notice: Use of undefined constant NUM_URI_BOXES - assumed 'NUM_URI_BOXES' in /home/muscleh/public_html/photos/upload.php on line 33

Notice: Use of undefined constant NUM_FILE_BOXES - assumed 'NUM_FILE_BOXES' in /home/muscleh/public_html/photos/upload.php on line 34

Notice: Use of undefined constant CUSTOMIZE_UPLOAD_FORM - assumed 'CUSTOMIZE_UPLOAD_FORM' in /home/muscleh/public_html/photos/upload.php on line 716

Notice: Use of undefined constant USER_UPLOAD_FORM - assumed 'USER_UPLOAD_FORM' in /home/muscleh/public_html/photos/upload.php on line 720

Notice: Use of undefined constant NUM_URI_BOXES - assumed 'NUM_URI_BOXES' in /home/muscleh/public_html/photos/upload.php on line 772

Notice: Use of undefined constant NUM_FILE_BOXES - assumed 'NUM_FILE_BOXES' in /home/muscleh/public_html/photos/upload.php on line 773
Reply With Quote
  #186  
Old 03-04-2005, 07:51 PM
Rene27 Rene27 is offline
 
Join Date: Aug 2004
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aeolian
1. Have the vb Forum installed.

2. Edit the file "vbulletin30.inc.php" under bridge folder (coppermine)
Code:
//NOTE : Your vBulletin license number is provided at the top of every php file in your vBulletin installation!
define('VB_CUST_NO', 'xxxxxxxx'); // Your vBulletin license number (NOT your customer number)
define('VB_DB_NAME', 'forum'); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_USERNAME', 'username'); // The username to use to connect to the database
define('VB_DB_PASSWORD', 'password'); // The password to use to connect to the database
You can Find the licence number in any of the forum files (at the beginning)
Code:
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 3.0.3 - Licence Number 1234abcd
|| # ---------------------------------------------------------------- # ||
|| # All PHP code in this file is ?2000-2004 Jelsoft Enterprises Ltd. # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/
3. Again edit the file "vbulletin30.inc.php" under bridge folder (coppermine)
Code:
define('VB_TABLE_PREFIX', 'FIND1'); // Leave empty, not supported by vBulletin 2.3
define('VB_USER_TABLE', 'user'); // The members table
define('VB_SESSION_TABLE', 'session'); // The sessions table
define('VB_GROUP_TABLE', 'usergroup'); // The groups table
define('VB_COOKIE_PREFIX', 'FIND2');  // Cookie Prefix, not supported by vBulletin 2
To get FIND1 and FIND2 download "config.php" from your server with FTP (path forumroot/includes/config.php)

Now search for
Code:
$tableprefix =
this value is your FIND1 (the value after '=' sign)

Again search for
Code:
$cookieprefix =
this value is your FIND2 (the value after '=' sign)


4. Open the file "init.inc.php" under include folder (coppermine)

then search for
Code:
// define('UDB_INTEGRATION', 'vbulletin30');
replace with
Code:
define('UDB_INTEGRATION', 'vbulletin30');
5. Now install the coppermine in the same database and user/pass as vb forum.

Now this should fix all the problems and set you FREE!

Safwan
amaderGaan.com


PS: do NOT use the integration script given in vb.org site use the default (vbulletin30.inc.php under bridge folder) integration script that comes with the cpg 1.3.2
I'm running 3.0.7 on my test board, and following these instructions fixed my login problems. Initially, I was being redirected to my bb where I was already logged in, and when I returned to my gallery, I wasn't logged in. I think this was referred to as the "login-loop" LOL

Anyway, for those of you still experiencing the same issue, you may want to CAREFULLY follow the above solution.

Thanks a bunch!

Rene'
Reply With Quote
  #187  
Old 03-06-2005, 04:55 PM
womensden womensden is offline
 
Join Date: Jan 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I'm having some problems with this. Hopefully someone can help me.

1) In ADMIN TOOLS, I'm getting the following error
Quote:
Fatal error: Unknown function: udb_util_filloptions() in /home/womensde/public_html/album/util.php on line 443
2) When I try to logout, I get:
Quote:
An error occurred while attempting to log you out. Click here to log out.
(I'm assuming this is the same problem most people were also having).

3) When I do finally get logged out, I get the following errors
Quote:
Notice: Undefined index: HTTP_CLIENT_IP in /home/womensde/public_html/album/bridge/vbulletin30.inc.php on line 100

Notice: Undefined index: HTTP_X_FORWARDED_FOR in /home/womensde/public_html/album/bridge/vbulletin30.inc.php on line 104

Notice: Undefined index: HTTP_FROM in /home/womensde/public_html/album/bridge/vbulletin30.inc.php on line 108
link to my album - http://www.womensden.com/album
Reply With Quote
  #188  
Old 03-06-2005, 05:11 PM
womensden womensden is offline
 
Join Date: Jan 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, the http errors seem to be fixed. Now I'm having an error when trying to upload

Quote:
Invalid action for form creation.
Seems several people are having this problem and nobody wants to reply with a fix.
Reply With Quote
  #189  
Old 03-07-2005, 06:17 AM
ajk ajk is offline
 
Join Date: Feb 2003
Location: Monmouth County, N.J. U.S.A.
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bigwrenn
I upgraded to 3.0.6 and now the integration doesn't seem to work. Anyone else having this problem?
Hi Bigwrenn,

I'm having a similar problem.
We run vB 3.0.6 and the Coppermine installer in Fantasico puts the DB in it's own.
It does not put the three sql files into the vB database. I may be wrong.

I think the database has to be installed through phpMyAdmin, but I'm not sure.

When I click login with all the settings everyone mentions, I go right to the front end of my board.

I'm stumped.

Anyone else have any ideas?

Thanks
Reply With Quote
  #190  
Old 03-07-2005, 06:51 AM
ajk ajk is offline
 
Join Date: Feb 2003
Location: Monmouth County, N.J. U.S.A.
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Everyone, I recommend to install Copermine MANUALLY!
Do NOT use Fantasico. As great as Fantasico is, it won't put the database in the vB database.

Now can someone give us the syntax to use for the vB 3.X navbar please?

I'm using vB 3.0.6 and Coppermine 1.3.2.

Thanks in advance!
Reply With Quote
  #191  
Old 03-07-2005, 01:27 PM
womensden womensden is offline
 
Join Date: Jan 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ajk
Hi Everyone, I recommend to install Copermine MANUALLY!
Do NOT use Fantasico. As great as Fantasico is, it won't put the database in the vB database.

Now can someone give us the syntax to use for the vB 3.X navbar please?

I'm using vB 3.0.6 and Coppermine 1.3.2.

Thanks in advance!
I had to do mine manually. Mine won't even install through Fantastico. I really hate that program.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:02 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12906 seconds
  • Memory Usage 2,329KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_code
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete