vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   vBulletin 3.5 & Coppermine 1.3.5 integration? (https://vborg.vbsupport.ru/showthread.php?t=97190)

Tweak589 09-29-2005 11:46 PM

vBulletin 3.5 & Coppermine 1.3.5 integration?
 
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 03: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 06: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 10: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 12:48 AM

vB3.5 + CPG 1.3.4, working flawlessly on my forums. ;)

Tweak589 10-01-2005 01:36 AM

Quote:

Originally Posted by Neutral Singh
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 05: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:

Code:

// ------------------------------------------------------------------------- //
// 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', '

Code:

********'); // 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/c...tm#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 11:23 AM

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 08: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 02:08 AM

i think it should work with 1.3.5. Give it a try. and follow the steps very very carefully.

Quote:

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


All times are GMT. The time now is 05:18 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.01575 seconds
  • Memory Usage 1,754KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete