Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-22-2003, 11:20 PM
croft croft is offline
 
Join Date: Aug 2002
Location: Sweden
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Coppermine photo gallery integration

Is there anyone that have been working on this gallery for integration in vb ?
http://www.chezgreg.net/coppermine/

Well if there is can you please reply or if anyone is planning on doing it ?
Reply With Quote
  #2  
Old 06-24-2003, 11:46 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, it's really avery good free gallery,
but I think it would make more sence to integrate PhotoPost in a better way. Still,

A great idea, croft.
Reply With Quote
  #3  
Old 06-24-2003, 06:02 PM
fastlaneweb fastlaneweb is offline
 
Join Date: Oct 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to see this hack as well. I use coppermine photo gallery as a seperate install, but would like to find a way to intergrate it.

___________________
Bradley Green
http://www.laserforum.org
Reply With Quote
  #4  
Old 07-06-2003, 03:27 PM
Blackangel Blackangel is offline
 
Join Date: Oct 2001
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Download the dev version.

http://www.chezgreg.net/coppermine/m...download&cid=7

and read the readme.html
Reply With Quote
  #5  
Old 08-21-2003, 02:56 PM
ANT.menmusic ANT.menmusic is offline
 
Join Date: Feb 2003
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i was gonna purchase Photopost Pro, but let me see how the Coppermine dev works integrated into my forum first...i've already spent lots of money on vBulletin and the brand free license.
if that doesnt work, then maybe i can get the company to pay for it. we'll see.
thanks for the link, Blackangel!
-ant
Reply With Quote
  #6  
Old 08-22-2003, 12:57 AM
croft croft is offline
 
Join Date: Aug 2002
Location: Sweden
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The coppermine works exelent with vbulletin =)
But i updated to vb3 beta 5 and now its not.
Is there anyone that has gotten coppermine to work with vb3 yet ?
Reply With Quote
  #7  
Old 08-22-2003, 03:48 AM
ANT.menmusic ANT.menmusic is offline
 
Join Date: Feb 2003
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 09:57 PM croft said this in Post #6
The coppermine works exelent with vbulletin =)
...
i have 2 questions:
  1. Are people still able to view the pictures if they're not logged in? I didn't see this option when configuring the usergroups.
  2. my vBulletin images seem broken? do i have to install it in the same directory as vBulletin in order for that to work?

-ant.
Reply With Quote
  #8  
Old 08-22-2003, 10:20 AM
croft croft is offline
 
Join Date: Aug 2002
Location: Sweden
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No not the same directory.
it should be like this.
www.yourdomain.com/forum
www.yourdomain.com/gallery

That should do it.
be sure to check the cookie path and name.

You need the dev version of coppermine to get it to work with vbulletin.

Quote:
Integrating the script with your bulletin board
Coppermine can be integrated with the following bulletin boards (eg. Coppermine and your bulletin board will share the same user database)

phpBB 2
Invision Power Board
vBulletin
The login integration use your bulletin board cookies, therefore it won't work if your board cookies are not visible by Coppermine. So unless you are an expert, keep things simple and install Coppermine and your bulletin board on the same domain. Example :

Bulletin board:http://yourdomain.com/board/
Coppermine:http://yourdomain.com/gallery/
If you are using phpBB 2, go to the admin control panel and check that "Cookie domain" corresponds to your domain, "Cookie name" is "phpbb2mysql" and "Cookie path" is "/".

If you are using Invision Power Board, go to the "admin control panel / board settings / cookies" and check that all fields are blank. If they are not, you modified the default values and you are an expert.

If you are using vBulletin, go to the "admin control panel / vBulletin options / HTTP Headers and output" and check that the value for "Cookie Domain" corresponds to your domain and that "Path to save cookies" is "/"

It is also recommended that you use the same database for your board and Coppermine.

You will also need to perform the following operations after having unpacked the archive on your harddrive and before uploading the files to your webserver :

Edit the file include/init.inc.php. At the beginning of the file you will find the following lines :

// User database integration
// Uncomment the applicable line if you want to use it
// define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin');Un-comment the line that corresponds to the bulletin board you use (eg. remove the "//" that are at the beginning of the line)

define('UDB_INTEGRATION', 'phpbb');The go to the bridge directory and open the file that corresponds to the bulletin board you use (eg. phpbb.php).

At the beginning of the file there are a number a configuration values that need to be set. For phpBB they are the following :

// database configuration
define('PHPBB_DB_NAME','phpBB'); // The name of the database used by the board
define('PHPBB_BD_HOST','localhost'); // The name of the database server
define('PHPBB_DB_USERNAME','root'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD',''); // The password to use to connect to the database

// The web path to your phpBB directory
// In this example http://yoursite_name.com/phpBB2/
define('PHPBB_WEB_PATH','/phpBB2/');Modify them according to the configuration of your board and save the file.

Upload all files onto your webserver and run the install script. Note that the admin username and password you enter during the installation will be ignored by the script. To login as an admin, you will need to use the admin username and password of your board.

Once you have completed the installation, login using the admin account of your board. Go to the gallery, enter admin mode and click on the "Groups" button. This will synchronize Coppermine groups with those of your board. The permission you will see for each group will be completely messy, so take some time to set them properly.

Each time you add or delete a group in your board you will need to do the operation above in order to keep the synchronisation of the groups.

When you will try to login / logout or manage users from Coppermine, you will be redirected to the corresponding page of your bulletin board. Once the login or logout is performed you won't be redirected automatically to the gallery because your board does not have any function for that. It's up to you to add a link on your board to get you back to the gallery.
Reply With Quote
  #9  
Old 08-22-2003, 02:19 PM
croft croft is offline
 
Join Date: Aug 2002
Location: Sweden
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is a complete fix to use the same userdatabase for vbulletin 3 beta 5 and coppermine dev version.

Posted by Hawkin over at coppermine main forum.

Quote:
In vbulletin.inc.php:

$bbpassword = isset($HTTP_COOKIE_VARS['bbpassword']) ? $HTTP_COOKIE_VARS['bbpassword'] : '';

to:

// $bbpassword = isset($HTTP_COOKIE_VARS['bbpassword']) ? $HTTP_COOKIE_VARS['bbpassword'] : '';

(this for forcing coppermine to use sessionhash instead of the new md5 password)

Then change the sessionhas query abit:

" AND useragent='".addslashes($HTTP_USER_AGENT)."'";

to:

"";

(seems like the HTTP_USER_AGENT gets cut off here, so when I took that away, the query gave back a result.


I know this is far from a nice or good fix. But at least I got successfully recognized as the user logged allready logged in, in vbulletin 3.
Reply With Quote
  #10  
Old 08-24-2003, 08:34 PM
ANT.menmusic ANT.menmusic is offline
 
Join Date: Feb 2003
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well - everything is workin fine.... thanks croft for makiing me aware of the dev version.

my only concern is that when i close my board, i would like for visitors to get the same error reporting when they attempt to enter the photo gallery... gonna have to look into that if that's at all possible.

other than that, it's great!

-ant.
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 01:24 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.04468 seconds
  • Memory Usage 2,263KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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