Skip Navigation

[Resuelto] configure messenger system, Author archives

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:

Setup links with View's shortcode.

Solution:

You can try with a WordPress built-in shortcode block, for example:

https://toolset.com/forums/topic/configure-messenger-system-author-archives/#post-2128503

Relevant Documentation:

https://wordpress.org/support/article/shortcode-block/

This support ticket is created hace 2 años, 8 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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 13 respuestas, has 2 mensajes.

Last updated by mauricioH-2 hace 2 años, 8 meses.

Assisted by: Luo Yang.

Autor
Mensajes
#2122769

Tell us what you are trying to do?
modificar link de logeo
Is there any documentation that you are following?
yes
Is there a similar example that we can see?
no
What is the link to your site?
psicolat.com

#2123125

Hello,

It is English support forum, please elaborate the question with more details: modificar link de logeo

Where and how do you want to modify the login link?

You can follow our document to create a page, display the login form, and in other pages, display above page link.

More help:
https://toolset.com/course-chapter/member-login-and-account-management/
Member login and account management

#2123313
Captura de Pantalla 2021-07-23 a la(s) 09.05.20.png
Captura de Pantalla 2021-07-23 a la(s) 09.00.49.png
Captura de Pantalla 2021-07-23 a la(s) 08.58.17.png

Hello Luo, I tell you that I have followed the documentation of the messaging system module published in the following Link:https://toolset.com/documentation/legacy-features/miscellaneous/how-to-create-a-messaging-system-with-toolset/
https://toolset.com/wp-content/uploads/tmp/Captura_de_Pantalla_2021_07_23_a_la_s_08.58.17.png
everything works very well. I only have problems in replacing the link in the "author archive" and changing the texts so that they appear in Spanish.

https://toolset.com/wp-content/uploads/tmp/Captura_de_Pantalla_2021_07_23_a_la_s_09.00.49.png

#2123339
Captura de Pantalla 2021-07-23 a la(s) 09.13.41.png
Captura de Pantalla 2021-07-23 a la(s) 09.10.21.png

For some reason the text that I have changed is not reflected in the "fornt end" it continues to appear in English.
and the other most important thing is how I change the login link. since by default it takes me to a non-existent page.

https://toolset.com/wp-content/uploads/tmp/Captura_de_Pantalla_2021_07_23_a_la_s_09.10.21.png

https://toolset.com/wp-content/uploads/tmp/Captura_de_Pantalla_2021_07_23_a_la_s_09.13.41.png

#2124913

I assume you are using WPML plugins to translate your website, if it is, please try these:
1) Wrap the log in text with [wpml-string]...[/wpml-string] shortcodes, for example:

[wpml-string]Login[/wpml-string]

2) Then follow our document to translate it into other lanauges:
https://toolset.com/documentation/translating-sites-built-with-toolset/wpml-string-shortcode/

For the problems in replacing the link in the "author archive", since it is a custom codes problem, please provide a test site with the same problem, fill below private message box with test site login details, also point out the problem page URLs, where I can edit your PHP codes, I need a live website to test and debug

#2125013

I can login into your website, but it seems that it is not an admin account, please check it, also point out the problem page URLs and where I can edit your custom PHP codes, thanks

#2126643
Captura de Pantalla 2021-07-27 a la(s) 09.29.11.png
Captura de Pantalla 2021-07-27 a la(s) 09.25.30.png
Captura de Pantalla 2021-07-27 a la(s) 09.23.43.png

Sorry, it seems that I have activated an option that restricts access to users other than the administrator. You should now be able to access the wordpress administrator.

the php codes are here:
https://toolset.com/wp-content/uploads/tmp/Captura_de_Pantalla_2021_07_27_a_la_s_09.23.43.png

and specifically here:
https://toolset.com/wp-content/uploads/tmp/Captura_de_Pantalla_2021_07_27_a_la_s_09.25.30.png

este es elvinvulo que
hidden link

This is the link that allows you to access the message. It will ask you to register. As you can see, the text is still in English (this was changed to Spanish in "archive message") and when used it leads to a wrong page, which I want to change to a valid user record.

https://toolset.com/wp-content/uploads/tmp/Captura_de_Pantalla_2021_07_27_a_la_s_09.29.11.png
thanks for your help Luo

#2127573

Thanks for the details, I am checking it in your website, will update here if find anything

#2127583

I can see the problems in your website.

In the problem URL:
hidden link
You mentioned above, it is using content template: Message - single item:
hidden link
And the English link was setup in above content template:

In order to view your message please log in.

I have tried to modify above link, it does not work in your website, are you using other cache plugin in your website?
Please try to deactivate all other plugins, switch to WP default theme 2021, and test again

#2127697

thank Luo,I
have deactivated the plugins related to the cache, you can already see the change.
Now, it is necessary to change the link to the corresponding registration page, because if you are not logged in, it offers you an incorrect link, a page that does not exist.

#2128409

I have tried again with credentials you provided above:
https://toolset.com/forums/topic/configure-messenger-system-author-archives/#post-2124993

It is not valid, I get these error message:
Lo siento, no tienes permisos para acceder a esta página.

Please check it, make sure it is a valid admin account.

And you just need to edit the content template: Message - single item:
hidden link

Translate the text into Spanish:

In order to view your message please log in.

And change the log in link to where you want.

#2128411

I have already made the change to give administrator permission. sorry. See if you can check it one more time. although it is already clear to me how to make the change.
regards

#2128503

OK, I can login into your website now, can you translate the text and change the link now?
Your website isn't in English, which one is the login page?
For example if the login page is below URL:
hidden link
You can add a shortcode block, with below codes:

[toolset_access role="Guest" operator="allow"]
In order to view your message please <a href="[wpv-bloginfo show='url']/identificarse/">log in Spanish</a>
[/toolset_access]

You need to clear your website cache and test again

#2128805

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.