How to make Add Listing page redirect to Login / Register page?

This topic contains 5 replies, has 3 voices, and was last updated by  patrik 5 days, 22 hours ago.

  • Author
    Posts
  • #492436
    #492536

    Alex Rollin
    Moderator
    Post count: 17533

    Hello,

    UsersWP, once the login and registration page are set, will filter the login/register links shown on the add listing page for logged out users.

    Try getting your users to login before they get to that page, if that is what you are after.

    About the author box, if you would like us to debug, please make a new topic over here where we support UsersWP

    https://userswp.io/support/

    #493738

    marmoset
    Full Member
    Post count: 34

    Hi,

    Thank you for getting back to us both here and on the UsersWP support, but I think you’re still not getting what we want here.

    We want logged out users – when they click the add listing link – to be redirected to the login / register page, and then after they register / login we want them to then be redirected to the actual add listing page.

    To put it quite frankly, our target user base for this site are not exactly techies. We don’t want them to click the add listing link, see an error message with a couple of small text links (which, as an aside, aren’t showing up even when “Show the login links if required” is ticked), get confused, and then leave. We want the whole experience of adding a listing to be seamless and easy for the user.

    We made some headway with the Redirection plugin in the wordpress repository, and managed to use it to redirect logged out users from all CPT instances of /add-new-listing/ to the /login-register/ page. But we’re lost on step 2, which is to then redirect users on login to the /add-new-listing/ page.

    Basically, we assumed based on some of the showcase sites that this functionality was built into the GD / GD-UsersWP integration features. In this showcase site https://www.dancelifemap.com/ this full functionality is in place: logged out users are redirected from the add listing page to the login / register page, and then back into the actual add listing page after registering.

    If someone could show us how to do this with GD and UsersWP it would be much obliged. If this functionality does not come with GD and UsersWP integration as advertised on this page https://wpgeodirectory.com/docs-v2/integrations/userswp/ then we will be willing to pay a specialist to work it out for us, but we assumed this functionality was built in.

    #493805

    patrik
    Moderator
    Post count: 1118

    Hi,

    The site https://www.dancelifemap.com/ is using the GDV1 which is an older version of GeoDirectory plugin.

    You have to go to edit add listing page and add one more parameter to the shortcode

    [gd_add_listing]

    so it looks like

    [gd_add_listing show_login=1]

    . This will display a login and registration link.

    Let me know if this resolves your issue or not.

    Regards,
    Patrik

    #493937

    marmoset
    Full Member
    Post count: 34

    Hi,

    Sorry but that issue with the login and registration links not displaying was merely an aside. That isn’t the main issue here.

    As I said, “We want logged out users – when they click the add listing link – to be redirected to the login / register page, and then after they register / login we want them to then be redirected to the actual add listing page.”

    That’s all. That’s what we’re trying to accomplish. Does that functionality exist in GDV2 / UsersWP at all — or do we need to hire a developer, or is this something that can be achieved with a third party plugin, or what?

    #493948

    patrik
    Moderator
    Post count: 1118
    This reply has been marked as private.
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.