onna
Forum Replies Created
-
Forum: Plugins
In reply to: [Virtual Theme] [Plugin: Virtual Theme] error 404I’m also getting a 404 error, I’d really like to get this plugin working, also – I tried registering to your support forums, but no password were sent to either email I registered twice.
The site I’m trying to get this working is DJHymn.com
Forum: Plugins
In reply to: [Booking Calendar] Booking Calendar does not show calendarFIXED!! ok so here on the support FAQ is something to help you first of all find the error (likely to be some javascript from another plugin or even your theme):
Why calendar is not show, but booking form is visible ?This situation can be, when some other JS script (from some other plugin or active theme) is generate JavaScript error. You can check if you page have errors at the IE at the status bar or at Firefox using Console2 addon. So you need to fix that JavaScript error, or deactivate plugin or theme, which is generate that error. After this Booking Calendar will show up.
I used it to find this error, which looks like it’s coming from WP-ecommerce plugin:
Error: jQuery(“form.product_form”).livequery is not a function
Source file: http://djhymn.com/wp-content/plugins/wp-e-commerce/wpsc-core/js/wp-e-commerce.js?ver=3.8.4.391083
Line: 273apparantly the wp-ecommerce scripts are loaded on every page – that they don’t even need to be on.
IF you are using WP commerce with this plugin, then here’s a hack to make it work:
go to /wpsc-includes/theme.functions.php, and comment out ALL the call to jQuery:
`/* this should comment out all the jQuery loading…
wp_enqueue_script( ‘jQuery’ );
wp_enqueue_script( ‘wp-e-commerce’, WPSC_CORE_JS_URL . ‘/wp-e-commerce.js’, array( ‘jquery’ ), $version_identifier );
wp_enqueue_script( ‘infieldlabel’, WPSC_CORE_JS_URL . ‘/jquery.infieldlabel.min.js’, array( ‘jquery’ ), $version_identifier );
wp_enqueue_script( ‘wp-e-commerce-ajax-legacy’, WPSC_CORE_JS_URL . ‘/ajax.js’, false, $version_identifier );
wp_enqueue_script( ‘wp-e-commerce-dynamic’, $siteurl . “/index.php?wpsc_user_dynamic_js=true”, false, $version_identifier );
wp_localize_script( ‘wp-e-commerce-dynamic’, ‘wpsc_ajax’, array( ‘ajaxurl’ => admin_url( ‘admin-ajax.php’ ) ) );
wp_enqueue_script( ‘livequery’, WPSC_URL . ‘/wpsc-admin/js/jquery.livequery.js’, array( ‘jquery’ ), ‘1.0.3’ );
wp_enqueue_script( ‘jquery-rating’, WPSC_CORE_JS_URL . ‘/jquery.rating.js’, array( ‘jquery’ ), $version_identifier );
wp_enqueue_script( ‘wp-e-commerce-legacy’, WPSC_CORE_JS_URL . ‘/user.js’, array( ‘jquery’ ), WPSC_VERSION . WPSC_MINOR_VERSION );
if ( get_option( ‘show_thumbnails_thickbox’ ) == 1 ){
$lightbox = get_option(‘wpsc_lightbox’, ‘thickbox’);
if( $lightbox == ‘thickbox’ ) {
wp_enqueue_script( ‘wpsc-thickbox’, WPSC_CORE_JS_URL . ‘/thickbox.js’, array( ‘jquery’ ), ‘Instinct_e-commerce’ );
wp_enqueue_style( ‘wpsc-thickbox’, WPSC_CORE_JS_URL . ‘/thickbox.css’, false, $version_identifier, ‘all’ );
} elseif( $lightbox == ‘colorbox’ ) {
wp_enqueue_script( ‘colorbox-min’, WPSC_CORE_JS_URL . ‘/jquery.colorbox-min.js’, array( ‘jquery’ ), ‘Instinct_e-commerce’ );
wp_enqueue_script( ‘wpsc_colorbox’, WPSC_CORE_JS_URL . ‘/wpsc_colorbox.js’, array( ‘jquery’, ‘colorbox-min’ ), ‘Instinct_e-commerce’ );
wp_enqueue_style( ‘wpsc-colorbox-css’, WPSC_CORE_JS_URL . ‘/wpsc_colorbox.css’, false, $version_identifier, ‘all’ );
}
}
wp_enqueue_style( ‘wpsc-theme-css’, wpsc_get_template_file_url( ‘wpsc-‘ . get_option( ‘wpsc_selected_theme’ ) . ‘.css’ ), false, $version_identifier, ‘all’ );
wp_enqueue_style( ‘wpsc-theme-css-compatibility’, WPSC_CORE_THEME_URL . ‘compatibility.css’, false, $version_identifier, ‘all’ );
wp_enqueue_style( ‘wpsc-product-rater’, WPSC_CORE_JS_URL . ‘/product_rater.css’, false, $version_identifier, ‘all’ );
wp_enqueue_style( ‘wp-e-commerce-dynamic’, $siteurl . “/index.php?wpsc_user_dynamic_css=true&category=$category_id”, false, $version_identifier, ‘all’ );*/`
then go to your theme header.php file and replace the code you just commented out, introducing their source urls as well like this:
<?php if( is_page(array('products-page','donate','checkout','transaction-results','your account')) || is_post_type_archive('wpsc-product') || 'wpsc-product' == get_post_type() ) : global $wp_styles, $wpsc_theme_url, $wpsc_theme_path; $WPSC_URL = get_bloginfo('url')."/wp-content/plugins/wp-e-commerce"; $WPSC_CORE_JS_URL = get_bloginfo('url')."/wp-content/plugins/wp-e-commerce/wpsc-core/js"; $WPSC_CORE_THEME_URL = get_bloginfo('url')."/wp-content/plugins/wp-e-commerce/wpsc-theme"; wp_enqueue_script( 'jQuery' ); wp_enqueue_script( 'wp-e-commerce', WPSC_CORE_JS_URL . '/wp-e-commerce.js', array( 'jquery' ), $version_identifier ); wp_enqueue_script( 'infieldlabel', WPSC_CORE_JS_URL . '/jquery.infieldlabel.min.js', array( 'jquery' ), $version_identifier ); wp_enqueue_script( 'wp-e-commerce-ajax-legacy', WPSC_CORE_JS_URL . '/ajax.js', false, $version_identifier ); wp_enqueue_script( 'wp-e-commerce-dynamic', $siteurl . "/index.php?wpsc_user_dynamic_js=true", false, $version_identifier ); wp_localize_script( 'wp-e-commerce-dynamic', 'wpsc_ajax', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ) ) ); wp_enqueue_script( 'livequery', WPSC_URL . '/wpsc-admin/js/jquery.livequery.js', array( 'jquery' ), '1.0.3' ); wp_enqueue_script( 'jquery-rating', WPSC_CORE_JS_URL . '/jquery.rating.js', array( 'jquery' ), $version_identifier ); wp_enqueue_script( 'wp-e-commerce-legacy', WPSC_CORE_JS_URL . '/user.js', array( 'jquery' ), WPSC_VERSION . WPSC_MINOR_VERSION ); if ( get_option( 'show_thumbnails_thickbox' ) == 1 ){ $lightbox = get_option('wpsc_lightbox', 'thickbox'); if( $lightbox == 'thickbox' ) { wp_enqueue_script( 'wpsc-thickbox', WPSC_CORE_JS_URL . '/thickbox.js', array( 'jquery' ), 'Instinct_e-commerce' ); wp_enqueue_style( 'wpsc-thickbox', WPSC_CORE_JS_URL . '/thickbox.css', false, $version_identifier, 'all' ); } elseif( $lightbox == 'colorbox' ) { wp_enqueue_script( 'colorbox-min', WPSC_CORE_JS_URL . '/jquery.colorbox-min.js', array( 'jquery' ), 'Instinct_e-commerce' ); wp_enqueue_script( 'wpsc_colorbox', WPSC_CORE_JS_URL . '/wpsc_colorbox.js', array( 'jquery', 'colorbox-min' ), 'Instinct_e-commerce' ); wp_enqueue_style( 'wpsc-colorbox-css', WPSC_CORE_JS_URL . '/wpsc_colorbox.css', false, $version_identifier, 'all' ); } } wp_enqueue_style( 'wpsc-theme-css', wpsc_get_template_file_url( 'wpsc-' . get_option( 'wpsc_selected_theme' ) . '.css' ), false, $version_identifier, 'all' ); wp_enqueue_style( 'wpsc-theme-css-compatibility', WPSC_CORE_THEME_URL . 'compatibility.css', false, $version_identifier, 'all' ); wp_enqueue_style( 'wpsc-product-rater', WPSC_CORE_JS_URL . '/product_rater.css', false, $version_identifier, 'all' ); wp_enqueue_style( 'wp-e-commerce-dynamic', $siteurl . "/index.php?wpsc_user_dynamic_css=true&category=$category_id", false, $version_identifier, 'all' ); endif; ?>and then – the javascript error dissappears because we’re only calling the .livequery scripts for e-commerce on the pages that require it!
So the calendar form plugin starts working, and there is no more jQuery conflicts.woohoo that took me a day to solve!
Forum: Plugins
In reply to: [Booking Calendar] Booking Calendar does not show calendarand this resource, but I’m not sure which files to edit, where to place the .noconflict() and what files to create to get this working
http://jquery-howto.blogspot.com/2009/07/jquerynoconflict-resolving-conflicts.html
Forum: Plugins
In reply to: [Booking Calendar] Booking Calendar does not show calendarI don’t know if this might be the right place to research but I’ve found this resource:
http://mccormicky.com/1385/using-wp-3-1-jquery-cforms-wp-e-commerce-frustrated-by-javascript-errors/
Forum: Plugins
In reply to: Booking Premium Plus – Calendar Problem! Help!The only javascript error I’m getting seems to come from
Error: jQuery("form.product_form").livequery is not a function Source file: http://djhymn.com/wp-content/plugins/wp-e-commerce/wpsc-core/js/wp-e-commerce.js?ver=3.8.4.391083 Line: 273I think it’s something to do with your calendar plugin calling a different version of jquery but I am unable to fix this, I have tried:
<script type="text/javascript" src="http://djhymn.com/wp-content/themes/activetheme/js/jquery-1.4.4.min.js"></script>in the header file, the functions file, and am really lost where to go from here.
Forum: Plugins
In reply to: [Booking Calendar] Booking Calendar Does Not Show calendarsame problem here with another themeforest theme:
http://djhymn.com/services/Yet I can’t find any error conflicts. When You do, how are you supposed to fix them?
Forum: Plugins
In reply to: [Easyfileshop] [Plugin: Easyfileshop] Flie upload times out with large filesAh that’s a really cool workaround! I’ve just started to work with easy file shop, and I love this plugin. Felix I’m currently working on a hack that might enable affiliate commission through Paypal ‘daisychaining’ API. I’ll keep you informed if it’s successful 🙂
Forum: Plugins
In reply to: [WPBook] [Plugin: WPBook] Not working after WP Book 2.1 Beta InstallTHANKS AGAIN! this little comment helped me with other previous plugin versions that I upgraded from and lost usability with!
Forum: Plugins
In reply to: [WPBook] [Plugin: WPBook] Not working after WP Book 2.1 Beta InstallTHANK YOU! I’ll go through this now and make the changes.
Thank you so much for a speedy reply.
Forum: Plugins
In reply to: [WPBook] [Plugin: WPBook] Not working after WP Book 2.1 Beta InstallHow do I revert to an earlier version of WP book ?
Forum: Plugins
In reply to: [WPBook] [Plugin: WPBook] Not working after WP Book 2.1 Beta InstallI do hope this is solved soon 🙁 I have the same error – I think? I didn’t notice it before because it works when viewed as a tab item added to a page, but in canvas view it doesn’t work at all now :'(
Where do I start to look?
http://apps.facebook.com/julianareed
“An error occurred. Please try again later.”Forum: Fixing WordPress
In reply to: A few questions about layoutok – can someone tell me how to adjust the width of the marginin which the entry date sits. It’s dead space, and I either want to shrink it, or increase it to stick adsense in there
Forum: Fixing WordPress
In reply to: Remove META from sidebar?YEY!! I was getting worried that I might have to go into the PHP code to remove it. THANK GOODNESS! thanks for the biggest tip on getting around this bug!