mnaguib
Forum Replies Created
-
Forum: Plugins
In reply to: [YITH WooCommerce Multi Vendor] Commission id always 0Hi,
thanks it worked fine now, i was using the plugin among “YITH Essential Kit for WooCommerce #1” plugin, but when i deactivate it and install it separately it worked fine.
Forum: Plugins
In reply to: [Theme My Login] Multi instance formsHi,
thanks for help, it worked fine
i removed instance from shortcode and used the below filters for redirect:
function my_login_redirect( $redirect_to, $request, $user ) {
return home_url();
}add_filter( ‘login_redirect’, ‘my_login_redirect’, 10, 3 );
function my_registration_redirect() {
if(get_bloginfo(‘language’) == “ar”){return get_permalink(“310”).’?registration=complete’;}else{return get_permalink(“304”).’?registration=complete’;}
}add_filter( ‘registration_redirect’, ‘my_registration_redirect’ );
Thanks very much
Forum: Plugins
In reply to: [Theme My Login] Multi instance formsThanks for reply, it worked fine
i added below in functions.php
update_post_meta( 314, ‘_tml_action’, ‘register’ );
update_post_meta( 316, ‘_tml_action’, ‘lostpassword’ );
update_post_meta( 310, ‘_tml_action’, ‘login’ );
update_post_meta( 318, ‘_tml_action’, ‘profile’ );but there are few problems:
1- for registration : if i tried register and email wasn’t correct for example the registration page redirect and appear only username and email without password and without register button and without error message it seems like there was cut in the page, when i remove instance from shortcode it shows the error message but if it successfully register it redirect to english login while it suppose to redirect to arabic login
2- for login : it doesn’t show error message and after successfully login it redirect to english profile not to arabic profile
please advise