anziosoftware
Forum Replies Created
-
ok, I just found the button that replaces the Ajax automatic save, but I was wondering, aren’t you curious to understand why on one site it works great automatically and on another it needs the button? In this specific case, same server, even the same plugins, however in my opinion a defect related to Ajax. Thanks anyway
Solved sorry
Thanks Elliot, that was clear, but I was thinking to this:
If you set the default page for the referral links in the “Referral URLs” settings tab: eg. https://www.mydomain.com/shop/
when you create a new affiliate user with Add New Affiliate and relative coupon: eg. mycoupon1
You will get https://www.mydomain.com/my-account-affiliate/?coupon=mycoupon1 as default Referral Link
And not as logic https://www.mydomain.com/shop/?coupon=mycoupon1 considering the default page
I’m a picky person, but certainly now I understand that it’s not a problem, it’s just like that. ??
That is, if I create a new coupon that I have not linked to any affiliate as the default referral link it generates the page that has been set as the Affiliate Dashboard Page: + the coupon, I would make the main domain + the coupon and the Affiliate Dashboard page the default Page: This is the Affiliate Dashboard Page.
Forum: Plugins
In reply to: [Payment Plugins for Stripe WooCommerce] SubscriptionsThat was clear, question is your plugin works only for that plugin or there is another free plugin out there ? Thanks
Forum: Plugins
In reply to: [Payment Plugins for Stripe WooCommerce] SubscriptionsIs it not a free plugin out there ?
Hi thanks, best support, nothing to say more.
Thanks for support, great job !
I have just arrived at a better solution without modifying the Plugin, in which case the INPUT of the PLUGIN’s UserName user_login must also be present.
Putting this code at the bottom of the page where the Form is, hides the INPUT of the UserName user_login but populates it with what is typed into the INPUT of the Email user_email.<script> document.getElementById("user_login_field").style.visibility = "hidden"; document.getElementById('user_email').onkeyup = function() {document.getElementById('user_login').value = document.getElementById('user_email').value}; </script>
Hello, I’m not a coder, just a software small shop, anyway after few hours of internet search with help of a string search program, just find out the position where when in the form is missing the Username it will be replaced with initial part of Email as per question of this support post.
You have to go to INCLUDES – FRONTEND – class-ur-frontend-form-handler.php LINE 95
if ( empty( $userdata[‘user_login’] ) ) {
$part_of_email = explode( ‘@’, $userdata[‘user_email’] );
$username = check_username( $part_of_email[0] );
$userdata[‘user_login’] = $username;
}
This is where if login is empty it takes the substring of email, I just have make same small change to let it works without doing this but just using the full email
if ( empty( $userdata[‘user_login’] ) ) {
//$part_of_email = explode( ‘@’, $userdata[‘user_email’] );
$part_of_email = $userdata[‘user_email’];
//$username = check_username( $part_of_email [0] );
$username = check_username( $part_of_email);
$userdata[‘user_login’] = $username;
// $userdata[‘user_login’] = $userdata[‘user_email’]
}
It works fine, even if I’m not a coder but this will work until the plugin have an UPDATE otherwise you have to go again in the file and repeat the change if update have some effect on the file.
I would be very happy if the programmers would implement the possibility (a flag or something else) that if ON would force the EMAIL field as LOGIN as an alternative and in the meantime give us a hint on how to put this code using the SNIPPETS PLUGIN to work regardless of updates. THANKS IN ADVANCE
Same for me…