• Hi
    I have a page displaying the list of ads. To view the details you need to register or login. the id is passed through the url so once you log in, the variable disappears. Is there any way I can retain the variable so that the user can view the record he selected before login/registering?
    Thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    Yes, that is something I’m aware of. It’s probably not going to be something addressed specifically in the 3.2.0 release, although I am looking for the best possible resolution for it. To go into why would be a long technical explanation based on a lot of “what-ifs.”

    In the meantime, the very workable solution is to use the plugin’s wpmem_redirect_to_login() function to redirect blocked content to the plugin’s login page. When that is used, it preserves any query strings in the originally requested URL.

    https://rocketgeek.com/plugins/wp-members/docs/api-functions/wpmem_redirect_to_login/

Viewing 1 replies (of 1 total)
  • The topic ‘Passed variable in the url disappears after login’ is closed to new replies.