Got the thing working inside PHPNuke 6.0... but...

josephhand

Joined: 2003-01-01
Posts: 25
Posted: Wed, 2003-01-01 21:10

Got the thing working inside PHPNuke 6.0... but... Opening a photo from the block causes it to open without the PHPNuke context. It opens a web page for the gallery in a standalone mode.

I would like it to retain the PHPNuke wrapper you would get if you were just going to the Photo Gallery from the module's link.

I'm new to this stuff... please don't hurt me :smile:

feel free to look at it... http://www.thehandzone.com

jh

 
josephhand

Joined: 2003-01-01
Posts: 25
Posted: Wed, 2003-01-01 22:04

by the way...

To the authors of Gallery (and the Random Block)...

Awesome Product !!!

Keep up the good work!

jh

 
dmolavi
dmolavi's picture

Joined: 2002-12-05
Posts: 573
Posted: Fri, 2003-01-03 20:20

Go <!-- BBCode Start --><A HREF="http://www.prism.gatech.edu/~dm168/block-random.php.html" TARGET="_blank">here</A><!-- BBCode End --> for all the info you need.

 
josephhand

Joined: 2003-01-01
Posts: 25
Posted: Sat, 2003-01-04 02:43

I know you and the rest of the comunity will roast me for this... but I use Windows...

I am not getting it to work. My gallery is at:
c:inetpubwwwrootgallerymodulesgallery

My album directory is:
e:albums

The block has: "There isn't any content right now for this block"

I have tried every form of the path I can think of... nothing worked.

Please Help!

 
dmolavi
dmolavi's picture

Joined: 2002-12-05
Posts: 573
Posted: Sat, 2003-01-04 02:46

add some echo statements to make sure your path is being described correctly; I think that PHP handles the character in a funky way, and you may have to escape it out in your code for it to be properly interpreted.

 
downsix

Joined: 2003-01-05
Posts: 8
Posted: Wed, 2003-01-08 03:49

i installed your random image block, and everything looks great. but when i click on the picture or the album category link below, it takes me to nothingness..

any ideas?

http://www.ex1l3d.net/~chaotikk
-or
http://www.chaotikk.net

 
downsix

Joined: 2003-01-05
Posts: 8
Posted: Wed, 2003-01-08 09:08

AHA! i fixed it. :grin:

 
josephhand

Joined: 2003-01-01
Posts: 25
Posted: Thu, 2003-01-09 16:30

ok... I give up...

1) Does anyone have Random-Block working on Windows? (I am using IIS 5, Win2k Advanced Server with SP3, PHPNuke 6, and Gallery 1.3.3)
2) Does clicking on the block open the Gallery to that picture, within the framework of the PHPNuke site?

If your answer is yes to both of the above questions... please reply. I think the problem is in the paths to the galley I am listing in both block-random.php files...

PLEASE HELP ME!!!

jh :eek:

 
dmolavi
dmolavi's picture

Joined: 2002-12-05
Posts: 573
Posted: Thu, 2003-01-09 20:35

sorry i haven't gotten back to you lately (busy week at work, less time to play). i haven't been able to get the windows paths to properly escape out (I use PHP Builder as an IDE for PHP...it shows when strings are escaped, etc). It either has something to do with the in the pathname or the : in the pathname, but I can't figure a workaround. I'm sure that someone on http://www.experts-exchange.com (in the PHP section) can offer some help.

-dm

 
fourmat

Joined: 2002-08-25
Posts: 6
Posted: Tue, 2003-01-14 03:01

I'm also having the same problem. Had to switch from a Linux machine to a Win32. Worked fine under linux. Now it's fubard. Any help would be appreciated. Thanks.

PHPnuke 6.0
Apache 1.3.3
PHP4
Win2000
Gallery 1.3.3

FourMat

 
Krayz

Joined: 2003-01-16
Posts: 1
Posted: Thu, 2003-01-16 22:07

I finally got mine working Under Windows. My setup is this

Windows 2000 Server
PHP 4.4.0-dev
Apache 2.0
Gallery 1.3.3
PHP Nuke 6.0

I was having the same problem with it not showing any content. Then I read dmolavi post about the pathing or the : in the pathing (thx for the idea. :smile: Not sure if this will help the IIS users or not, but for Apache it dont care which way the or / is. I went into my path and changed it from C:Program Fileetcetcetc to /Program Files/etc/etc/etc/ and now all is just fine. :smile:

Thanks for the hint dmolavi and nice little block program too. :smile:

Only issue I'm dealing with now is that the Block is slightly larger than the rest of the blocks on either side of my site. Where do I need to fix this?
http://www.krayz.com/blacksheep/

 
dmolavi
dmolavi's picture

Joined: 2002-12-05
Posts: 573
Posted: Fri, 2003-01-17 18:36
Quote:
Only issue I'm dealing with now is that the Block is slightly larger than the rest of the blocks on either side of my site. Where do I need to fix this?

i noticed this the first time i had it up and running successfully. for me, it was an issue of the thumbnail size. i just resized them all (pain in the ass), but the issue seems resolved (www.yankeesinthesouth.org).

-DM

 
fourmat

Joined: 2002-08-25
Posts: 6
Posted: Sat, 2003-01-18 15:16

Ah, of course!

Great find. Everything is working for me now. Just glad I'm using Apache. This is a great forum. Thanks for the help!