Log in

View Full Version : vBulletin 3.5 & Coppermine 1.3.5 integration?


Tweak589
09-30-2005, 12:46 AM
Now that vBulletin 3.5 is officially out and final, I was hoping to see a successful integration of vBulletin and Coppermine together, with no cookie/login issues, shared user database, or what not.

Would someone please help with this feature, because I really need this to work correctly so I can complete my site.

Both vBulletin and Coppermine are my favorite pieces of software, and it would make me so happy to see these two work in unison.

Thoughts, ideas?

Thanks!

http://www.coppermine-gallery.net/

trancetopia
09-30-2005, 04:47 PM
I'd love to see this too. Not using coppermine yet but will be as soon as the integration is seemless.

Anyone?

Karri
09-30-2005, 07:57 PM
I asked them if anyone had attempted it. I made the mistake of asking if anyone had attempted to integrate both in the beta forum for 1.4. (the board is entitled TESTING/bugs. Seemed like it had to do with testing to me.) and I was summarily reamed back and forth for even daring to ask. Apparently I was asking for support (thought I was asking for a yes/no answer which I did so after searching the board first) and was told that if I didn't understand what no support meant then I should look else where. After I saw the same type of nasty responses to others with other non beta technical questions, I have moved on to another software. I used to really like the software too. Oh well.

Edited to add: I just want to make sure it is clear I am not trying to flame them, just my experiences with asking questions lately.

Tweak589
09-30-2005, 11:59 PM
Yeah the moderation over at the CPG forums really makes you feel unwelcome :( That is why I ask here... since this is a much better community for modding or anything related to vB for that matter :).

Are you saying you don't use Coppermine anymore? Or vBulletin?

Mind telling me what other gallery software integrates well with vBulletin? I am hoping I can get a hold of something that has the same general thumbnail layout, and easy browsing. Not to mention easy to skin :).

Otherwise, I would still like Coppermine to work alongside vBulletin. Please if anyone is willing to help, I would be very grateful... lots of people want to have this. :D

Neutral Singh
10-01-2005, 01:48 AM
vB3.5 + CPG 1.3.4, working flawlessly on my forums. ;)

Tweak589
10-01-2005, 02:36 AM
vB3.5 + CPG 1.3.4, working flawlessly on my forums. ;)

And of course, would you help me so I can do this too?

I registered as tester on your forum if you don't mind. To my amazement, it was working great :). You can delete the account if you wish.

Neutral Singh
10-01-2005, 06:21 AM
No Problem!! I would love to help you. :)

Before following any steps, i would reccommend you did the testing on a testing environment. DO NOT GO LIVE UNTIL YOU ARE SURE. Once you can see that integration is working you can go about implemeting it on live website. You have to keep it in mind that this integration works only if you have your setup like this -> http://www.yourdomain.com/gallery/ but if you have your website setup like http://gallery.yourdomain.com then i am afraid this integration will not be succesfull.

1. Download CPG ver 1.3.4 from their site at http://www.coppermine.sourceforge.net

2. Unpack and upload (FTP) all the files in the package to directory of your choice. eg. http://www.yourdomain.com/gallery/

3. Go to the bridge directory in CPG package and open the file that corresponds to the bulletin board you use (vbulletin30.inc.php) with a text editor. At the top of the file you will find something like the following:

// ------------------------------------------------------------------------- //
// vBulletin 3.0 Integration for Coppermine //
// ------------------------------------------------------------------------- //
// Modify the values below according to your Board installation //
// ------------------------------------------------------------------------- //
// database configuration

//NOTE : Your vBulletin license number is provided at the top of every php file in your vBulletin installation!
define('VB_CUST_NO', '********'); // Your vBulletin license number (NOT your customer number)
define('VB_DB_NAME', '********'); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_USERNAME', '********'); // The username to use to connect to the database
define('VB_DB_PASSWORD', '********'); // The password to use to connect to the database

// The web path to your vBulletin Board directory
// In this example http://yoursite_name.com/vbulletin3/
define('VB_WEB_PATH', '/youforum's path/');
// ------------------------------------------------------------------------- //
// 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
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', 'bb'); // Cookie Prefix, not supported by vBulletin 2

// Group definitions (default values used by the board)
define('VB_VALIDATING_GROUP', 3);
define('VB_GUEST_GROUP', 1);
define('VB_MEMBERS_GROUP', 2);
define('VB_ADMIN_GROUP', 6);



You have to fill in the information marked in red font yourself. After entering the requisite information. Save the file and reupload the file on your server in bridge directory.

4. Install the gallery using the same database you are using for your forums. In the installation process, it will automatically suggest a prefix to database tables, do not remove the prefix.

4. Now, the installation process is complete. But, there are 2-3 more steps required to be completed before it all done.!!

5. You can follow the next steps by going to -> http://coppermine-gallery.net/demo/cpg13x/docs/index.htm#integrating

6. And, hopefully you are done. ;) Drop me a PM in my forums, if you still face any trouble.

Enjoy !!

Best Regards
Aman

Talisman
10-01-2005, 12:23 PM
Aman,

If you don't mind my asking.... is it possible with Coppermine to display specifically selected photos from the gallery onto the home page? Or random images... the most viewed... the latest uploaded?

I could find no mention of this as a possibility browsing through Coppermine's site/faq. (I'm looking for an open source gallery application to use for a site that will not be using vBulletin.)

Thanks... ;)

Tweak589
10-01-2005, 09:56 PM
First I am going to try this with CPG 1.3.5, I am worried about security issues as usual, and the latest version of CPG fixes an important vulnerability. If it doesn't work, oh well, I'll have to use 1.3.4 then. :(

But I am about to do this right now. Last time I tried this with the old vB 3.0, it did not work (same steps you gave). But it looks like 3.5 has better integration abilities, that's good to hear.

Neutral Singh
10-02-2005, 03:08 AM
i think it should work with 1.3.5. Give it a try. and follow the steps very very carefully.

If you don't mind my asking.... is it possible with Coppermine to display specifically selected photos from the gallery onto the home page? Or random images... the most viewed... the latest uploaded?

well not on home page but yeah on gallery homepage its all there. plus you can use a hack here called Random Pictures Anywhere. :)

Tweak589
10-02-2005, 03:49 AM
i think it should work with 1.3.5. Give it a try. and follow the steps very very carefully.



well not on home page but yeah on gallery homepage its all there. plus you can use a hack here called Random Pictures Anywhere. :)

Have a link to that Random Pictures hack by any chance? :D

Aeolian
10-02-2005, 05:59 AM
https://vborg.vbsupport.ru/showpost.php?p=587605&postcount=155
the above trick wroks...
i applied to my vb 3.5 :)

Tweak589
10-02-2005, 06:16 AM
https://vborg.vbsupport.ru/showpost.php?p=587605&postcount=155
the above trick wroks...
i applied to my vb 3.5 :)

Hmm so I guess there was a solved thread on this..... hmmm. My searching skills are doomed!!! :)

Talisman
10-02-2005, 06:18 AM
Ok, thanks... but what I need is for a site that won't have vB installed.

Just want to pull out a few pics from whatever gallery I use (low budget, so no commercial package) ... to show something interesting on the home page.

hbalagh1
10-16-2005, 04:17 AM
thanks for the useful tips Neutral Singh while over on the coppermine site i also found a vb theme :) and i am now in the middle of messing w/ the css to make it look like the rest of my site...

Neutral Singh
10-16-2005, 01:05 PM
You are welcome. :)

Have a link to that Random Pictures hack by any chance? :D

Here it is --> https://vborg.vbsupport.ru/showthread.php?t=94433

pcoskat
10-16-2005, 02:48 PM
thanks for the useful tips Neutral Singh while over on the coppermine site i also found a vb theme :) and i am now in the middle of messing w/ the css to make it look like the rest of my site...

Do you like coppermine better than photo post?

hbalagh1
10-16-2005, 05:31 PM
Do you like coppermine better than photo post?


never used photopost i have only used vbgallery which i actually like alot..

harry1951
10-17-2005, 09:14 AM
Need some help...
I installed everything as discripted. Stand alone it works fine, but when I activate the line for intigration in init.inc the users are redirected to /forum/index.php. I lookedd at the coppermine-forum. Found there a lot of topics with te same problem, but no answers.....
Anyone who can hekp me???

Neutral Singh
10-17-2005, 10:32 AM
Can i have a link to your gallery?

harry1951
10-17-2005, 10:41 AM
Can i have a link to your gallery?

I have send you a PM with the links

harry1951
10-21-2005, 08:59 AM
bump

Till now I didn't get an answer from Neutral Singh. Is there somebody who can help me out????

DjTaz
10-21-2005, 06:49 PM
Thanks for that - seems to have worked ok :D

Neutral Singh
10-22-2005, 04:33 AM
Hi Harry, I checkedout the link you provided to the gallery but they returned a dead link. sorry.

harry1951
10-22-2005, 06:12 AM
Hi Harry, I checkedout the link you provided to the gallery but they returned a dead link. sorry.

Ok, there was a typemismatch in it. I sent you a new PM. Hope you will look at it.

Neutral Singh
10-22-2005, 09:26 AM
I am very poor in Dutch language. :( i am afraid you have got to be a little more elaborative and tell me what steps you have followed so far.

If you have followed all the steps and integrated, then, next step is to setup usergroup permissions so that i can upload a image. Please let me know where are you. Thanks

harry1951
10-22-2005, 09:37 AM
I am very poor in Dutch language. :( i am afraid you have got to be a little more elaborative and tell me what steps you have followed so far.

If you have followed all the steps and integrated, then, next step is to setup usergroup permissions so that i can upload a image. Please let me know where are you. Thanks

You can turn the board in English, it is available.

I did all the steps as discribed. Stand alone Coppermine works fine, but at the moment I activate this line in init.inc.php define('UDB_INTEGRATION', 'vbulletin30'); I can not login anymore..

Usergroups in vB or in Coppermine?

I switched Coppermine in english to for the moment :-)

GuaRRand
10-24-2005, 02:13 PM
We have integrated 1.35 into VB3.5 and it seems to work fine, but....and maybe this is a stupid question....HOW do you upload images????????????

I cant for the life of me find a simple UPLOAD button anywhere.
Can anyone simply point me into the right direction??

Thnx

mpadc
10-24-2005, 08:55 PM
try www.glcoti.com/gallery/upload.php

the upload text is missing on ur site for some reason!

Tweak589
10-26-2005, 12:44 AM
If you've just installed a fresh install of the gallery, you need to make sure uploads are enabled in the config, AND that you have galleries that allow upload.

Also, if you've done the integration, you need to goto the Usergroups section in Coppermine (admin menu) and configure each usergroup to designate upload access. Then it will show up.

Talisman
10-26-2005, 02:27 AM
You know.. I set up a coppermine install and it's a very nice gallery. But the support folks there have made noob-bashing into a refined art. It's very discouraging to see this happen any area, but doubly so from an open-source crowd.

I had a simple question about my setup, so I did a search for that topic in their support forum. After skimming through pages of unhelpful remarks -- which I feel could only make beginners feelt utterly unwelcome -- I came across another reply directing the person to search their forums before asking such basic (as in "stupid") questions. In that response, he said if you search for "such and such" in the support forum, you'll see it's been asked and answered exactly 19 times before. Hmm... okay.

This happened to be the same topic area of my question, so I did exactly that. And would you believe it? I found 19 other threads on this topic where they all referred the asker back to search out their own solution. Not a single time did anyone post anything at all that would answer the question asked. Not one thread.

All I can say is they really do provide a nice product when it comes to gallery applications. So... if anyone here puts in the effort to integrate coppermine with your vB board or you develop your own modifications to share over there... please be kind to the less experienced people trying to accomplish the same thing. They could really use the encouragement and it's this helpful spirit that sets our larger vB community apart from all those other bulletin board systems.

For anyone else who may feel put off by what you read in their forums, at least it's good to know theirs isn't the only open source gallery application available. I've chosen to do away with my coppermine install in favor of another called Gallery 2, which you can find HERE (http://gallery.menalto.com/) if you're looking for a comparable product that won't cost you anything. (Yes, it integrates with vB and you can design a site around it... you can also use one install to support multiple sites all from one database, if you need a gallery solution for multiple clients/webpages.)

:bunny:

GuaRRand
10-26-2005, 03:23 AM
Yeah got it now.
It was the usergroup thing.

Still...its damn userUNfriendly imho...

I might just go for vbgallery and vbadvanced instead...

Holidazed
10-31-2005, 02:32 PM
No Problem!! I would love to help you. :)

Before following any steps, i would reccommend you did the testing on a testing environment. DO NOT GO LIVE UNTIL YOU ARE SURE. Once you can see that integration is working you can go about implemeting it on live website. You have to keep it in mind that this integration works only if you have your setup like this -> http://www.yourdomain.com/gallery/ but if you have your website setup like http://gallery.yourdomain.com then i am afraid this integration will not be succesfull.

I followed your steps to the letter and also the steps on Coppermine. It seems to work, but when I log into my forums and then goto the gallery, it asks me to log in again. When I click the Gallery login, it takes me to the home page of the forums (but there I am already logged in).

Ideas?

COsborne
11-04-2005, 03:00 AM
in the bridge file there is an option labeled:
VB_CUST_NO

This is misleading as it is ACTUALLY supposed to be the license number. I'm not exactly a noob with programming and this took me like an hour to figure out not to mention the support on the coppermine forum is far from friendly.

Joshua5692
11-06-2005, 05:58 AM
I followed your steps to the letter and also the steps on Coppermine. It seems to work, but when I log into my forums and then goto the gallery, it asks me to log in again. When I click the Gallery login, it takes me to the home page of the forums (but there I am already logged in).

Ideas?

I have the exact same problem. login.php just redirects me to the forum. I have even created several test account users to make work, no go.

Talisman
11-06-2005, 06:44 AM
I followed your steps to the letter and also the steps on Coppermine. It seems to work, but when I log into my forums and then goto the gallery, it asks me to log in again. When I click the Gallery login, it takes me to the home page of the forums (but there I am already logged in).

Ideas?

There's no mention of this in the install instructions for the vB3 bridge, but you need to check what the cookie prefix is set to in vB, then use the same prefix for Coppermine to stop that login loop.

If you didn't specify anything different when you installed your board, the default vB prefix will be set as "bb." If you're not sure, you can find it in your vB forum /includes/config.php file at Line 81:

// Prefix that all vBulletin cookies will have
// Keep this short and only use numbers and letters, i.e. 1-9 and a-Z
$config['Misc']['cookieprefix'] = 'bb';

Just set the cookie prefix in Coppermine to the same as this, and that should solve the problem. ;)

hth...

G_Gekko
11-06-2005, 08:46 PM
I have set the cockie prefix to "bb" which is the prefix used by VB in the bridge file but i still get a loop.

EDIT: I just noted that i no longer can logout from the forum either or login to the admin panel. My status seems to be looked as it was when i installed coppermine.

AGIRABI
11-27-2005, 09:41 PM
I got this error when i try to install copernic.


Could not create a mySQL connection, please check the SQL values entered

MySQL error was : Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)



I edit the bridge.php correctly and uploaded all the files to ftp. :disappointed:

Can some help me please ? :)

dirtygermankid
12-18-2005, 07:06 AM
Sorry to bring back an old thread, but has anyone gotten the Windows XP Publish wizard to work using VB 3.x and Coppermine 1.3.5? I cant seem to get mine working.. i am logged into the forum and gallery in IE, and the XP Publishing Wizard tells me i am not logged in.

Thanks in advance!

quanvo81
01-05-2006, 10:09 PM
I have Vbulletin 3.5.3 + Coppermine 1.4.3 working great. Except login/logout , it will say " there's an errors while your log out, click here to log out" from Vbulletin message. Other than that, everything is great.
Just follow the instructions in the Coppermine documentation.

Snoop-It
01-05-2006, 10:33 PM
^ same here, but the login dont work when visting the gallery... it will just direct you to the index page of the forum :S and the log out is messed. dont look the part.. untill those 2 things are sorted then i can run the intergration on my site.. tricky work....

quanvo81
01-06-2006, 12:39 AM
^ same here, but the login dont work when visting the gallery... it will just direct you to the index page of the forum :S and the log out is messed. dont look the part.. untill those 2 things are sorted then i can run the intergration on my site.. tricky work....

Well, so use version 1.3.5 of Coppermin then. And follow this thread to solve your problem.

http://coppermine-gallery.net/forum/index.php?topic=23261.0

Version 1.3.5 is good too. You don't have to use the up-to-date version. Whichever stable and has support is always good.