Jump to content
Sign in to follow this  
idk11

Wordpress Plugin Not Working Properly.

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.

Edited by dsonesuk

Share this post


Link to post
Share on other sites

Great! just looked at forum related to this plugin, and several people are getting the same error message, but someone has supplied a fix.but its not the best of solutions, so i will look into a better solution and get back.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

the titles have not been inserted according to the xml file?did you add title names when you uploaded them? using the carousel management .

Edited by dsonesuk

Share this post


Link to post
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>

Share this post


Link to post
Share on other sites

I know, and as you can see the titles are not there.when you select/upload the image file, you have the option to input the image title, and a link to a page, at the same. this is then added to this xml file.fladdimages.jpg

Share this post


Link to post
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

Edited by dsonesuk

Share this post


Link to post
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>

Edited by dsonesuk

Share this post


Link to post
Share on other sites

WHAT THE... Carousel.swf and default.xml are in resources, the codes are updated, and now there's just a blank space. Did I have to get rid of the original flshow plugin?

Share this post


Link to post
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

Edited by dsonesuk

Share this post


Link to post
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>

Edited by dsonesuk

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...