adcadesigns
Forum Replies Created
-
hello @champsupertramp ,
we did not push the registration anymore since the client was frustrated we can’t make the registration redirect. we just go with just a form sending information about the applicant.
but yes. thank you for your help.
by the way @champsupertramp i also saw this it may help since it redirect to post as it say
add_action("um_after_register_fields", function(){ if( isset( $_SERVER['HTTP_REFERER'] ) || isset( $_POST['redirect_to'] ) ){ if( isset( $_POST['redirect_to'] ) ){ $redirect_to = $_POST['redirect_to']; }else{ $redirect_to = $_SERVER['HTTP_REFERER']; } echo "<input type='hidden' name='redirect_to' value='".esc_attr( $redirect_to )."'>"; } });
Hello @champsupertramp thank you for getting back with me.
yes its auto login after registration.
i tried your code snippet but it did not work. still goes back to the archive page.I hope you don’t mind. here is sa temporary url for you to check it. you can just enter any value at the moment to test.
https://www.temporary-url.com/845EThank you so much.
Hello @champsupertramp,
where do i add that please? here is the code im using https://prnt.sc/1wl7go8
the first part is for the registration (added here)
//redirect after register /*** *** @new user registration ***/ add_action('um_after_register_fields', function(){ if( isset( $_SERVER['HTTP_REFERER'] ) && !isset( $_REQUEST['redirect_to'] ) ){ echo "<input type='hidden' name='redirect_to' value='".esc_attr( $_SERVER['HTTP_REFERER'] )."'>"; } });
Thank you
Hi @champsupertramp sorry do you have any idea regarding this? login is good for me. but for the registration, I go back to the archive instead of the single page. thank you.
Just to note: I was on the single page when I click on the registration button, just to be clear. thank you.
Hello @champsupertramp ok so I found the same question the login works great here https://www.ads-software.com/support/topic/redirect-to-previous-page-with-ultimate-member/
but I’m trying to figure out the after registration.following your code I change “um_after_login_fields” to “um_after_register_fields”, it works but not really on the single page but on the archive page of that post. is there something I need to point to go back exactly from where the user is?
Thank you
hello @champsupertramp, can that be done both? after login or after registration?
Thank you so much.Thank you for the quick reply.
can you please enlighten me more regarding no.3? how do I do that, where do I do that?Thank you.
Forum: Plugins
In reply to: [Order Sync with Zendesk for WooCommerce] Always gets Ticket not createdhow can our clients send a ticket if we are still getting the error message? “ticket not created”. we already know that our clients can create a ticket from the dashboard. and we can see tickets from the user. but the error is still there. please you are not answering or fixing the issue.
Forum: Plugins
In reply to: [Order Sync with Zendesk for WooCommerce] Always gets Ticket not createdhi, we are creating tickets, under Our accounts page in woocommerce. the settings are straight forward so I don’t see any complicated issue with that. we also tried a different plugin with the same settings, and it works. so I guess we don’t do anything wrong.
also, the layout seems a bit broken https://prnt.sc/13397sx
Forum: Plugins
In reply to: [Order Sync with Zendesk for WooCommerce] Always gets Ticket not createdHi as per checking, no update is showing. the version I have is 2.0.2 thank you.
Forum: Plugins
In reply to: [Clean Login] Forget and reset password as popupI tried using a popup plugin but since it’s detecting where the shortcode is placed assigning a class to the popup with the class of the forget password still cannot be selected.
Humm, as far as I check I don’t seem to have a plugin conflict with this. correct me if im wrong. but this should go with the functions.php right?
Hello, thank you for responding.
is there a setting I need to do before applying the code? maybe a plugin conflict due to other restrictions settings?Thank you @doekenorg I haven’t tested it but ill make sure to comment back once tested for others to know who’s having the same issue. again thank you.