sumolari
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Carousel] Can't edit customized contentIs this problem solved or you need help?
Please, mark this topic as solved if it is.
Forum: Plugins
In reply to: [WP Carousel] Any way to add Support for Custom Post Types?Ok, I think I have the solution for this bug.
This is the situation: when you save WP Carousel standard options, it’s created a variable called $new_config in update_db.php. Later, update_db.php checks if that variable is set. If it is set, WP Carousel assumes that you have sent the standard options form, so it tries to update your Database with the content of that variable, but that variable does not have the correct kind of content, because it has not been processed the same way that it had been processed if you had sent the standard content form. In short, that variable should be unset when you send themes options form. That is the bug.
To fix it, simply open file update_db.php.
Go to line 172, you’ll see:
unset($config); // Eliminamos contenido innecesario
Replace it with:
unset($config); // Eliminamos contenido innecesario unset($new_config);
Fixed!
I think this should fix the bug.
Thanks for reporting!
Forum: Plugins
In reply to: [WP Carousel] Any way to add Support for Custom Post Types?Thank you for the information! That bug will be fixed in next release.
Forum: Plugins
In reply to: [WP Carousel] Any way to add Support for Custom Post Types?Don’t panic ?? .
These are the steps to add any kind of Custom Post Types in the carousel:
- Make a backup of your WP Carousel content (copy the Export Code and save it in a file)
- Update to WP Carousel 1.0 Beta 2 (download)
- Drag a “Custom Post Type” item to the carousel
- Write the ID of the post you want to show
To add a custom taxonomy, it’s the same, but you have to set up the taxonomy you want to the the term from (you’ll see a dropdown list to select it).
It’s very easy, but you have to update to WP Carousel 1.0 Beta 2. WP Carousel 1.0 introduces a new version of the Extras API that allows Extras to be easier and more useful, so without that version, those Extras won’t work. And Beta 2 introduces the Custom Post Type Extra, so that is the version you have to use.
Forum: Plugins
In reply to: [WP Carousel] Any way to add Support for Custom Post Types?I’ve added this feature as an Extra in WP Carousel 1.0. You can use it now by updating to WP Carousel 1.0 Beta 2.
I’m not sure about that, but I’ve checked your source code, and it seems correct.
Have you tried with other theme? Just for discard a plugin incompatibility.
Try with WP Carousel 1.0 Beta, if it’s a bug, it might be fixed in WP Carousel 1.0, although I didn’t realise.
Forum: Plugins
In reply to: Upgrade to 3.1.1 breaks WP CarouselI get 3 Javascript errors when I load the page:
Error: jQuery(“.cmf_accordion”).accordion is not a function
File: https://clairesoncedros.com/wp-content/plugins/cmf-shorcodes/js/functions.js?ver=3.1.1
Line: 70Error: c.widget is not a function
File: https://clairesoncedros.com/wp-content/plugins/cmf-shorcodes/js/jquery.ui.accordion.min.js?ver=3.1.1
Line: 27Error: config.$gallery is undefined
File: https://clairesoncedros.com/wp-content/plugins/wp-carousel/js/stepcarousel.js?ver=3.1.1
Line: 293The last one is the error that breaks WP Carousel.
The other two are errors in your theme’s Javascript (or errors in other plugins).
I think if you fix those errors, the last error will be solved.
How to verify this theory? First, use other theme, like Twentyten or Kubrick. WP Carousel should work well in those themes. If it works, it is clear that the error is not in WP Carousel but it’s in your theme’s Javascript.
And finally, how to solve the other two Javascript errors? Well, I’m not sure about that. I’m not an expert in Javascript so I can’t help you.
Edit: Ok, I think you can fix the two first errors easily. In your header, you’ll find these lines:
<script type='text/javascript' src='https://clairesoncedros.com/wp-content/plugins/cmf-shorcodes/js/functions.js?ver=3.1.1'></script> <script type='text/javascript' src='https://clairesoncedros.com/wp-content/plugins/cmf-shorcodes/js/jquery.ui.core.min.js?ver=3.1.1'></script> <script type='text/javascript' src='https://clairesoncedros.com/wp-content/plugins/cmf-shorcodes/js/jquery.ui.accordion.min.js?ver=3.1.1'></script>
In functions.js you create an accordion, but the accordion function is not declared yet. It is declared in jquery.ui.accordion.min.js, so you must link functions.js after jquery.ui.accordion.min.js.
And about the last error, well, I’m not sure, but I think the problem is this line in file https://clairesoncedros.com/wp-content/plugins/phpurchase/js/phpurchase-library.js:
var $pj = jQuery.noConflict();
Try to load this file before WP Carousel’s Javascript. I think that should fix the problem. Other solution is loading WP Carousel before that file. To do that, open wp-carousel.php and search for:
wp_register_script('wp_carousel_stepcarousel', $wp_carousel_path[6].'js/stepcarousel.js', array('jquery'), false, true); // Stepcarousel, el antiguo script JS principal del carrusel (tomado de https://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm)
(It should be around line 185 in the Beta)
Then replace that with:
wp_register_script('wp_carousel_stepcarousel', $wp_carousel_path[6].'js/stepcarousel.js', array('jquery'), false, false); // Stepcarousel, el antiguo script JS principal del carrusel (tomado de https://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm)
I think that could solve the problem.
Forum: Plugins
In reply to: Upgrade to 3.1.1 breaks WP CarouselI think the problem is a Javascript error. Could you try to use only WP Carousel in the page, without any other Javascript code linked?
Then link them one to one to see which is causing the problem.
Thanks you for using WP Carousel ??
Yes, this bug has been reported. In WP Carousel 1.0 (Beta) you can shrink items added to carousel, and when you shrink a customized content, you can drag and remove it from carousel.
In any case, I have tested this in Firefox 4 and WP Carousel 1.0 (Beta) and I have deleted a customized content without any problem.
Forum: Plugins
In reply to: [WP Carousel] [Plugin: WP Carousel] Carousel Category OrderThanks you for using WP Carousel ??
Forum: Plugins
In reply to: Upgrade to 3.1.1 breaks WP CarouselI can’t see the page. It returns a 403 error page.
Why are you using [do_widget]? If you want to show WP Carousel in a post / page, simply update to WP Carousel 1.0 (Beta) and use the shortcode [wp_carousel]ID[/wp_carousel].
And about Beta, well, some users do not trust in Beta versions, but I think it is pretty stable and functional.
Forum: Plugins
In reply to: [WP Carousel] [Plugin: WP Carousel] wp carousel not workingHow many posts have your blog? I need this number in order to make WP Carousel avoid loading the entire list when users have a lot of posts, but anyone tell me how many posts they have, so I can’t fix this.
In WP Carousel 1.0 Beta you can disable the Posts box, the box which usually gives problems, by editing a line in wp-carousel.php.
I’m not sure about that, but try without WP Featured Content Slider.
Could you post the HTML that you get in that page? It may help.
Forum: Plugins
In reply to: [WP Carousel] [Plugin: WP Carousel] Carousel Category OrderThat is a known bug of WP Carousel 0.5.x: WP Carousel orders content by ID, not by date.
This bug is fixed in WP Carousel 1.0 (Beta 1 and following versions), so if you need to use that feature, update to the Beta (I think the Beta is pretty stable).