Skip Navigation

[Resuelto] Login shortcode direct to wp-login php

This support ticket is created hace 6 años, 4 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Este tema contiene 17 respuestas, tiene 3 mensajes.

Última actualización por Akhil hace 6 años, 3 meses.

Asistido por: Nigel.

Autor
Mensajes
#1059656

hi there,

i enter simple standard shortcode for the login form fields.
however upon submissions its directing to wp-login.php .

is this normal ? How do i make to login as usual ?

using layout , code :

<div>
[wpv-login-form allow_remember="true" remember_default="true"]
</div>

thanks!

#1069204

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

Screen Shot 2018-07-31 at 10.45.30.png

Hi there

You haven't set any option for where to redirect after the login. You can set redirection URLs for successful and unsuccessful login attempts.

See https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-login-form

If you use the Fields and Views button to insert the shortcode you should see the options to set these (screenshot).

#1069291

hi from the docs:

By default, after an authorization attempt, both successful and not, it redirects users back to the same page where the shortcode was inserted.

so i assume if its not entered it should be back to same page,

btw i have custom admin login page plugin by Ithemes Security , does this affect this ?

#1069309

what is the best practise to create a login form ?
use cred form or shortcode ?

thanks

#1069311

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

The only Toolset way to create a login form is with the wpv-login-form shortcode.

If you are finding that the default behaviour is not being respected then another plugin may be interfering in the process, and if you have another plugin which customises the login then that seems likely.

Try disabling the other plugin and re-test to confirm whether it is a factor.

If it is, check the available settings for the plugin to see if you can disable just the functionality which affects the login.

Let me know what you find.

#1070288

Hi ,

Yes, ithemes security have this backend hide options, its causing the issue , let say i rename my backend login to "enlace oculto......../site_login" rather then the usual "enlace oculto......../wp-admin.php"

does this mean i cant hide my wp-admin / wp-login for security purpose at all if using toolset shortcode ?
i am sure there is workaround for this ?

thanks

#1071248

enlace oculto

#1071308

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

I installed the iThemes Security plugin to check but I couldn't find the settings to hide the backend (that video on the link you shared seems to be very out of date).

I would expect that you should be able to hide the standard WP login locations and still be able to use the Toolset login shortcode on a different page, but wasn't able to test.

If the default redirection back to the same page is not working, I would try explicitly setting the redirection attributes to see if that works.

If not I'll need to investigate further.

#1071477

Hi Nigel

its this. enlace oculto

thanks

#1071498

Hi, further info

this is my login page:enlace oculto

somehow i am able to login only using Email but not username . this happen only on this page,
at normal wordpress login url i can login using both. is there any setting in toolset that controlling this ?

i hope its same topics or issue are. thanks.

#1072441

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

The video on that page is the same as the video on the other page and is not up-to-date with the settings page I see when I activate the plugin, and I can't find the setting for Hide My Login, so I can't test this.

Perhaps you could just tell me where it is or show a screenshot of where to find it.

Let me repeat what I said above:

> If the default redirection back to the same page is not working, I would try explicitly setting the redirection attributes to see if that works.

Does it?

Regarding your last message, Toolset just uses the standard WordPress login functionality, it just lets you add the form in a different place, but still uses the standard form. There are no settings in Toolset for whether you can log in with username or email. Perhaps there are in iThemes security?

You should disable iThemes security and test again. Does it work correctly without it enabled?

#1074281

HI, the setting is at this link :
....wp-admin/admin.php?page=itsec&module_type=advanced

not sure why its not there for you.

ill try to disable Ithemes and see if its really solve the issue and revert soon. thanks.

#1074303

HI,
i ve disabled Ithemes but the issue remain, now i am suspecting my snippets to create login in the main menu might be the issue .

i am using this : enlace oculto , i need this to mask the logout url .

and this : enlace oculto [ to add login/logout with link to menu]

i hope there is no conflict, perhaps some custom error message is missing ?

thanks.

i have gravity form witht the registrations add-on its a good choice for creating login form ?

#1074930

Nigel on leave ?

#1074988

Hello, yes Nigel is on public holiday today and will return tomorrow to continue assisting you with this ticket. Thanks for your patience.