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 4 5   Go Down

Author Topic: PHP-Fusion and Coppermine Photo Gallery integration  (Read 118477 times)

0 Members and 1 Guest are viewing this topic.

Dominator69

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #20 on: December 24, 2005, 06:58:22 pm »

         
Code: [Select]
// URL of your fusion
$this->boardurl = 'http://localhost/fusion';

// local path to your fusion config file
require_once('../fusion/config.php');

is there anything else to edit on that file or just this
Logged

Dominator69

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #21 on: December 24, 2005, 07:39:13 pm »

i turn on debug mode and i got this  Fatal error:
Code: [Select]
While executing query "SELECT u.user_id AS id, u.user_name AS username,
 u.user_password AS password, u.user_level AS group_id FROM ``.fusion_users AS u WHERE u.user_id='1'" on 0

mySQL error: Incorrect table name 'fusion_users'
Logged

Nibbler

  • Guest
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #22 on: December 24, 2005, 07:45:08 pm »

Looks like it didn't pickup your database name, try specifying it.

Code: [Select]
// Database connection settings
$this->db = array(
'name' => 'type_the_name_of_your_fusion_database_here',
'host' => $db_host,
'user' => $db_user,
'password' => $db_pass,
'prefix' =>$db_prefix
);
Logged

Dominator69

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #23 on: December 25, 2005, 09:07:01 am »

thanx a lot that worked  ;D
Logged

Dominator69

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #24 on: December 25, 2005, 12:16:17 pm »

i got new problem everything works fine but when i click on photo to enlarge popup window come out but not the photo that i click just the parts of my site "header and footer", what could be the problem
Code: [Select]
<script type="text/javascript" src="scripts.js"></script>
this is good in template.html.
« Last Edit: December 25, 2005, 09:15:28 pm by Dominator69 »
Logged

Surfer_D

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #25 on: February 22, 2006, 03:16:49 pm »

Hi nibbler,

Can you help me too. I've read this post 10 times already but still no success.

I've created the file test.inc.php with the content:
Code: [Select]
// URL of your fusion
$this->boardurl = '';

// local path to your fusion config file
require_once('config.php');

I then used the bridging wizard where I wrote the word "test" as a bridge. I finished the wizard, but after I finish and click on the users to see if the users are linked from Fusion I get an error message:
// URL of your fusion $this->boardurl = 'divjaki.com'; // local path to your fusion config file require_once('config.php');
Fatal error: Call to a member function on a non-object in /home/sce/public_html/divjaki.com/galerija/include/init.inc.php on line 265


Can you please help me!

Thanks
« Last Edit: February 22, 2006, 05:25:54 pm by Surfer_D »
Logged

Nibbler

  • Guest
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #26 on: February 22, 2006, 03:23:14 pm »

You don't create a file, you use the one I posted.
Logged

Surfer_D

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #27 on: February 22, 2006, 03:51:46 pm »

Just 4 words: YOU ARE THE BEST


THANKS

P.S: I have no idea how I mislooked your file
Logged

Nibbler

  • Guest
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #28 on: February 22, 2006, 03:52:34 pm »

What did you edit in the bridge file ?
Logged

Surfer_D

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #29 on: February 22, 2006, 03:57:41 pm »

$this->boardurl = ''  //I left blank

the ../config.php line stayed default

I just tested it and it works perfect!

Thanks
Logged

Surfer_D

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #30 on: February 22, 2006, 04:15:01 pm »

The only thing I found is that the web publishing is not working if the users are taken from the fusion. It asked me for a password even if I was logged in the gallery and then nothing happenes. If I disable bridging then it works.

Got any ideas mate?  ;D
« Last Edit: February 22, 2006, 05:25:38 pm by Surfer_D »
Logged

Surfer_D

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #31 on: February 27, 2006, 12:52:09 pm »

Hi Nibbler,

There seems to be some issues to the bridbe integration with fusion.

I can login with my fusion password, but I can't upload pictures, I have some script errors, can't make any comments to the pictures,... Do you have any similar feedback from other users? If not I could have specified wrong parameters in bridge file.

Thanks
Logged

Tommi

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #32 on: March 06, 2006, 06:22:48 pm »

hm! i have any problems to create the bridge file!!
can any where help me please??
Logged

pcboy123

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #33 on: March 08, 2006, 05:28:22 am »

did it all works except in Coppermine i get this

There was an error while processing a database query.

While executing query "SELECT COUNT(*) FROM `xmex_fusion`.fusion_users" on 0

mySQL error:

?? dont know what happend!!
Logged

Frasse

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #34 on: October 22, 2006, 05:24:22 pm »

I have been using PHP-Fusion and Coppermine for several years now and today I found the CPG-PHP-Fusion bridge. I really became glad since my users aren't computer specialists and by just having to login twice makes them very confused. Thats my real life problems...  ;)

I installed the bridge, but it gives some strange results. My groups seems to have been "reset" in some way. Can anyone explain how groups are handled when bridging CPG with PHP-Fusion? Is it not possible to activate the bridge in a site that has been active for a while?

Is it not possible to use groups other than predefined groups.
I also get an error message when trying to manage users in CPG when bridge is activated. Empty page with only text "No input file specified."

Has anyone faced the same problems as I do??

BTW, I use CPG 1.4.3 and PHP-Fusion 6.00.304.

Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #35 on: October 22, 2006, 06:23:01 pm »

- Upgrade ASAP to 1.4.9

disable bridge and re-install it with post-base group
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#bridge_manager_specific_start

and also here is a warning from documentation:
Warning: If you already have users and custom groups in your coppermine database when you enable bbs integration, be aware that they will be lost. If your coppermine users have already created private albums and uploaded pics to them, they will be lost as well!
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Frasse

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #36 on: October 22, 2006, 06:31:16 pm »

To bee more specific I need to continue my post above... Sorry for my dual replies...

In PHP-Fusion we have two sorts of "group" definitions:
1. user_level (Ther ar 4 different: Superadmin, Admin, Member and Guest)
2. user_groups (which are custom defined at each installation)

What I want to acheive is that only users that are
1) (Superadmin, Admin or Member) as defined by "user_level" and
2) defined as member inte the user_group "Club Members"

shall have the rights to create their own albums in CPG. This results in the effect that Users that are only "Member" will not have priviliges to create their own albums.

???
Logged

Master303

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #37 on: November 09, 2006, 10:46:55 pm »

Thanks alot for the bridge Nibbler :-)

I have a dilemma that i hope someone might have the answer to...
I'm trying to get cpg in the same window as fusion without having to open cpg in a new window, with no luck.

usually this code works, but where do i put it? or is there another way to solve it..?
<?php
require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";
?>

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #38 on: November 10, 2006, 07:51:39 am »

Coppermine can not be integrated into another page using PHP's include or require command.
Logged

Horizon

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: PHP-Fusion and Coppermine Photo Gallery integration
« Reply #39 on: December 17, 2006, 12:16:32 am »

alfter that it's able to post comments/upload foto's . How to fix it?
Logged
Pages: 1 [2] 3 4 5   Go Up
 

Page created in 0.028 seconds with 20 queries.