Jump to content

Wordpress Plugin Not Working Properly.


idk11

Recommended Posts

according to the instructions, you replace the ALL object code WITH <div style="height:200px"><?php flshow( N ); ?></div>Where 'N' is the ID number of a specific carousel shown at Manage > flShow page: this page must be a page with .php extensionFinding ID of carouseldefault.xml ? apparently it creates its own xml similar to flShow_carousel_446.xml (446 being the ID number of the carousel in the flshow manager interface). look for this file, and make sure it is in the resource directory, where the default.xml file is.

Link to comment
Share on other sites

OK, look for a file called flshow.php (might want to do a copy of this file before you proceed), at the bottom of page look for: <script type="text/javascript">jQuery(document).ready(function() { var flashVars = {xmlfile: '<?php echo $show->guid; ?>'};var objectVars = {bgcolor: '<?php echo $background; ?>', allowFullScreen: <?php echo $fullscreen; ?>, wmode: <?php echo $wmode; ?>'};swfobject.embedSWF( '<?php echo path_join( $fl_show->plugin_url, 'resources/flShowCarousel.swf' ); ?>', '<?php echo $flash_container_id ?>', "100%", "100%", "9", false, flashVars, objectVars);}); </script> NOW! change{ var flashVars = {xmlfile: '<?php echo $show->guid; ?>'};TO:{ var flashVars = {xmlfile: '<?php echo "http://".$_SERVER['HTTP_HOST']?>/wp-content/uploads/flShow_carousel_<?php echo $flshow_id.".xml";?>' };this will force it to look in your domain, at the uploads directory, with reference to correct id ref, where your xml file is placed.

Link to comment
Share on other sites

I went to the file and this is the code there:<?xml version="1.0" encoding="UTF-8"?><slide_show> <options> <debug>false</debug> <background>#FFFFFF</background> <friction>5</friction> <fullscreen>false</fullscreen> <margins> <top>-50</top> <left>0</left> <bottom>-50</bottom> <right>0</right> <horizontal_ratio>33%</horizontal_ratio> <vertical_ratio>50%</vertical_ratio> </margins> <interaction> <rotation>mouse</rotation> <view_point>mouse</view_point> <speed>90</speed> <default_speed>45</default_speed> <default_view_point>5</default_view_point> <reset_delay>10</reset_delay> </interaction> <far_photos> <size>65%</size> <amount>%</amount> </far_photos> <reflection> <amout>100</amout> <blur>2</blur> <distance>0</distance> <alpha>50%</alpha> </reflection> </options> <photo>http://thespartana.net/wp-content/uploads/2009/08/22.jpg</photo> <photo>http://thespartana.net/wp-content/uploads/2009/08/11.jpg</photo></slide_show>

Link to comment
Share on other sites

you know what! it would probably be better to download the transparent non plugin version and use that. because i got that to work without all this hassle. even the forum relating to this plugin, shows that there are problems with this plugin version, i mean people had the hack the file for it to find the xml file anyway.all you have to do is use the original object coding. create the default.xml, but use the the transparent version flash file instead, because this willl read the default.xml file, unlike the plugin version which uses jquery to read xml content.transparent carousel

Link to comment
Share on other sites

make sure Carousel.swf, and the default.xml are in wp-content/plugins/flshow/resources/ directory<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="908" height="190"> <param name="movie" value="wp-content/plugins/flshow/resources/Carousel.swf" /> <param name="wmode" value="transparent" /> <param name="flashvars" value="xmlfile=wp-content/plugins/flshow/resources/default.xml&loaderColor=#0000FF" /> <!--[if !IE]>--><object type="application/x-shockwave-flash" data="wp-content/plugins/flshow/resources/Carousel.swf" width="908" height="190"> <param name="wmode" value="transparent" /> <param name="flashvars" value="xmlfile=wp-content/plugins/flshow/resources/default.xml&loaderColor=#0000FF" /> <!--<![endif]--> <!--[if !IE]>--> </object> <!--<![endif]--></object>-----------------------------------------------------------------------------------------------default.xml file<?xml version="1.0" encoding="utf-8"?><!-- flShow Carousel 2.0 configuration file Please visit http://www.flshow.net/ for more info--><slide_show><options><background>transparent</background> <!-- #RRGGBB, transparent --><titles><style> font-size: 14px; font-family: Verdana, _serif; color: #003366; </style></titles></options><photo title="aaa">/wp-content/plugins/flshow/images/1.JPG</photo><photo title="bbb">/wp-content/plugins/flshow/images/2.JPG</photo><photo title="ccc">/wp-content/plugins/flshow/images/3.JPG</photo><photo title="ddd">/wp-content/plugins/flshow/images/4.JPG</photo><photo title="eee">/wp-content/plugins/flshow/images/5.JPG</photo><photo title="fff">/wp-content/plugins/flshow/images/6.JPG</photo><photo title="ggg">/wp-content/plugins/flshow/images/7.JPG</photo></slide_show>

Link to comment
Share on other sites

Forgot about you moving location: the below object code will work anywhere placed on http://thespartana.net/ domain:<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="fm_flShowCarousel_1401439464" class="flashmovie" width="908" height="190"> <param name="movie" value="http://thespartana.net/wp-content/plugins/flshow/resources/Carousel.swf" /> <param name="wmode" value="transparent" /> <param name="flashvars" value="http://thespartana.net/wp-content/plugins/flshow/resources/xmlfile=default.xml&loaderColor=#666666" /> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="http://thespartana.net/wp-content/plugins/flshow/resources/Carousel.swf" id="fm_flShowCarousel_1401439464" width="908" height="190"> <param name="wmode" value="transparent" /> <param name="flashvars" value="http://thespartana.net/wp-content/plugins/flshow/resources/xmlfile=default.xml&loaderColor=#666666" /> <!--<![endif]--> <!--[if !IE]>--> </object> <!--<![endif]--></object>you should have images and resources folders within the flshow folder/wp-content/plugins/flshow (parent)/wp-content/plugins/flshow/images/ where you should have below images/wp-content/plugins/flshow/resources/default.xml below is what you require to access image files from images directory<?xml version="1.0" encoding="utf-8"?><!--flShow Carousel 2.0 configuration filePlease visit http://www.flshow.net/ for more info--><slide_show><options><background>transparent</background> <!-- #RRGGBB, transparent --><titles><style>font-size: 14px; font-family: Verdana, _serif; color: #003366;</style></titles></options><photo title="aaa">../images/1.JPG</photo><photo title="bbb">../images/2.JPG</photo><photo title="ccc">../images/3.JPG</photo><photo title="ddd">../images/4.JPG</photo><photo title="eee">../images/5.JPG</photo><photo title="fff">../images/6.JPG</photo><photo title="ggg">../images/7.JPG</photo></slide_show> HOPE this will finally put this to rest

Link to comment
Share on other sites

if the above works try replacing the object coding with below: this will use javascript to show flash file, which is better. because some browsers require you to click within the flash body to load when using the object option. if flash disabled it will use the object option instead. Note: you need to include the javascript/object code within <div id="carousel1">......</div> for the javascript option to work.<div id="carousel1"><script type="text/javascript"> swfobject.embedSWF("http://thespartana.net/wp-content/plugins/flshow/resources/Carousel.swf",'>http://thespartana.net/wp-content/plugins/flshow/resources/Carousel.swf", "carousel1", "908", "190", "9.0.0", false, {xmlfile:"http://thespartana.net/wp-content/plugins/flshow/resources/default.xml", loaderColor:"0x666666"}, {wmode: "transparent"});</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="fm_flShowCarousel_1401439464" class="flashmovie" width="908" height="190"> <param name="movie" value="http://thespartana.net/wp-content/plugins/flshow/resources/Carousel.swf" /> <param name="wmode" value="transparent" /> <param name="flashvars" value="http://thespartana.net/wp-content/plugins/flshow/resources/xmlfile=default.xml&loaderColor=#666666" /> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="http://thespartana.net/wp-content/plugins/flshow/resources/Carousel.swf" id="fm_flShowCarousel_1401439464" width="908" height="190"> <param name="wmode" value="transparent" /> <param name="flashvars" value="http://thespartana.net/wp-content/plugins/flshow/resources/xmlfile=default.xml&loaderColor=#666666" /> <!--<![endif]--> <!--[if !IE]>--> </object> <!--<![endif]--></object></noscript></div>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...