phpBB & slideshow

heyyo

Joined: 2003-08-27
Posts: 10
Posted: Mon, 2004-03-22 12:27

I have upgraded my gallery 1.3.4 integrated into phpBB 2.06 (code from snail) with the gallery cvs version. I know that it is recommended to do it from a fresh phpBB installation. But everything seems to work except the slideshow.

Outside phpBB, slideshow works correctly but inside phpBB i have a blank page instead of slideshow integrated into phBB.

My board URL :
http://acfa.dyndns.org/modules.php?op=modload&name=gallery&file=index

Thanks for any suggestion.

 
madenglishbloke

Joined: 2003-09-20
Posts: 22
Posted: Mon, 2004-03-22 22:01

ive done a clean install of gallery 1.4.3-cvs-b134 into phpBB 2.0.6, and so far, everything seems to be working fine - including the slideshow.
http://madcam.co.uk/modules.php?op=modload&name=gallery&file=index&sid=da0e2002d2ac868fcc3e5dcd37f3678e
this is just looking SO good - all i need now is to create a little camera icon...
sorry i cant help with your problem - but it DOES work, so maybe its a problem with your setup...

 
heyyo

Joined: 2003-08-27
Posts: 10
Posted: Tue, 2004-03-23 11:31

I tried to debug by myself my slideshow problem, and I don't understand one thing all the content of the html elements are inside a test :

<?php if (!$GALLERY_EMBEDDED_INSIDE) { ?>

And my gallery installation is embedded so I don't understand how the slideshow could display something. Is there any developper around to explain ?

 
TeMPeST

Joined: 2004-03-23
Posts: 2
Posted: Tue, 2004-03-23 22:23

can someone confirm how this works exactly?

i would like to allow users of my phpbb forum to post pics, but only a certain group within phpbb. is this possible?

 
madenglishbloke

Joined: 2003-09-20
Posts: 22
Posted: Sat, 2004-03-27 18:52

i would assume it is...
however, i havent tried, as my present install is to showcase my own pics - howeverr, im doing a site that will need this functionality - so im going to be testing that pretty soon...

 
heyyo

Joined: 2003-08-27
Posts: 10
Posted: Wed, 2004-03-31 17:09

If I disabled the gzip compression of phpBB, slideshow works perfectly :o

Here it is the code of gzip compression in includes/page_header.php

// 
// gzip_compression 
// 
$do_gzip_compress = FALSE; 
if($board_config['gzip_compress']) 
{ 
   $phpver = phpversion(); 

   if($phpver >= "4.0.4pl1") 
      { 
         if(extension_loaded("zlib")) 
      	{ 
			   if (headers_sent() != TRUE) 
      		{ 
         		$gz_possible = isset($HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"]) && eregi("gzip, deflate",$HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"]); 
         		if ($gz_possible) ob_start("ob_gzhandler"); 
      		} 
   		} 
      } 
	else if($phpver > "4.0") 
   { 
   	if(strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip')) 
      { 
      	if(extension_loaded("zlib")) 
         { 
         	$do_gzip_compress = TRUE; 
            ob_start(); 
            ob_implicit_flush(0); 
	         header("Content-Encoding: gzip"); 
   		} 
		} 
   } 
}