Topic Title: phpnuke blocks not working

Forum Index » Gallery 2 Integration » phpnuke blocks not working
Topic URL: http://www.nukedgallery.net/postt1801.html

AuthorMessage
Post Title: phpnuke blocks not working
darrenb
Joined: Jun 23, 2005
Posts: 4

Posted: Sun Aug 07, 2005 7:10 pm
Hi

I have just installed the insightful release of G2 with nuke 7.6

I cannot get anything to show up on the nuke block, no matter what I do.

If I run G2 freestanding, I can administer it fine, but if I try to run siteadmin from within nuke, when I try to select the active blocks for G2 from the theme settings page, the three available block drop dwn lists are empty

I have all the paths in the integartion set ok and I can upload picures to the gallery from within Nuke, but there is something wierd with the blocks.


also within the nuke G2 block code, GalleryEmbed::handleRequest(); returns no Html for the blocks.

help!

thanks

Darren Breeze

AuthorMessage
Post Title: Re: phpnuke blocks not working
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Mon Aug 08, 2005 6:43 am
what theme? the integration settings are independant of the dropdown box choices. do you have the random image block and/or album select block modules installed and activated within gallery2?

AuthorMessage
Post Title: Re: phpnuke blocks not working
darrenb
Joined: Jun 23, 2005
Posts: 4

Posted: Mon Aug 08, 2005 9:17 am
I am building a custom theme based on "Classic" all I have done is changed the color scheme s far.

I do have both random image and album slect ativated.

thanks

AuthorMessage
Post Title: Re: phpnuke blocks not working
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Mon Aug 08, 2005 2:05 pm
can you switch back to the matrix theme and try to do it?

AuthorMessage
Post Title: Re: phpnuke blocks not working
darrenb
Joined: Jun 23, 2005
Posts: 4

Posted: Mon Aug 08, 2005 5:58 pm
I tried Maxtrix a still no movement.

in GalleryEmbed.class there is an optional parameter called

extractSidebarBlocks

if I set this as part of the init in the block code, still nothing hapens. This parameter seems not to be referenced anywhere else in the code base.

AuthorMessage
Post Title: Re: phpnuke blocks not working
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Tue Aug 09, 2005 6:15 am
are you sure you've got the latest integration package for phpnuke? when did you download the package?

AuthorMessage
Post Title: Re: phpnuke blocks not working
darrenb
Joined: Jun 23, 2005
Posts: 4

Posted: Thu Aug 11, 2005 7:31 am
It's OK

I've fixed it with a little hacking..

I got the integration package on this site..

thanks

AuthorMessage
Post Title: Re: phpnuke blocks not working
alan27
Joined: Jul 06, 2005
Posts: 10

Posted: Sun Aug 21, 2005 10:16 pm
Ive Successfully installed gallery2 have done all above and get following errors in admin panel latest intergration pk installed Very Happy But Shocked errrors in quote box below Sad

http://www.roadracingnewsandphotography ... 2/main.php Very Happy

Gallery shows here ok

Go here http://www.roadracingnewsandphotography.com click on gallery2 and it dosent Shocked

any help appreciated Rolling Eyes


Quote: ›
Failed to create G2 user with extId [2]. Here is the error message from G2:
Error (ERROR_COLLISION)
in modules/core/classes/GalleryUser.class at line 166 (gallerystatus::error)
in modules/core/classes/GalleryEmbed.class at line 301 (galleryuser::create)
in admin/index.php at line 320 (galleryembed::createuser)
in admin/index.php at line 575
in admin/index.php at line 609
in /home/alan27/public_html/admin/case/case.gallery2.php at line 55
in /home/alan27/public_html/admin.php at line 508

AuthorMessage
Post Title: Re: phpnuke blocks not working
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Mon Aug 22, 2005 6:32 am
did you export your phpnuke users?

AuthorMessage
Post Title: Re: phpnuke blocks not working
alan27
Joined: Jul 06, 2005
Posts: 10

Posted: Mon Aug 22, 2005 6:35 am
Ive Done all above Dari when i put all relative paths in and submit they dont seem to save i think ??? when i try to export nuke users i get that big error above

AuthorMessage
Post Title: Re: phpnuke blocks not working
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Mon Aug 22, 2005 6:37 am
ah, the problem is that since the user export didn't fail, the config file didn't write "true" to the g2configurationdone variable. you can manually edit the file and then try to view the gallery.

AuthorMessage
Post Title: Re: phpnuke blocks not working
alan27
Joined: Jul 06, 2005
Posts: 10

Posted: Mon Aug 22, 2005 6:42 am
Which folder ?? Dari Very Happy

AuthorMessage
Post Title: Re: phpnuke blocks not working
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Mon Aug 22, 2005 6:43 am
in your gallery2 directory, look for gallery2.cfg

change "$g2configurationdone" to "true"

AuthorMessage
Post Title: Re: phpnuke blocks not working
alan27
Joined: Jul 06, 2005
Posts: 10

Posted: Mon Aug 22, 2005 6:45 am
Right got folder cant open it up got dreamweaver ,mx, flash mx any ideas how to open ?? Shocked Very Happy

AuthorMessage
Post Title: Re: phpnuke blocks not working
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Mon Aug 22, 2005 6:48 am
notepad Smile
it's just a text file.

AuthorMessage
Post Title: Re: phpnuke blocks not working
alan27
Joined: Jul 06, 2005
Posts: 10

Posted: Mon Aug 22, 2005 6:50 am
Right got it set to true heres what i found

<?php
$g2embedparams = array (
'embedphpfile' => '/home/alan27/public_html/modules/gallery2/',
'embedUri' => 'modules.php?name=gallery2',
'relativeG2Path' => 'modules/gallery2/',
'loginRedirect' => 'modules.php?name=Your_Account',
'activeUserId' => '0',
'embedPath' => 'http://www.roadracingnewsandphotography.com/modules/gallery2/',
'cookiepath' => '/',
);
$g2mainparams = array (
'showSidebar' => NULL,
);
$g2configurationdone = 'false';
?>

AuthorMessage
Post Title: Re: phpnuke blocks not working
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Mon Aug 22, 2005 6:52 am
your embedpath is wrong. should just be /

AuthorMessage
Post Title: Re: phpnuke blocks not working
alan27
Joined: Jul 06, 2005
Posts: 10

Posted: Mon Aug 22, 2005 6:55 am
http://www.roadracingnewsandphotography ... e=gallery2 Very Happy

its working but still error transferring nuke users

AuthorMessage
Post Title: Re: phpnuke blocks not working
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Mon Aug 22, 2005 6:58 am
please read http://www.nukedgallery.net/postp10727.html#10727

user export is still in beta.

AuthorMessage
Post Title: Re: phpnuke blocks not working
alan27
Joined: Jul 06, 2005
Posts: 10

Posted: Mon Aug 22, 2005 7:00 am
Thanks Dari for your help Very Happy side bar working ok but Random image block still not Laughing

AuthorMessage
Post Title: Re: phpnuke blocks not working
alan27
Joined: Jul 06, 2005
Posts: 10

Posted: Mon Aug 22, 2005 10:09 am
Image Block working now Very Happy But themes dosent seem to change Shocked any ideas

AuthorMessage
Post Title: Re: phpnuke blocks not working
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Mon Aug 22, 2005 12:58 pm
can you post a link?
the gallery2 in integrated mode will use your phpnuke theme, btw.

All times are GMT - 5 Hours
Powered by PHPNuke and phpBB2 © 2006 phpBB Group