Viewing 7 replies - 16 through 22 (of 22 total)
  • hello ovidiu, sorry, for the late reply… it is not being stripped, this last div is for the alternative content, e.g. no flash player.
    However, I found the problem is that for some reason the display property for the script on your site is set to none.
    Replace the content of /showtime /showtime.class.php with this: (will be fixed in next release)

    <?php
    
    class wordpress_showtime_slideshow {
    	var $gid = 0;
    
    	function wp_gallery_st_shortcut($attr, $type) {
    		global $post;
    		global $wp_version;
    		global $stOptions;
    
    		$attributes = $attr;
    
    		if ( $type )
    			$slide = 1;
    		else
    			$slide = 0;
    
    		$height = get_option( 'st_height' );
    		$width = get_option( 'st_width' );
    		$transition = get_option( 'st_transition' );
    		$transitiontime = get_option( 'st_transitiontime' );
    		$transitionease = get_option( 'st_easeFunc' ).get_option( 'st_ease' );
    		$rotationtime = get_option( 'st_rotatetime' );
    
    		$showcontrols = get_option( 'st_showcontrols' );
    		$showtext = get_option( 'st_showtext' );
    		$autoplay = get_option( 'st_autoplay' );
    		$shuffle = get_option( 'st_shuffle' );
    		$scale = get_option( 'st_scalemode' );
    
    		extract(shortcode_atts(array(
    			'id'         		=> $post->ID,
    			'width'				=> $width,
    			'height'         	=> $height,
    			'rotationtime'		=> $rotationtime,
    			'transition'		=> $transition,
    			'transitiontime'	=> $transitiontime,
    			'transitionease'	=> $transitionease,
    			'autoplay'			=> $autoplay,
    			'showcontrols'		=> $showcontrols,
    			'showtext'			=> $showtext,
    			'shuffle'			=> $shuffle,
    			'scale'				=> $scale
    		), $attr));
    
    		$id = intval($id);
    
    		if ( function_exists( 'gallery_shortcode' ) ) {
    			$gallery = gallery_shortcode( $attributes );
    		}
    
    		$this->gid++;
    
    		if ( $slide )
    			$output = "
    			<div style='display:visible'>
    				<script type='text/javascript'>
    
    					var flashvars = {};
    					flashvars.xml = '" . plugins_url($path = $stOptions->_pluginSubfolderName . '/showtime/getxml.php') . "?id=$id';
    
    					flashvars.width = '$width';
    					flashvars.height = '$height';
    
    					flashvars.rotationtime = '$rotationtime';
    					flashvars.transitiontime = '$transitiontime';
    					flashvars.transition = '$transition';
    					flashvars.transitionease = '$transitionease';
    					flashvars.autoplay = '$autoplay';
    					flashvars.showcontrols = '$showcontrols';
    					flashvars.showtext = '$showtext';
    					flashvars.shuffle = '$shuffle';
    					flashvars.scale = '$scale';
    
    					var params = {};
    					params.allowFullScreen = 'true';
    					//params.wmode = 'transparent';
    
    					var attributes = {};
    					attributes.styleclass = 'showtime';
    
    					swfobject.embedSWF ('" . plugins_url($path = $stOptions->_pluginSubfolderName . '/showtime/showtime.swf') . "', 'st_" . $this->gid . "', '$width', '$height', '9.0.0', false, flashvars, params, attributes);
    				</script>
    
    				<!-- alternative content -->
    				<div id='st_" . $this->gid . "'>$gallery</div>
    
    			</div>
    			\n";
    		else
    			$output = "<div class='gallery' id='gallery_" . $this->gid . "'>
    							$gallery
    						</div>
    					\n";
    
    		return $output;
    	}
    
    	function checkOn( $string ) {
    
    		if ( $string == "on" || $string == "true" || $string == "yes" ) {
    			return "true";
    		} else {
    			return "false";
    		}
    
    	}
    
    	function addToHeader() {
    		global $stOptions;
    		wp_enqueue_script( 'swfobject', plugins_url($path = $stOptions->_pluginSubfolderName . '/showtime/swfobject/swfobject.js'), false, '2.2' );
    	}
    
    	function encode($x) {
    	    return base64_encode(rawurlencode($x));
    	}
    
    	function wp_gallery_st_own_shortcut($attr) {
    		return $this->wp_gallery_st_shortcut($attr, 1);
    	}
    
    }
    
    ?>
    Thread Starter Ovidiu

    (@ovidiu)

    hmmm,… just replaced that file with above code, don’t see any changes

    hmm, i was looking in the wrong place. just realized that the swfobject script does not get loaded in your header. Which version of WP are you using? did you try changing your Theme?

    Thread Starter Ovidiu

    (@ovidiu)

    its wpmu 2.8.4 and i just changed the theme.doesn’t change a thing πŸ™

    I love what this plugin has the potential to do, but I’m having an odd problem that I cant seem to figure out.

    The plugin is installed and images are displaying, but they are all very blurry and pixelated. The originals are just fine, at 1024 wide (have also tried lower and higher resolutions). The plugin quality setting is set for high.

    Any suggestions?

    The website (in its testing location) is located at:

    http://www.greencauldron.org/wordpress

    Thanks!

    Kam.

    Hello,
    I was using this plugin on WPMU without any problem until the update in 2.9.1.1

    Now as a superadmin we can activate the plugin for all the blogs, but blog’s admin can’t do it by themselves. The plugin link doesn’t appear in the plugin control panel ?

    Any idea ?

    PS : forgive my english i’m a poor little french guy lost on an english forum.. πŸ˜‰

    @kam.abbott –

    images are displaying, but they are all very blurry and pixelated.

    not sure if this helps but I had the same issue and corrected it by selecting setting “exact fit”..

    I’ve got a question. How do you set the first picture? Im keen for one photo to display first.. but cant seem to figure out how or where to specify which photo shows.. any ideas?

Viewing 7 replies - 16 through 22 (of 22 total)

The topic ‘[Plugin: ShowTime Slideshow] problems and questions’ is closed to new replies.