Skip Navigation

[Resolved] Creating Custom Login Forms

This support ticket is created 3 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 8 replies, has 2 voices.

Last updated by yoshihikoH 3 years, 7 months ago.

Assisted by: Luo Yang.

Author
Posts
#2108979

TOOLSET
WordPress Directory and Classifieds Sites Course≫Chapter #11≫Registering Users from the Front-end on Directory Sites≫4. Creating Custom Login Forms

Q.I logged in after entering the user account.≫The error message "You are not authorized to review the draft" was displayed.≫

I can't log in to my account.
I have tried many times, but I haven't been able to solve it.
I need your support.

Thank you.

#2109015

Hello,

I assume we are talking about shortcode [wpv-login-form], see our document:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-login-form

How do you setup the "redirect_url" attribute? please make sure this URL is a published post/page, and which is visible for current logged-in user

#2109085

Dear Luo Yang,

Are you pointing out about "Peter's login redirection plugin"?

Specific roles=job-poster
URL: [wpv-login-form redirect_url="hidden link" allow_remember="true" remember_default="true"]
Logout URL:

I've tried the above, but it didn't work.

Thank you,
Yoshihiko

#2109097

Please try these:
1) Login as user of role "job-poster" normally with WordPress built-in URL:
hidden link

2) Open URL:
hidden link
Check if you can see above page correctly,

If you see the same problem, please check as I mentioned above:
please make sure "my-account" page is a published page, and is visible for current logged-in user

If there isn't the same problem, please check these:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to WordPress default theme 2021, deactivate all custom PHP/JS code snippets, and test again

#2109251

Dear Luo Yang,

I tried the following.
1) Login as user of role "job-poster" normally with WordPress built-in URL:
hidden link
I was able to log in without any problems.
2) Open URL:
hidden link
Check if you can see above page correctly,

What does "correctly" mean?

The edit page on the my-account page (fixed page = mode 2) shows that you are logged in as yoshihiko (administrator). However, when I set "Display in new tab = Public page", it transitions to the mode 1 page. The user name, password, and login button are not displayed on the mode 1 page.

These errors continue to repeat.

Thank you,
yoshihiko

#2109785

Please backup your website, and provide your website credentials in below private message box(Both admin account and the "job-poster" user), I need to test and debug it in a live website, and might need to deactivate plugins/theme in your website, thanks

#2109885

Please share an "job-poster" user account credentials in below private message box, thanks

#2109941
js-errors.JPG

I can login into your website, but there are some abnormal issues in it:
1) In the login page:
hidden link
The login link is linked to:
hidden link
It should link to:
hidden link

2) Edit the "my-account" page, there are some JS errors in your website:
hidden link
see my screenshot, and can not publish this page

I suggest you check these:
1) In case it is a compatibility problem, please deactivate all other plugins, and switch to WordPress default theme 2021, and test again
2) If the problem is fixed, you can activate other plugins one by one, try to locate the problem plugin/theme
3) If the problem still persists, please provide database dump file(ZIP file) of your website, you can put the package files in your own google drive disk, share the link only, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#2110771

My issue is resolved now. Thank you!