The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Coppermine 1.2.1 / vBulletin 3.0.0 Integration Details »» | |||||||||||||||||||||||||||
Coppermine 1.2.1 / vBulletin 3.0.0 Integration
Developer Last Online: Feb 2011
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
|
Comments |
#62
|
|||
|
|||
OK, i did some scouring and came up with the following fixes to some of our issues.
To solve the board confusion with having to refresh to stay logged in and out, go into forumdir/includes/config.php and change the cookie prefix to '' To get rid of the HTTP notices, follow the instructions in this link: http://coppermine.sourceforge.net/bo...22808#msg22808 if your users link in coppermine returns a 404, go into the vbulletin3.inc.php file and search for admincp, and replace it with what your admincp directory is renamed to. The remaining issues I am having are as follows, and i posted this int he vb3 gold integration thread as well: if a user sets the permissions on a user album to a specific group, it locks out admins, but admins can still view images from that group. if a user sets the permissions on a user album to a specific group, members that have that group as a secondary group cant view the album. when logged into coppermine as admin, the usermode link just says its taking you out of admin mode, and puts you right back into admin mode. |
#63
|
|||
|
|||
i've had a few issues as well, but was able to fix everything and it all works like a charm now... fully integrated.
the one thing that kept me puzzled for a while was the fact that in admin mode i could upload pics but in usermode i could not. seems i had not set the album properties to allow me to do so... once i did that, i was cooking. everything works great now. |
#64
|
|||
|
|||
Buddha, do you use any groups outside of hte traditional vBull groups, and are you using secondary groups at all?
How are your forums and gallery organized? www.website.com/forums and www.website.com/gallery? |
#65
|
|||
|
|||
THANKS
worked great for me on 3.0.1. i do have one question though can anyone tell me how i can intergrate this into a vb template so when they view the gallery it shows the navbar and footer for vb? |
#66
|
|||
|
|||
ohgeetee, i have like, 4 or 5 extra groups on my forum... i have a dummy tester account that i created and whenever i make changes, i use that account and test by changing the usergroups on that account... and i was able to do everything with that account as well as mine after i'd configured the usergroups in coppermine first.
as for where they are installed... subdomain.domain.com - forum (in a subdomain) subdomain.domain.com/gallery - coppermine (it's installed in a folder within the root of the forum install) will_lean... use the 'extra pages powered by vB hack'... link is in this thread. then in the main table where the content goes, insert an iFrame. worked perfect for me. |
#67
|
||||
|
||||
I just tried the integration and what happens is when I try to login it returns me to the forums home. Now when I login and click on gallery it doesn;t show the options for uploading for any users. I have CP and vB installed on the same database and when I check the tables of CP it doesn't show as if it has been integrated. What could be the problem?
Thanks, Bigwrenn |
#68
|
|||
|
|||
i dont think it will show you that its intergrated with coppermine because really coppermine is just using the vb db for authentication.
@buddha DOH "Iframe" LOL thats one thing i did not try!! :nervous: thanks. |
#69
|
||||
|
||||
What I meant by "integrated" is the user table. If the integration was succesful then when you look at the CP user table then you should see the vB user's. Basically what is happening is when I click on the gallery it goes to it and doesn't give me any admin options. I'm trying to figure out if it's a cookie problem(domain is set to .mysite.com and cookie path is /) or did I miss something that's been updated that I need to download.
-Bigwrenn |
#70
|
||||
|
||||
I'm not sure if this will fix any other issues, but for those with VB 3.0 and the included vbulletin30.inc.php running the 1.3 beta of Coppermine, I have figgered out the issue with not having the system recognize you as being logged in from the VB side of the house.
Basically it is a simple change in the naming of the cookie information that VB uses. Follow along with me: in the vbulletin30.inc.php find the following: Code:
// The web path to your vBulletin Board directory // In this example http://yoursite_name.com/vbulletin3/ define('VB_WEB_PATH', '/vbulletin3/'); Code:
// Enter your VB 3.0 Cookies prefix if applicable // This was defined in your Vbulletin config.php file when you installed VB // Double-check this to be sure you don't have one define('VB_COOKIE_PREFIX', ''); Code:
if (is_array($HTTP_COOKIE_VARS)) { $sessionhash = isset($HTTP_COOKIE_VARS['sessionhash']) ? $HTTP_COOKIE_VARS['sessionhash'] : ''; $bbuserid = isset($HTTP_COOKIE_VARS['bbuserid']) ? $HTTP_COOKIE_VARS['bbuserid'] : 0; $bbpassword = isset($HTTP_COOKIE_VARS['bbpassword']) ? $HTTP_COOKIE_VARS['bbpassword'] : ''; } Code:
if (is_array($HTTP_COOKIE_VARS)) { $sessionhash = isset($HTTP_COOKIE_VARS[VB_COOKIE_PREFIX . 'sessionhash']) ? $HTTP_COOKIE_VARS[VB_COOKIE_PREFIX . 'sessionhash'] : ''; $bbuserid = isset($HTTP_COOKIE_VARS[VB_COOKIE_PREFIX . 'userid']) ? $HTTP_COOKIE_VARS[VB_COOKIE_PREFIX . 'userid'] : 0; $bbpassword = isset($HTTP_COOKIE_VARS[VB_COOKIE_PREFIX . 'password']) ? $HTTP_COOKIE_VARS[VB_COOKIE_PREFIX . 'password'] : ''; } FYI: This is based on an installation of VB 3.0.1 and Coppermine 1.3.0 Beta 4 using the following directory structure and cookie structure: http://yourdomain.com/forum/ http://yourdomain.com/gallery/ VB cookiedomain: www.yourdomain.com VB cookiepath: / Gallery cookie name: *something other than what VB is using* Gallery cookiepath: / Hope that this helps. Enjoy! )O( Cloudrunner )O( |
#71
|
||||
|
||||
I greatly appreciate you helping me out. Just as I figured out what I was doing wrong, I came here and saw the post of yours. So it's fixed now and again, I thank you for your time!
-Bigwrenn |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|