How do user login and logout after an upgarde to V2
This topic contains 10 replies, has 2 voices, and was last updated by Alex Rollin 5 years, 6 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
September 12, 2019 at 11:39 pm #507953
Hi, I upgraded from V1 to V2 GeoDirectory and now when I try to AddLising it complains that I need to be logged in to Add Listing.
But how do I login? I can’t find any setting in GeoDirectory V2 that allows settings to login.
Please let me know how I can loging and log out. How do I add this functionality?
Thank you.
September 13, 2019 at 12:20 am #507954This reply has been marked as private.September 13, 2019 at 9:03 am #507988Try setting up the UsersWP addon to manage login and registration.
The integration is documented here:
https://wpgeodirectory.com/docs-v2/integrations/userswp/September 13, 2019 at 6:11 pm #508104HELP!
I still can’t figure out how to set UsersWP to manage login and registraion?I read the documentation and the basic settings.
I Installed and Activated the UsersWP. I went through all the settings for “UserWP” and it still does not work.
I went to UsersWP -> Addons (tab) -> GeoDirectory
Chose my settings and saved.
Then went to UsersWP –> General ->Profile and made some more selections.But still when I visit my website http://www.partycoop.com and click on “Add Business at the right top corner. I get a page that says “You must be logged in to post”.
Can you please take a look at my site and let me know what I have done wrong or what I am missing? I have provided my credintials so you can check it out.
Thank you.
September 14, 2019 at 10:18 am #508176From https://wpgeodirectory.com/docs-v2/geodirectory/account-management/
Home Docs GeoDirectory CoreAccount Management
Account Management
Summary WordPress Settings GeoDirectory Settings Get Support FAQ – Frequently Asked QuestionsSummary
In this document we cover the settings for account and listing management. You can use the WordPress login management system,WordPress Settings
Anyone Can Register
If you want users to be able to register on your site, there is a WordPress setting to enable. Find the setting at:WordPress – Settings – General – Anyone Can Register (CHECK)
Access to WP Admin
GeoDirectory provides a setting to help you disallow specific user roles from accessing WP Admin.This is useful if you want to make sure that your directory visitors, either new users (Subscribers) or listing owners (Authors), cannot access the WordPress backend.
Find the setting at:
GeoDirectory – Settings – General – Restrict wp-admin
WordPress Admin Bar
WordPress has a “WP Way” policy that prohibits plugin and theme authors from hiding the WordPress admin bar.Find out how to remove the WordPress admin bar here: https://wpgeodirectory.com/docs-v2/faq/common-examples/#account-management
WordPress Login System
WordPress comes with a system for managing registration, login, and password resets.If you want to use the WordPress login system, you can add these links to your site navigation menu as Custom Menu links.
The links are as follows:
Login
/wp-login.php
Register
/wp-login.php?action=register
Lost Password
/wp-login.php?action=lostpassword
Logout
/wp-login.php?action=logout
Tip: How to add custom menu linksRedirection
To redirect login or registration links you can use UsersWP or a 3rd party plugin. If you want to create a customization you can use custom functions like this one for redirecting WP login links.GeoDirectory Settings
Allow posting without logging in?
If visitors land on your add-listing page before they are logged in, they will normally see a login box provided by WordPress.Instead, you can enable this option, and users will be able to fill in their name and email so they can add a listing and create an account with one form.
Find the setting at:
GeoDirectory – Settings – Allow posting without logging in?
Read more
Add Listing page login/register
If a user is not logged in, and you have not allowed logged out users to post as described above, then you will see links for Login and Register. These are the default WordPress links. Other plugins may have settings to redirect these links to specific forms or pages. UsersWP has settings to redirect these links.If you are not seeing the “Register” link as shown in the above image, it is because you have not set the option to allow anyone to register, as described in the first section of this page.
If you don’t see either link then the GD Add Listing element can be adjusted to make use of additional options.
Use the shortcode builder to create a new add listing page shortcode and use the options to enable the links and change the message that is displayed.
Example
[gd_add_listing show_login="1" login_msg="Please use the links to login or register before adding your listing"]
September 17, 2019 at 7:22 am #508567Ok, So I follow all the instructions above, except for the [gd_add_listing show_login=”1″… I did not know that this short code is for and where to add it.
So I made sure I had WordPress – Settings – General – Anyone Can Register (Checked).
I am also using UsersWP.
I added two new menus “Register” and “Login”, so I can register and login now.
But what I want is to be able to my “Add Listings” and get automatically redirected to “Login” the user is not already logged in.How do I do that?
Thank you
September 17, 2019 at 12:09 pm #508613That shortcode goes in the add listing page to show links to the login and register.
September 17, 2019 at 10:49 pm #508750Ok, so I put the shortcode on the listing page but this is just put a message to ask the user to login or register.
What I want to have the system autodetect that the user is not logged in and take the user to the registration page automatically.
For now I set the GeoDirectory Setting to Allow posting without logging in. But the Listing page has featured image on the top of the page. I am not interested in having an image at the top of the listing form. How can I remove this image?
Thanks,
September 17, 2019 at 11:07 pm #508764Unfortunately this setting is not currently available.
I have taken this up as a suggestion and will share it with our development team to see whether we can work on this in the near future.
What some people do is provide a menu link to the registration page and then redirect users to the add listing page once they are registered and logged in. However, how to do that depends on which plugin you are using. Since you are using UsersWP you can use UsersWP to set the redirect action after login or registration, both.
About the featured area image, see: https://wpgeodirectory.com/docs-v2/themes/supreme/#featured-image-theme-setting
September 18, 2019 at 6:53 pm #509019Ok.
I looked into the documentation you pointed out and it says Each WordPress page will have a setting for “Featured Area Settings”.I see the sample where they show “Page Atributes” and they have “Featured Area Settings” -> Show: Auto, Title over Parallax image, Title and None.
I don’t have this Feature area setting wen I visit Page -> All Pages -Add Listings, and I click on Edit. How to I get that to show on my page?
I did togle the check mark for “Disable theme feature image” at GD – Settings – Design – Detail with no success.
Also, other than removing the top image on the listings page can I also change the image instead?
Thank you.
September 19, 2019 at 8:19 am #509117This reply has been marked as private. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket