Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    When a user tries to place a bid without login, It redirects to the default login page of WordPress. “&wdm-bid-val=30” It will come at the end of url. It means you enter “30” value in bid input box. After user login, page is redirected to the auction page with bid value automatically. This function works properly in the plugin.

    You have used custom login page into your site. If you want to remove “&wdm-bid-val=30” from url, you need to change code into plugin file.
    Go to plugin folder -> ajax-actions -> place-bid.php file. Change code as per below instruction and save changes. It will work into your site.

    From
    var new_url = redirect_url+ “&wdm-bid-val=” + bid_val;

    To
    var new_url = redirect_url;

    Thank You

    Ed N.

    (@enailor)

    This is not resolved. And telling people to edit your plugin code? That goes against everything that WordPress developers ever tell users! With any updates to the plugin, the issue will just come right back.

    The problem is that when you are using a custom URL, the addition of the wdm-bid-val variable breaks the URL due to the way you are adding the variable. You are automatically assuming the addition of the “?” being present for GET variables. With most custom login pages, the URL may not include this at all.

    With the standard login URL, you can simply add the variable with the “&” addition. However, when using a custom URL, there needs to be a check to see if GET variables are even in play. If not, then the “?” portion of the variables needs to be added instead of the &.

    To overcome this issue, I have added “&purpose=bid” to the custom login URL setting.

    But, from a programming perspective… this is not at all resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom login page is not work’ is closed to new replies.