daniel22222
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: WooCommerece] Check box to add additional itemIf no one here knows, where else should I ask?
Forum: Plugins
In reply to: [Theme My Login] Error incorrect password after registrationThat seems to work, thank you very much for responding !!!
Forum: Plugins
In reply to: [Theme My Login] Error incorrect password after registrationYes I never solved the problem. I ended up just requiring them to receive a temporary password and they change the password if they want.
Forum: Plugins
In reply to: [Theme My Login] Error incorrect password after registrationIf I turn off the custom password module, the password that is automatically created and sent to the user works. After that you have to change your password to something you can remember. What in that module is causing the issue?
Forum: Plugins
In reply to: [Theme My Login] Them My Login hasn't been working smoothly in a while@websherpa
What have you been using for login options since disabling TML?Forum: Plugins
In reply to: [Theme My Login] Error incorrect password after registrationAfter more testing if I turned off all other plugins registration went smoothly. I was able to narrow down the problem plugin to the woocommerce plugin. Now I just need to figure out why it is causing issues with registration.
Forum: Plugins
In reply to: [Theme My Login] Error incorrect password after registrationI have done a little more testing and when a user goes through the registration process it creates a password string in the users table. Like I mentioned above I try to login and it does not work. I then use forgot password, which send me an email with link to reset password and I reset the password to the same exact password as the original and when I go back to php table the password is different.
password in php table after registration:
$P$BF/gIt6dFfBBuNx6rP41Qv3i71TUie1password in php table after change password to same password:
$P$BxpByDbNU3vr3sytTOcbzttp1tOodH1Do Theme my login and either woocommerce or wordpress use different encryption methods?
Forum: Plugins
In reply to: [WooCommerce] update cart buttonMay have found an even more proper way to do it:
function wpa_change_my_basket_text( $translated_text, $text, $domain ){ if( $domain == 'woothemes' && $translated_text == 'My Basket:' ) $translated_text = 'My Cart:'; return $translated_text; } add_filter( 'gettext', 'wpa_change_my_basket_text', 10, 3 );
Forum: Plugins
In reply to: [WooCommerce] update cart buttonYour a genius, I am still new to wordpress and woocommerce so I am learning the ridiculous amount of functions that lie within. I did not realize that _e ran the text through some sort of translation process. I took that function out and put in the straight text “My Cart” and it worked like a charm.
Forum: Plugins
In reply to: [WooCommerce] update cart buttonI do all my editing of functions in a child theme, so I am ok with changing the functions, just gotta figure out how they work first haha. Here are the 2 functions so you dont have to download the theme:
<?php // Handle cart in header fragment for ajax add to cart add_filter('add_to_cart_fragments', 'header_add_to_cart_fragment'); function header_add_to_cart_fragment( $fragments ) { global $woocommerce; ob_start(); woocommerce_cart_link(); $fragments['a.cart-button'] = ob_get_clean(); return $fragments; } function woocommerce_cart_link() { global $woocommerce; ?> <a href="<?php echo $woocommerce->cart->get_cart_url(); ?>" title="<?php echo sprintf(_n('%d item', '%d items', $woocommerce->cart->cart_contents_count, 'woothemes'), $woocommerce->cart->cart_contents_count);?> <?php _e('in your shopping cart', 'woothemes'); ?>" class="cart-button "> <span class="label"><?php _e('My Basket:', 'woothemes'); ?></span> <?php echo $woocommerce->cart->get_cart_total(); ?> <span class="items"><?php echo sprintf(_n('%d item', '%d items', $woocommerce->cart->cart_contents_count, 'woothemes'), $woocommerce->cart->cart_contents_count); ?></span> </a> <?php } ?>
I didnt see a way to create another rule within the localization pluggin. On the left side there are original statements from which to translate that I cant seem to change or add any new statements so there is no basket on the left side for me to give the translation of cart.
Forum: Plugins
In reply to: [WooCommerce] update cart buttonIn the woocommerce artificer theme the cart button at the top says My Basket and most other locations say Cart. How do I get the “My Basket” text to be My Cart? I tried the method of adding the en_GB file to wp_config/languages/woocommerce but that just changed all the places where cart was turn into basket. I then tried the codestyling plugin and deleted all the translations, but that didnt work. I also went into the actual function woocommerce_cart_link() under the artificer/includes/theme-woocommerce.php and changed the “My Basket” text to “My Cart”, but the text still showed up as “My Basket”. I then tried to test and the “My Basket” button came up even if I deleted everything in the function except
a href=”” class=”cart-button ” /a
and the “My Basket” button still came up. When I delete the text class=”cart-button ” then finally the button does not show up. This is very confusing, please point me in the right direction.