[SOLVED] Problem with Embedded Gallery in phpBB

coberg

Joined: 2005-12-13
Posts: 13
Posted: Thu, 2006-02-02 21:02

Forgive me for posting this here, the correct forum doesn't seem to get much visibility, given that the last few topics have gotten no replies, and the last one that did was a week ago.

I'm having problems with a Random Block displaying correctly as described here: http://gallery.menalto.com/node/43843

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2006-02-02 21:37

Hello,

No Problem.

You can load the block-random.php directly, no need to load it through the wrapper.

Jens
--
Last Gallery v1 developer and translation manager.

 
coberg

Joined: 2005-12-13
Posts: 13
Posted: Thu, 2006-02-02 21:55

Thanks for the quick reply Jens!

I tried to load it directly, but then when someone clicks on the image, the photo comes up *outside* the wrapper, which I don't want. Make sense?

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2006-02-02 22:06

Ah,

makes sense.

I will investigate...

Jens
--
Last Gallery v1 developer and translation manager.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2006-02-02 22:09

Tested...

works fine in my Galler 1.5.2.

See http://jems.de/phpBB2/modules.php?op=modload&name=gallery&file=index&include=block-random.php

Jens
--
Last Gallery v1 developer and translation manager.

 
coberg

Joined: 2005-12-13
Posts: 13
Posted: Thu, 2006-02-02 22:23

Hmmm, now you're just showing off! :) This works for me too (calling the block-random.php file outside the page - http://flagsonthe48.org/forums/modules.php?op=modload&name=gallery&file=index&include=block-random.php) but when it's included in the page ( http://flagsonthe48.org/testindex.php ) I get errors. The include I use is:

Quote:
<?php include_once ("http://flagsonthe48.org/forums/modules.php?op=modload&name=gallery&file=index&include=block-random.php"); ?>

Any other thoughts?

 
coberg

Joined: 2005-12-13
Posts: 13
Posted: Mon, 2006-02-06 18:47

Bump

 
coberg

Joined: 2005-12-13
Posts: 13
Posted: Sun, 2006-02-12 21:19

Solution posted in original topic, linked in the first post of this thread.