Geodirectory Integration: How to redirect to login / registration page

This topic contains 2 replies, has 2 voices, and was last updated by  Alex Rollin 5 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #4502

    lewismarmoset
    Buyer
    Post count: 1

    Hi,

    We’re building a site with Astra, Elementor, Geodirectory and UsersWP. In the GDV2 docs (here: https://wpgeodirectory.com/docs-v2/integrations/userswp/ ), it says that integration with UsersWP allows you to “Redirect the Login and Register links on the Add Listing Page for logged out users.” The Question is, how do we actually achieve this? This seems to have already been achieved on many of the example sites (here: https://wpgeodirectory.com/category/showcase/ ) where when logged out users click the add listing link they are redirected to the register / login page.

    We already asked this question in GD support (here: https://wpgeodirectory.com/support/topic/how-to-make-add-listing-page-redirect-to-login-register-page/ ), and were told “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” and this does not seem to be the case (see attached image, the login and register pages are set). When we go to the add listing page as a logged out user, we simply get an error message saying “You must login to post.”

    We’ve recorded a video in case you need extra clarification: https://d.pr/v/XH3Xs5

    Will send the login details in a private reply.

    #4504

    lewismarmoset
    Buyer
    Post count: 1
    This reply has been marked as private.
    #4508

    Alex Rollin
    Moderator
    Post count: 27815

    If the links are not showing, that is a different issue.

    The add listing shortcode has an to display the login links, have you already used that?

    
    
    
    [gd_add_listing show_login="1"]
    

    show_login=”1″ makes it show the links.

    Once you see the links, then they will point to the pages you have specified in UsersWP pages settings.

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket