Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • cakecommunication

    (@cakecommunication)

    And 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.

    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

    Thread Starter cakecommunication

    (@cakecommunication)

    Note 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 at 121

    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.

    Thread Starter cakecommunication

    (@cakecommunication)

    The 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

Viewing 5 replies - 1 through 5 (of 5 total)