Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

NSN-Nuke Testers Needed
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 1 Integration View previous topicPrinter friendly versionView next topic
Author Message
tritting

Beginner
Beginner


Joined: Sep 29, 2003
Posts: 2

PostPosted: Thu Apr 01, 2004 7:57 pm    Post subject: Re: NSN-Nuke Testers Needed Reply with quote

UPDATE: 03/31/2004
I managed to partially fix it, but not knowing that much about PHP, I have no clue what the issue is! Sad

Configuration is the same as listed below, I'm using current.gallery= v1.4.4-cvs-b5.

Grab a copy of 1.4.2, and replace the default header and footer in html_wrap from that version. That's the partial part. Stays in NSN-NUKE now but there is (still? go me, so I dunno Wink..I made the mistake of creating a user and admin with same username, so didnt' notice. duh..Tomorrow when I get a sec, I'll restore the previous files (from 1.4.4) and create another user for basis of comparision) an issue with permissions. I can change permissions with regards to built in (NOBODY/LOGGEDIN/EVERYBODY), but a script error has appeared now as a result of overwriting those files, so gallery is not getting the user info by the looks of it:

"Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /xxxxx/xxxxx/xxxxx/xxxxx/modules/gallery/classes/database/mysql/Database.php on line 37"

And no users are appearing. (I added the xx's for this post, but path is correct)

Anyway, I gotta crash, but I'll hava look again tomorrow.
-----------------------------------------
UPDATE: 04/01/2004

Hokee, I'm now "embedded" with the addition of the line:
case 'nsnnuke':
in the wrapper.header.default file. This is now the one that's included in v1.4.4-cvs-b7 which is what I'm testing with now. There is a still a permission problem with the "permissions" link. The main gallery interface recognizes the logged in user, but the permissions popup is still experiencing the issue as outlined in the other update above. This is now a brand new, fresh install of NSN-Nuke 1.0.0 and Gallery v1.4.4-cvs-b7

Permissions error continues on the following configuration:

Gallery version: 1.4.3 RC1 & current.gallery.tar.gz
Apache version: 1.3.24
PHP version: 4.2.1
Graphics Toolkit: NetPBM
Operating system: OpenBSD 3.1

ttyl8r..

-----------------------------------------
Gallery version: 1.4.3 RC1 & current.gallery.tar.gz
Apache version: 2.0.48 (Fedora)
PHP version: 4.3.3
Graphics Toolkit: ImageMagick
Operating system: Linux Fedora Core 1
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Re: NSN-Nuke Testers Needed  

Back to top
robo

Beginner
Beginner


Joined: Apr 05, 2004
Posts: 2

PostPosted: Mon Apr 05, 2004 9:08 am    Post subject: Re: NSN-Nuke Testers Needed Reply with quote

Installed on NSNgold last night and had the same "embedded" problem as tritting.
Added the 'case nsnuke': to wrapper.header.default and now it is embedded. BUT, the NSNnuke footer is missing on the gallery page. Any ideas?

Thanks
Back to top
Offline View user's profile Send private message
yrret

Beginner
Beginner


Joined: Apr 19, 2003
Posts: 3

PostPosted: Thu May 06, 2004 11:18 am    Post subject: Re: NSN-Nuke Testers Needed Reply with quote

K, I have installed OSM (the newnamed NSN), and the latest gallery. It seems the latest release has the support for NSN Nuke?
http://minspiration.com/modules.php?name=gallery

I get the following error....
Code: ›
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/minspir/public_html/modules/gallery/classes/database/mysql/Database.php on line 37

I thought the mysql_fetch_row was not going to be used with OSM etc? I will look at the code later, but wanted to share my first run at it.[/code]
Back to top
Offline View user's profile Send private message
olivierm

Beginner
Beginner


Joined: May 23, 2004
Posts: 4

PostPosted: Sun May 23, 2004 4:17 am    Post subject: Similar problems with CPGnuke Reply with quote

I have the same problem in CPGnuke. If you know a solution, please let me know

tritting wrote: › I'm using NSN-Nuke 1.0.0. Installation and configuration went without a hitch (other than the already documented NetPBM issue). A menu link was created when I activated the module as per expectation. Clicking on the menu link however, causes gallery to be displayed outside of nuke. I tried switching to PHP-Nuke (Embed option in config), same result.



-----------------------------------------
Gallery version: 1.4.3 RC1 & current.gallery.tar.gz
Apache version: 2.0.48 (Fedora)
PHP version: 4.3.3
Graphics Toolkit: ImageMagick
Operating system: Linux Fedora Core 1
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Sun May 23, 2004 7:43 am    Post subject: Re: NSN-Nuke Testers Needed Reply with quote

i haven't looked at CPG Nuke, though i don't know why it would operate differently from PHPNuke, as it uses it as it's core...

as for OSM/NSNNuke, the DB structure might have been changed. i'll have to take a look at it.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Klinduni

Beginner
Beginner


Joined: Oct 29, 2003
Posts: 17

PostPosted: Tue Aug 10, 2004 9:27 pm    Post subject: Re: NSN-Nuke Testers Needed Reply with quote

I would like to see if I can get the Menalto Gallery working in CPG-Nuke.

Right now I have both applications working properly, however when I call gallery via the index.html?name=gallery link it opens the application as if it was standalone vs. being wrapped in CPG-Nuke. (Not new window, just not "integrated".)

The Menalto Gallery has a configuration option to tell it if it is being embedded into PhpNuke, PostNuke, and other apps (no CPG-Nuke option yet). It doesn't seem to matter whether it is set to phpNuke or standalone, as either way it does not include the CPG-Nuke wrap.

I did search both the Menalto forums and the CPG-Nuke forums to no avail. My search here led me to this post, thus my reply.

Any suggestions on a path to start to figure out why it does that? I don't mind digging, I just really have no clue where to start.

Thanks!
Kristin
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Wed Aug 11, 2004 6:48 am    Post subject: Re: NSN-Nuke Testers Needed Reply with quote

yes, this is something that you'd need to tweak in index<dot>php from gallery:
PHP: › <?php $op = isset($_REQUEST['op']) ? $_REQUEST['op'] : null;
$mop = isset($_REQUEST['mop']) ? $_REQUEST['mop'] : null;
$name = isset($_REQUEST['name']) ? $_REQUEST['name'] : null;
$include = isset($_REQUEST['include']) ? $_REQUEST['include'] : null;


/* Detect PHP-Nuke, Postnuke, phpBB2 or Mambo and react accordingly.
 * Gallery can run embedded in GeekLog too, but to catch this we need
 * config.php * Therefore we have to detect GeeLog in init.php.
 */
if (!strcmp($op"modload") || !strcmp($mop"modload") || isset($option) || isset($name)) { ?>


you'd have to add a comparison operator in that "if" clause, as well as a case for cpgnuke in the switch statement.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
c4actbe

Beginner
Beginner


Joined: May 31, 2004
Posts: 4

PostPosted: Wed Aug 11, 2004 11:47 pm    Post subject: Re: NSN-Nuke Testers Needed Reply with quote

Well, i did that and got the follwing error:
Fatal error: Call to a member function on a non-object in /home/ACCOUNT/public_html/XXXXX/modules/gallery/init.php on line 493;
this line is:
Code: › $gallery->user = $gallery->userDB->getEverybody();


Now i am lost ( pls don not think i knew what i was doing before)

BTW scrolling block works beautifully on CPG nuke , right 'out of the box' Wink
Thanks!




dari wrote: › yes, this is something that you'd need to tweak in index<dot>php from gallery:
PHP: › <?php $op = isset($_REQUEST['op']) ? $_REQUEST['op'] : null;
$mop = isset($_REQUEST['mop']) ? $_REQUEST['mop'] : null;
$name = isset($_REQUEST['name']) ? $_REQUEST['name'] : null;
$include = isset($_REQUEST['include']) ? $_REQUEST['include'] : null;


/* Detect PHP-Nuke, Postnuke, phpBB2 or Mambo and react accordingly.
 * Gallery can run embedded in GeekLog too, but to catch this we need
 * config.php * Therefore we have to detect GeeLog in init.php.
 */
if (!strcmp($op"modload") || !strcmp($mop"modload") || isset($option) || isset($name)) { ?>


you'd have to add a comparison operator in that "if" clause, as well as a case for cpgnuke in the switch statement.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Thu Aug 12, 2004 7:07 am    Post subject: Re: NSN-Nuke Testers Needed Reply with quote

shizzle...i forgot..the userDB portions also have to be upgraded...
look in gallery/classes/nsnnuke/ for the files. make sure that the database tables, etc are correct.
also, you might want to change the case statement that you added to read 'nsnnuke' instead of 'cpgnuke'...that way you don't have to tweak a lot of additional code.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Klinduni

Beginner
Beginner


Joined: Oct 29, 2003
Posts: 17

PostPosted: Sat Aug 14, 2004 2:49 pm    Post subject: Re: NSN-Nuke Testers Needed Reply with quote

Here is what I did to make Gallery v1.4.4 run in CPG-Nuke v8.2b:

Open Gallery's index.html (in modules/gallery folder)

FIND
Code: › if (!strcmp($op, "modload") || !strcmp($mop, "modload") || isset($option)) {

REPLACE
Code: › if (!strcmp($op, "modload") || !strcmp($mop, "modload") || isset($option) || isset($name)) {


Open adminbox.inc

FIND
Code: ›     <td class="admin" align="left" valign="middle" width="4000" height="18">&nbsp;<?php echo $adminbox["text"] ?></td>
    <td class="admin" align="right" valign="middle" width="3000" height="18">&nbsp;<?php echo $adminbox["commands"] ?>&nbsp;</td>

REPLACE WITH:
Code: ›     <td class="admin" align="left" valign="middle" width="50%" height="18">&nbsp;<?php echo $adminbox["text"] ?></td>
    <td class="admin" align="right" valign="middle" width="50%" height="18">&nbsp;<?php echo $adminbox["commands"] ?>&nbsp;</td>

Notice the change was only to the width of both cells, otherwise Gallery will push the entire site too wide.


After making the changes above, I tried setting Gallery in phpNuke, nsnNuke, and Standalone mode. All modes work in the CPG-Nuke wrap.

I have NOT done extensive testing (member uploading, other userid's, permissions), however I have been logged in with a CPG-Nuke admin account and was able to create folders, upload pictures, add comments.

The only problem I notice right offhand is that I have an echo " \n"; at the top of my index.html?name=gallery page. As soon as I find what is writing that, I'll post here.

If anyone wants to see Gallery working in CPG-Nuke, here is what it looks like on my site [induni.com].


By the way... sorry to hijack this thread! Feel free to split it Dari and again, thanks for the help.

Kris
_________________
Kristin
Back to top
Offline View user's profile Send private message
Klinduni

Beginner
Beginner


Joined: Oct 29, 2003
Posts: 17

PostPosted: Sun Aug 15, 2004 2:21 pm    Post subject: Re: NSN-Nuke Testers Needed Reply with quote

UPDATE:

To remove the echo " \n"; that is printed at the top of Gallery pages within CPG-Nuke:

Open wrapper.header.default in the modules/gallery/html_wrap folder.

FIND:
Code: ›                $header .= 'echo "' . $links . '\n";' . "\n";

and comment it out...
Code: › //               $header .= 'echo "' . $links . '\n";' . "\n";

OR... You can take out the code that writes echo " and "\; instead of commenting out the entire line. Either way works.
_________________
Kristin
Back to top
Offline View user's profile Send private message
sharkey

Beginner
Beginner


Joined: Aug 16, 2004
Posts: 6

PostPosted: Mon Aug 16, 2004 6:08 am    Post subject: Re: NSN-Nuke Testers Needed Reply with quote

Klinduni

I can't get this work, I can only upload as Admin and only with the form.

I can't use the applet or XP publish. In fact I have two issues with XP publish, it does not work with my modules .htaccess off (fails on password) and with .htaccess on I get denied of course.

What do I need to do to get everything to work smoothly and allow users to upload?

I can't log into configuration either with, same issue with xp publish on password or denied depending on .htaccess.

Can you help, thanks.
Back to top
Offline View user's profile Send private message Visit poster's website
sharkey

Beginner
Beginner


Joined: Aug 16, 2004
Posts: 6

PostPosted: Mon Aug 16, 2004 7:54 am    Post subject: Re: NSN-Nuke Testers Needed Reply with quote

Ok I was running RC and just changed it to 1.4.4
now I get
Parse error: parse error, unexpected '/' in /home/*****/public_html/modules/Media_Gallery/layout/adminbox.inc on line 32 which is

<td class="admin" align="left" valign="middle" width="50%" height="18">&nbsp;<?php echo $adminbox["text"] </td>

I even tried changing it back to the original and I get same error, doesn't seem to like </td>, any ideas?
Back to top
Offline View user's profile Send private message Visit poster's website
sharkey

Beginner
Beginner


Joined: Aug 16, 2004
Posts: 6

PostPosted: Mon Aug 16, 2004 7:56 am    Post subject: Re: NSN-Nuke Testers Needed Reply with quote

Nevermind, the code on cpgnuke seems to have been slightly different from here or I just had one of those moments
Back to top
Offline View user's profile Send private message Visit poster's website
sharkey

Beginner
Beginner


Joined: Aug 16, 2004
Posts: 6

PostPosted: Mon Aug 16, 2004 8:27 am    Post subject: Re: NSN-Nuke Testers Needed Reply with quote

For configuration and xp publish I can log in as gallery admin but not nuke admin.

Anyone have an idea of how to fix this so members can upload photos, create albums, and use XP publish?

Thanks for the help.
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 1 Integration View previous topicPrinter friendly versionView next topic
Goto page Previous  1, 2, 3  Next

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

6th year online! 2003-2009
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia