Need help with phpnuke integration.. very confused

plasma

Joined: 2005-05-31
Posts: 9
Posted: Tue, 2005-05-31 14:40

Okay, i'm having a very difficult time integrating gallery2 into phpnuke 7.5. here are the details:

gallery2 is installed www.thedevastation.com/modules/gallery2 which works if you click that link.

here's the integration info:

<?
$g2embedparams = array (
'embedphpfile' => '/home/thedevas/public_html/modules/gallery2/',
'embedUri' => 'index.php?module=gallery2',
'relativeG2Path' => '/modules/gallery2/g2data/',
'loginRedirect' => 'modules.php?name=Your_Account',
'activeUserId' => '0',
);
$g2mainparams = array (
'showSidebar' => 'true',
);
$g2configurationdone = 'true'; ?>

Now when i click the gallery2 link from the integration module, i get a page not found. this is the link: http://www.thedevastation.com/modules.php?name=gallery2

the gallery itself works fine, but for the life of me i can't get the integration to work. I've read through all the posts (probably missing the answer) and i've tried a few things, but nothing seems to work.

Another thing i'm confused about... the integration files i downloaded from http://galleryupdates.jpmullan.com/#integrations, if i installed the gallery2 in my modules folder, does that integration module go in the same place? and if so, it over-writes the index.php file. so is that correct?

any help would be greatly appriciated.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-05-31 14:50

'relativeG2Path' => '/modules/gallery2/g2data/',
->
relativeG2Path' => 'modules/gallery2/',

'activeUserId' => '0', really? if id 0 is not admin, i'd set it to '' for guest users.

 
plasma

Joined: 2005-05-31
Posts: 9
Posted: Tue, 2005-05-31 16:27
valiant wrote:
'relativeG2Path' => '/modules/gallery2/g2data/',
->
relativeG2Path' => 'modules/gallery2/',

'activeUserId' => '0', really? if id 0 is not admin, i'd set it to '' for guest users.

i changed the top part to relativeG2Path' => 'modules/gallery2/',

i'm not really sure what you mean about 'activeUserId' => '0', really? if id 0 is not admin, i'd set it to '' for guest users

set it to " ?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-05-31 17:05

@activeUserId:
set it to '0' if you didn't touch it.

does it work?
if not, why not visit http://nukedgallery.net ? they can help you.

 
plasma

Joined: 2005-05-31
Posts: 9
Posted: Tue, 2005-05-31 17:39

it's set to "0", and it still doesn't work.. and yes, i've tried nukedgallery.net as well, but still no luck.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-05-31 18:48

plasma, i assume you've followed the README that ships with the integration, right?