I am trying to implement a login form on my site. I followed the link https://toolset.com/documentation/user-guides/cred-training-course/part-7-building-account-page-login-form/ . When i configured the login form layout to show for not logged users it doesn´t appear. I tried also create a page with the only shortcode in it: [wpv-login-form] and, when i show the page even if i am disconnected, it stays blank.
Hello,
The login form of Views shortcode [wpv-login-form] should be able to show up when it is a logged out guest, see our document:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-login-form
please check these:
1) Logged out as a guest, and test again
2) deactivate other plugins and switch to wordpress default theme, and test again
3) If the problem still persists, please provide a database dump file (ZIP file) of your website in below private detail box, I need to test and debug it in my localhost, thanks
Luo,
I did the database dump. Can you set the private option?
Please provide a database dump file (ZIP file) of your website in below private detail box, I need to test and debug it in my localhost, thanks
As I mentioned above I only need your database dump file to duplicate same problem, but you provide a backup file from Vaultpress plugin, I tried to install the Vaultpress plugin in my localhost, but get the error:
Hostnames such as localhost or 127.0.0.1 can not be reached by vaultpress.com and will not work with the service. Sites must be publicly accessible in order to work with VaultPress.
So your backup file is not valid in my localhost.
As I mentioned above, the problem you mentioned above is abnormal:
I tried also create a page with the only shortcode in it: [wpv-login-form] and, when i show the page even if i am disconnected, it stays blank.
The shortcode [wpv-login-form] is supposed to display a login form for guest users, and there isn't same problem in my localhost.
If you still need assistance for it, please provide a test site with the same problem, and fill below private detail box with login details and FTP access, also point out the problem page URL and CRED form URL, and where I can edit you PHP codes, I need a live website to test and debug, thanks
Thanks for the details,
Q1) The page with the login form shortcode is hidden link
It might be a cache problem, I did below modification in your website:
a) Open above URL,
b) click button "Edit with Layouts"
c) Edit the "Visual Editor cell", did not change anything, click tab "HTML", save
Then logout, and test the page in front-end:
hidden link
I can see the login form works fine,
Q2) The page with the test to see if the user is connected or not is hidden link.
Same as above, I did below modification in your website:
a) Open above URL,
b) click button "Edit with Layouts"
c) In row 1, there is a "Visual Editor cell", it seems that you have copy/paste the codes into "Visual" tag, that will cause unexpected result
d) So I create another row 3, with another "Visual Editor cell", but copy/paste the codes into "HTML" tag, please test it in front-end, check if it is fixed or not. thanks
Dear Luo,
The login form is showing now, thank you!
But i still have a problem with question 2: I have created a post group on toolset access to show a login form layout for guest users instead of the page that shows the info of the connected user (https://toolset.com/documentation/user-guides/cred-training-course/part-7-building-account-page-login-form/ ). But the page with the info about the user is always showed even if i am disconnected.
I assume the original question of this thread has already been resolved
https://toolset.com/forums/topic/login-form-not-appearing/#post-622782
When i configured the login form layout to show for not logged users it doesn´t appear.
for the new question:
But the page with the info about the user is always showed even if i am disconnected.
In case it is a compatibility problem, please check these in your website,
1) deactivate other plugins and switch to wordpress default theme, and test again
2) If the problem still persists, please create a new thread for the new question, that will help other users to find the answers.