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
  #132  
Old 10-08-2004, 04:25 AM
mattster2002 mattster2002 is offline
 
Join Date: Jan 2002
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got cpg 1.3.2 and vb 3.0.3 cant seem to get it intergrated, I've checked all my cookie settings flopped and changed them and still not working. This is so frustrating.

The problem is, the user appears to login and logout fine in vbulletin, but on coppermine it doesnt change, still has the same not logged in page
Reply With Quote
  #133  
Old 10-12-2004, 06:44 PM
Deimos Deimos is offline
 
Join Date: Oct 2002
Posts: 529
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It integrates aok, but i can't upload images via the User mode, but I can via the Admin mode?
I've checked permissions and they all seem ok... :/
Reply With Quote
  #134  
Old 10-15-2004, 08:59 AM
mhobelsb mhobelsb is offline
 
Join Date: Oct 2004
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

same for me. i have a vbulletin 3.0.3 running and installed coppermine 1.3.2. After the changes (followed the instructions) if i point to the galerie i am not logged in. if i klick on the login in the galerie i am redirekted to the forum. But no matter if i log in there, in the galerie i am still not logged in.

also changed the cookie prefix. not working here...
Reply With Quote
  #135  
Old 10-26-2004, 07:13 AM
Mattius Mattius is offline
 
Join Date: Sep 2004
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im trying 3.0.3 and 1.3.2....the latest coppermine, and i get the logout errors and i cant upload images as admin or user...

Anyone else have any success, ive tried every combination i can think off.
Reply With Quote
  #136  
Old 10-26-2004, 03:42 PM
Bigwrenn's Avatar
Bigwrenn Bigwrenn is offline
 
Join Date: Mar 2004
Location: Florida, USA
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Everyone who is having a login problem or upload permission problem try this. Go to your admincp and in the vbulletin options menu click on the cookies and HTTP header options. Set your your cookie domain up like this: ".yourdomainname.com" and make sure your path to save cookies is "/". Of course don't use the quotation marks and insert your domain name where it says "yourdomainname" and after you have everything setup save it . Then go to the config setup in coppermine and down near the bottom you'll see cookies settings. There is a input box labeled "Path of the cookies used by the script" in that box make sure it has this: "/".

Next open up your vbulletin30.inc.php file and make sure you have everything entered corrctly. In the init.inc.php file make sure you have the vbulletin30.inc.php uncommented. After doing all of this make sure you clear out your cache and clean your cookies of your machine. Then when you return to your site make sure you first sign in at the vbulletin side of things first. Then go to your coppermine gallery and check that all your albums have the "Visitors can upload files" checked in the properties of each album. After that you should be good to go and I hope this helps.

Bigwrenn

www.bigdoubleurc.com
www.3onthebay.com
Reply With Quote
  #137  
Old 10-26-2004, 09:14 PM
Mattius Mattius is offline
 
Join Date: Sep 2004
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

unfortunately that still doesnt work...
Reply With Quote
  #138  
Old 11-06-2004, 05:09 PM
weitalia weitalia is offline
 
Join Date: Jun 2004
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The hack works perfect but...I really want to HOLD all smilies of my vbb inside it...
To do this of course I can edit includes/smilies.inc.php the array,but could I do something more elegant,for example to load it directly from vbb???is there a way to do this maybe?? please telle me!!!! I need it!!
Thank you

Reply With Quote
  #139  
Old 11-12-2004, 03:05 PM
weitalia weitalia is offline
 
Join Date: Jun 2004
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have a problem to edit includes/function_online.php to integrate coppermine in it.
My forum path is /
my gallery path is /gallery/
so i edit function online, i add:
Code:
		case 'gallery':
			$userinfo['action'] = $vbphrase['viewing_gallery'];
			$userinfo['where'] = "<a href=\"$userinfo[location]\">$userinfo[location]</a>";
			break;
between other case
and after
Code:
		else
		{
			$userinfo['activity'] = 'modcp';
		}
		return $userinfo;
	}
i add:
Code:
	else if (strpos($token, "/gallery/") !== false)
	{
		{
			$userinfo['activity'] = 'gallery';
		}
		return $userinfo;
	}
but it doesn't work
someone can help me?
Reply With Quote
  #140  
Old 11-13-2004, 11:56 PM
anagarically anagarically is offline
 
Join Date: Nov 2004
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well... i am having problems getting it working... i have tried every fix that is on here.

i started out with coppermine in a sub-directory of my vbulletin... i got coppermine working just fine standalone... but... when i tried to integrate... no go...

i deleted the install.. and the database.. and started over... i installed in a fresh directory in my web-directory.. with a fresh database... install went perfect and standalone is good...

i configured the vbulletin30 file in bridge correctly... with all the information... including the cookiesprefix and all... i logged out of both.. cleared cookies.. logged into vbulletin... tried to go to coppermine... was not logged in... when i click on login... it goes to my forum... and that is still logged in... so... i don't know... any help would be appreciated.... thank you
Reply With Quote
  #141  
Old 11-14-2004, 05:26 AM
Bigwrenn's Avatar
Bigwrenn Bigwrenn is offline
 
Join Date: Mar 2004
Location: Florida, USA
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by anagarically
well... i am having problems getting it working... i have tried every fix that is on here.

i started out with coppermine in a sub-directory of my vbulletin... i got coppermine working just fine standalone... but... when i tried to integrate... no go...

i deleted the install.. and the database.. and started over... i installed in a fresh directory in my web-directory.. with a fresh database... install went perfect and standalone is good...

i configured the vbulletin30 file in bridge correctly... with all the information... including the cookiesprefix and all... i logged out of both.. cleared cookies.. logged into vbulletin... tried to go to coppermine... was not logged in... when i click on login... it goes to my forum... and that is still logged in... so... i don't know... any help would be appreciated.... thank you
To make the integration work you must install the coppermine gallery on the same database as your vBulletin. In other words install on the database that your vBulletin uses. Hope this helps.
Bigwrenn
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 02:04 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04470 seconds
  • Memory Usage 2,313KB
  • Queries Executed 27 (?)
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
  • (3)bbcode_code
  • (1)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
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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