Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: 1 2 [3]   Go Down

Author Topic: Problems once integrated with Invision Board  (Read 29014 times)

0 Members and 1 Guest are viewing this topic.

Buzz

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 13
    • Honda Club Greece
Re: (SOLVED)Problems once integrated with Invision Board
« Reply #40 on: August 10, 2004, 12:37:07 am »

Ok I got it working thanks to Nibbler PERFECT HELP SORRY FOR MY SCREAMING BUT THIS IS PERFECT ;D ;D ;D

By the way thank you coppermine TEAM This Is the best gallery on the net, anyone using other type of Gallerys for IPB STOP WAISTING YOUR TIME " THIS IS WHAT YOU NEED"
Logged

Zeitgeist

  • Coppermine regular visitor
  • **
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 71
Re: (SOLVED)Problems once integrated with Invision Board
« Reply #41 on: September 28, 2004, 08:25:08 pm »

You got it to redirect to the image gallery with Invision board? how?
Logged
I love GauGau!

dpdenterprises

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: (SOLVED)Problems once integrated with Invision Board
« Reply #42 on: October 24, 2004, 06:07:22 am »

First allow me to say how much I love this program. I have it installed on one site as a standalone and it's working prefect there. My problem is with another installation of it that I'm trying to integrate with IPB 1.3.1 Final. First, both IPB and Comppermine worked fine prior to my trying to integration. The problem at first was no one was able to login on Coppermine, kept getting the "server couldn't be found" error. After spending hours sereaching here and going through all the posts here over and over, I was able to get Coppermine to at least come up with a 404 error on the redirect.

Here is my setup for the bridge:

// database configuration
define('IB_DB_NAME', 'db111977606'); // The name of the database used by the board
define('IB_BD_HOST', 'db112.perfora.net'); // The name of the database server
define('IB_DB_USERNAME', 'dbo111977606'); // The username to use to connect to the database
define('IB_DB_PASSWORD', '********'); // The password to use to connect to the database

// The web path to your Invision Board directory
// In this example http://yoursite_name.com/ivboard/
define('IB_WEB_PATH', '../forum/');
// ------------------------------------------------------------------------- //
// You can keep the default values below if your installation is standard
// ------------------------------------------------------------------------- //

The database info is the same as for my IPB forum. Both IPB and Coppermine share the same database.

Here is the config for my init.inc.php file.


define('COPPERMINE_VERSION', '1.3.2');
// User database integration
// Uncomment the applicable line if you want to use it
// define('UDB_INTEGRATION', 'phpbb');
define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
// define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
// Start output buffering
ob_start();

Upon trying to log into Coppermine now I get a 404 error. The URL that it shows it's trying to redirect to is  http://www.boxerdogplanet.com/forums/index.php?&act=Login&CODE=00

What do I need to do to?

Thank you in advance!
Logged

Nibbler

  • Guest
Re: (SOLVED)Problems once integrated with Invision Board
« Reply #43 on: October 24, 2004, 06:17:03 am »

Posting a link to your gallery would help, plus a test account. I don't think it will like the path as '../forum'  - thats prolly the problem.
Logged

dpdenterprises

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: (SOLVED)Problems once integrated with Invision Board
« Reply #44 on: October 24, 2004, 05:12:44 pm »

Posting a link to your gallery would help, plus a test account. I don't think it will like the path as '../forum'  - thats prolly the problem.

Sorry, was tired and not thinking last night.   Here's the URL for my gallery:
www.boxerdogplanet.com/cpg132/

test account is:  coppermine
Password is:       test

My IPB board is at this URL: www.boxerdogplanet.com

Thanks for your assistance!
Logged

dpdenterprises

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: (SOLVED)Problems once integrated with Invision Board
« Reply #45 on: October 25, 2004, 04:03:46 am »

Ok, my orginial problem is sorta fixed. Once I added a link on my forum to the gallery it worked fine. But there still is a problem in that when a user is finished with the gallery there is no way to return to the forum. When they click on Log Out they get a 404 page can't be found error. And they must either type the forum address in thier browser or use thier favorite places to return to the forum.

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: (SOLVED)Problems once integrated with Invision Board
« Reply #46 on: October 25, 2004, 07:30:03 am »

In your bridge file, change
Code: [Select]
define('IB_WEB_PATH', '../forum/');to
Code: [Select]
define('IB_WEB_PATH', '');or
Code: [Select]
define('IB_WEB_PATH', '/');You have to understand the term "path"...

Joachim
Logged

dpdenterprises

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: (SOLVED)Problems once integrated with Invision Board
« Reply #47 on: October 26, 2004, 03:06:33 am »

In your bridge file, change
Code: [Select]
define('IB_WEB_PATH', '../forum/');to
Code: [Select]
define('IB_WEB_PATH', '');or
Code: [Select]
define('IB_WEB_PATH', '/');You have to understand the term "path"...

Joachim

Made these changes with no change in response, stiil gets a 404 error. :-[
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: (SOLVED)Problems once integrated with Invision Board
« Reply #48 on: October 26, 2004, 05:38:50 am »

are you by chance using the "coppermine goes invisionize" hack from the invisionize board, instead of the original coppermine files? Did you upload the changes in your bridge file? I'm getting redirected to http://www.boxerdogplanet.com/forums/index.php?&act=Login&CODE=00 - mind the folder "forums" - this bit of information doesn't fall out of the sky - it has to come from somewhere. Post the lines of your bridge files that you actually modified (the first 50 lines or so), replacing your db username and password with asterisks in your posting.

Joachim
Logged

dpdenterprises

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: (SOLVED)Problems once integrated with Invision Board
« Reply #49 on: October 26, 2004, 06:27:07 pm »

are you by chance using the "coppermine goes invisionize" hack from the invisionize board, instead of the original coppermine files? Did you upload the changes in your bridge file? I'm getting redirected to http://www.boxerdogplanet.com/forums/index.php?&act=Login&CODE=00 - mind the folder "forums" - this bit of information doesn't fall out of the sky - it has to come from somewhere. Post the lines of your bridge files that you actually modified (the first 50 lines or so), replacing your db username and password with asterisks in your posting.

Joachim

No I haven't installed the "coppermine goes invisionize" hack. I downloaded Coppermine from here at commpermine.sourceforge.net and used only the files included in the download. Below is part of my bridge file as requested. As a temp fix I have added a link in the menu for users to return to my forums.

Quote
// database configuration
define('IB_DB_NAME', 'db111977606'); // The name of the database used by the board
define('IB_BD_HOST', 'db112.perfora.net'); // The name of the database server
define('IB_DB_USERNAME', '*********'); // The username to use to connect to the database
define('IB_DB_PASSWORD', '********'); // The password to use to connect to the database

// The web path to your Invision Board directory
// In this example http://yoursite_name.com/ivboard/
define('IB_WEB_PATH', '/');
// ------------------------------------------------------------------------- //
// You can keep the default values below if your installation is standard
// ------------------------------------------------------------------------- //
// The prefix for the Invision Board cookies
define('IB_COOKIE_PREFIX', ''); // The prefix used for board cookies

// Prefix and names for the database tables
define('IB_TABLE_PREFIX', 'ibf_'); // The prefix used for the DB tables
define('IB_USER_TABLE', 'members'); // The members table
define('IB_SESSION_TABLE', 'sessions'); // The sessions table
define('IB_GROUP_TABLE', 'groups'); // The groups table

// Group definitions (default values used by the board)
define('IB_VALIDATING_GROUP', 1);
define('IB_GUEST_GROUP', 2);
define('IB_MEMBERS_GROUP', 3);
define('IB_ADMIN_GROUP', 4);
define('IB_BANNED_GROUP', 5);
// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //

[edit GauGau]
removed some unneeded lines of code to make this thread more readible.
[/edit]
« Last Edit: October 27, 2004, 07:27:10 am by GauGau »
Logged

dpdenterprises

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: (SOLVED)Problems once integrated with Invision Board
« Reply #50 on: October 26, 2004, 06:32:36 pm »

You got it to redirect to the image gallery with Invision board? how?

Well what I ended up doing was adding a link in my forums menu to the gallery. That takes my users to the gallery but they can't get directly back to the forums from the gallery.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: (SOLVED)Problems once integrated with Invision Board
« Reply #51 on: October 27, 2004, 07:28:57 am »

@dpdenterprises :
Code: [Select]
index<?php
I noticed you have the word "index" at the very start of your bridge file (that of course appears on your page as well). It doesn't belong there and has been put in accidentally I guess. I recommend you remove it, making the very first line of your bridge file look like this
Code: [Select]
<?php.

@zeitgeist: afaik IPB just doesn't feature redirection after login to external targets (at least I haven't heard of such a feature). This is only possible if the bbs you use is capable of doing so (most are not for security reasons). I suggest you use the workaround dpdenterprises mentioned and put a link into your bbs navigation that takes users "back" to your gallery.

Joachim
Logged

Darth Unrivaled

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
  • The Sith Master
    • XfireSystems Revolutions
Re: Problems once integrated with Invision Board
« Reply #52 on: February 24, 2005, 11:38:24 pm »

Hi, I've been having the same problems. Here is what's going on with mine.

I have IPB 1.3 final url http://forums.xfiresystems.com/ On its own works great

I have the latest version of Coppermine url http://media.xfiresystems.com

Now I have yet to find out how to make it work over subdomain names. If I run the things using the non subdomain url it works fine, everything but the members list which after spending some time here and looking threw the code I found that all you need to do to fix this is go to this:

Code: [Select]
// Edit users
function udb_edit_users()
{
    $target = 'admin.php';
    udb_redirect($target);
}

This is located in your invasion bridge file.

Change it to this:

Code: [Select]
// Edit users
function udb_edit_users()
{
    $target = 'index.php?act=Members';
    udb_redirect($target);
}

So in Coppermind when they click the members list it will go there and not your admin control panel.

From what I see from my problems, are only because I am using subdomains. As soon as I get that working I will let you know. However if there is anyone here who would like to point out to me how to do this across subdomains please do.

Thanks and I hope that help you guys having problems with the members list going to the Admin CP.
Logged

catbegemot

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
    • http://www.zealus.com
Re: Problems once integrated with Invision Board
« Reply #53 on: March 20, 2005, 08:32:32 am »

Hello, good people of Coppermine :)

I seem to be struggling with same problem everyone else in this thread has. So here's my situation - users get kicked out when logging into gallery through forum. In forum they're logged in okay, but when they go into gallery they are not.
Here's the info.
Forum: Invision Power Board 2.0.3 http://generationnx.com/forum
Coppermine gallery 1.3.2 http://generationnx.com/gallery
In case you need test account use login: coppermine, password: test


Bridge file:
Code: [Select]
/ database configuration
define('IB_DB_NAME', 'generati_bb131'); // The name of the database used by the board
define('IB_BD_HOST', 'localhost'); // The name of the database server
define('IB_DB_USERNAME', 'generati_user'); // The username to use to connect to the database
define('IB_DB_PASSWORD', '*********'); // The password to use to connect to the database

// The web path to your Invision Board directory
// In this example http://yoursite_name.com/ivboard/
define('IB_WEB_PATH', '/forum/');
// ------------------------------------------------------------------------- //
// You can keep the default values below if your installation is standard
// ------------------------------------------------------------------------- //
// The prefix for the Invision Board cookies
define('IB_COOKIE_PREFIX', ''); // The prefix used for board cookies

// Prefix and names for the database tables
define('IB_TABLE_PREFIX', 'bb131_'); // The prefix used for the DB tables
define('IB_USER_TABLE', 'members'); // The members table
define('IB_SESSION_TABLE', 'sessions'); // The sessions table
define('IB_GROUP_TABLE', 'groups'); // The groups table

Bridging enabled. Coppermine and IPB are in DIFFERENT databases. Except for query (legacy_password instead of password) no coppermine files have been changed.

What's my problem? What did I do wrong?


Added:

after logging in I get this "cute" URL in my browser: http://generationnx.com/forum/index.php?http://generationnx.com/gallery/index.php
« Last Edit: March 20, 2005, 08:39:42 am by catbegemot »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problems once integrated with Invision Board
« Reply #54 on: March 20, 2005, 11:45:42 am »

Coppermine and IPB are in DIFFERENT databases. [...]
What's my problem? What did I do wrong?
http://coppermine.sourceforge.net/manual.php#integrating_database_start

Joachim
Logged

catbegemot

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
    • http://www.zealus.com
Re: Problems once integrated with Invision Board
« Reply #55 on: March 20, 2005, 05:05:31 pm »

GauGau,

moved into same database as forum. Same problem, nothing had changed.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problems once integrated with Invision Board
« Reply #56 on: March 21, 2005, 07:19:10 am »

logging in does work, and the login is recognized by coppermine as well, the only thing that doesn't work is the redirection after the bbs' login page. I get a redirection notice (could as well be an error message though, not sure as it is in russian which I don't understand). This may be related to the redirection mechanisms of your bbs, not sure which version of ipb supports which format; of course the redirection to http://generationnx.com/forum/index.php?s=some_session_hash&http://www.generationnx.com/gallery/ won't do anything. Is there a switch in ipb's config about redirection?

Joachim
Logged

catbegemot

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
    • http://www.zealus.com
Re: Problems once integrated with Invision Board
« Reply #57 on: March 21, 2005, 02:28:33 pm »

There are two settings:
Quote
Type of auto-redirect
This is for quick no-page redirects. Choose the option best suited to your server's OS.

you can choose from *nix savvy, Windows savvy, HTML meta refresh.

Second:
Quote
Remove 'Thanks....' redirect pages?
If set to "yes", this will remove any "Thanks...." redirection pages used to provide feedback to the user on their last action and will simply redirect without showing this page.

is set to NO, so probably it was the redirection page is what you saw.

catbegemot

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
    • http://www.zealus.com
Re: Problems once integrated with Invision Board
« Reply #58 on: March 21, 2005, 08:55:16 pm »

Found a different hack that was developed on a base of bridge file from Coppermine 1.3.1, works like a charm (so far). Part of it requires alteration of IPB files (especially for redirection part). If you're interested I can translate whatever is there (the description and messages are in russian) and post here. AFAIK it is NOT a "coppermine goes invisionize" from IPB forums, although I am not 100% sure.
Pages: 1 2 [3]   Go Up
 

Page created in 0.036 seconds with 15 queries.