cakecommunication
Forum Replies Created
-
Forum: Plugins
In reply to: [Search Everything] no tag searchAnd what about multiple tag search ?
1 tag works fine but when using more than tag, it fails.
I get the
Unknown column 'tter.name'
all the time too.Forum: Plugins
In reply to: [WP Modal Login] Password reset key has expired. Please try again.In the file ‘class-wp-modal-login.php’ in the ‘retrieve_password’ function.
Replace
$key = $wpdb->get_var( $wpdb->prepare( "SELECT user_activation_key FROM $wpdb->users WHERE user_login = %s", $user_login ) ); if ( empty( $key ) ) { // Generate something random for a key... $key = wp_generate_password( 20, false ); do_action( 'retrieve_password_key', $user_login, $key ); // Now insert the new md5 key into the db $wpdb->update( $wpdb->users, array( 'user_activation_key' => $key ), array( 'user_login' => $user_login ) ); }
With
$key = wp_generate_password( 20, false ); do_action( 'retrieve_password_key', $user_login, $key ); if ( empty( $wp_hasher ) ) { require_once ABSPATH . 'wp-includes/class-phpass.php'; $wp_hasher = new PasswordHash( 8, true ); } $hashed = $wp_hasher->HashPassword( $key ); $wpdb->update( $wpdb->users, array( 'user_activation_key' => $hashed ), array( 'user_login' => $user_login ) );
And voilà it’s working with WP 3.9.1
Forum: Plugins
In reply to: [Promotion Slider] Slider wait is messing up when using navigation linksNote that the original post is 11 months old. The file has been updated since but seems to have not applied the fix. The new line in
promoslider.js
is now starting at121
Forum: Plugins
In reply to: [FancyBox for WordPress] Not working with WP 3.8?It’s so old that the error “msie” deprecated error shows in the console. You’ll need to update the “fancybox-for-wordpress/fancybox” folder with the new Fancybox 2 version found here :
https://fancyapps.com/fancybox/#license
Replace all images, css and js with what’s in the /source folder in the .zip and voilà.
Don’t forget to rename the new .js, .css with the old names from this plugins to make sure the path are correct.
Forum: Plugins
In reply to: [Promotion Slider] Slider wait is messing up when using navigation linksThe clearInterval is set before the slider is changing. Fixed it in the promo_slider.js
Line 201
jQuery('.move_forward', currentSlider).click(function(){ progress('forward', currentSlider, panelCount); if(autoAdvance) sliderInterval = setInterval(function(){progress('forward', currentSlider, panelCount);}, (timeDelay * 1000)); clearInterval(sliderInterval); }); jQuery('.move_backward', currentSlider).click(function(){ progress('backward', currentSlider, panelCount); if(autoAdvance) sliderInterval = setInterval(function(){progress('forward', currentSlider, panelCount);}, (timeDelay * 1000)); clearInterval(sliderInterval); });
Move it at the end