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
  #22  
Old 03-23-2004, 10:26 PM
ap0c's Avatar
ap0c ap0c is offline
 
Join Date: Mar 2003
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SpeedStreet
That's correct, ap0c! The existing hack that is on coppermine's website is exactly the same.

This thread was merely a composite of the little fixes and tweaks on their site, plus the addition of an easy to use howto for those coming to coppermine for the first time.
good to know, thanks, I have to help upgrade someone else's board
Reply With Quote
  #23  
Old 03-23-2004, 11:31 PM
rocket98 rocket98 is offline
 
Join Date: Mar 2004
Location: Edmonton
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi SpeedStreet,

I tried to integrate CPG1.2.1 with VBGold. I don't have a standard database name had to use what my ISP provided. I do have a running gallery but received "Fatal error: There was an error while processing a database query".

I'm not sure what info you want to see to help.

I replaced the section here with my database name and remove the slashes,

// define('UDB_INTEGRATION', 'mydbname');

Is that correct?

Thanks
rocket98

** addition

I may have solved my own issue on this line in vbulletin3.inc.php

// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //
// Prefix and names for the database tables
define('VB_TABLE_PREFIX', ''); // Leave empty, not supported by vBulletin 2.3

I simply added my database prefix and it seems to work. If I click login I get back to vbadvanced homepage where i don't yet have a link to head back to the gallery. Is that correct behaviour. Possible login/logout message in the gallery can just be removed and a link placed there for access back and forth to home page and elsewhere.

Thanks
Reply With Quote
  #24  
Old 03-24-2004, 03:45 AM
???`S?LV?R???`'s Avatar
???`S?LV?R???` ???`S?LV?R???` is offline
 
Join Date: Aug 2003
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when i go to users on the coppermine gallery page its not showing my vb board users on it, i know i must of messed up on one of the steps. anyone have any idea which one i might of messed up on or left out?
Reply With Quote
  #25  
Old 03-24-2004, 08:31 AM
SpeedStreet SpeedStreet is offline
 
Join Date: Aug 2002
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ???`S?LV?R???`
when i go to users on the coppermine gallery page its not showing my vb board users on it, i know i must of messed up on one of the steps. anyone have any idea which one i might of messed up on or left out?
Nothing.

It does not port the user database from one onto the other. It simply links the two together, and tosses out the Coppermine userdb.
Reply With Quote
  #26  
Old 03-24-2004, 08:41 AM
???`S?LV?R???`'s Avatar
???`S?LV?R???` ???`S?LV?R???` is offline
 
Join Date: Aug 2003
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol makes sense now, by the way... itll only let registered people on my forums post pics or view this right?
Reply With Quote
  #27  
Old 03-24-2004, 05:01 PM
surfhog's Avatar
surfhog surfhog is offline
 
Join Date: Aug 2003
Location: England
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Help for a newbie please, I have both vbulletin gold and coppermine 1.21 installed and I thought I had installed this intergration modification as well?

I have the gallery working and it appears by looking at my db that I have only one db, so I am assuming that i have installed coppermine intergrated with vbulletin. I have edited the files as per this modification

Now after all that, I have to login seperately for vbulletin and coppermine Am I to assume that I have not installed coppermine correctly?

Please and thank you
Reply With Quote
  #28  
Old 03-24-2004, 05:14 PM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Coppermine should be installed to the vb database. When you log in to coppermine and click on user profile, does it take you to your forums userprofile page?

If it is, then you probably need to change the name of the cookie coppermine is using. If it isn't, then you likely need to re-check the edits you made to the intergration files.

**edit, I am work so I cant log in to my forums database but I believe one of the tables coppermine sets up is labelled as albums. You could check yoru forums db to see if thats in there as a way of double checking that coppermine was installed to the right db.
Reply With Quote
  #29  
Old 03-24-2004, 06:55 PM
surfhog's Avatar
surfhog surfhog is offline
 
Join Date: Aug 2003
Location: England
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks very much Reeve of shinra
it appears that i have not integrated coppermine correctly, because when i hit user profile, it goes to coppermine and not vbulletin.

don't ask me how i messed up, the db is as one, but obviously i make a mistake

so back to the drawing board for me lol

thanks again
Reply With Quote
  #30  
Old 03-25-2004, 07:28 AM
???`S?LV?R???`'s Avatar
???`S?LV?R???` ???`S?LV?R???` is offline
 
Join Date: Aug 2003
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im getting this at the top of the page "Warning: Wrong parameter count for define() in /home/silver/public_html/gallery/bridge/vbulletin3.inc.php on line 37"
Reply With Quote
  #31  
Old 03-25-2004, 07:09 PM
fasteddie fasteddie is offline
 
Join Date: Jan 2004
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got the integration part to work just fine, but I'm confused as to why only admins or mods can upload pictures on my board right now. The admin interface is not too friendly with coppermine
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 07:55 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.09199 seconds
  • Memory Usage 2,312KB
  • 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
  • (2)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