• Resolved vcanteli

    (@vcanteli)


    Hola Javier!

    I have a multisite installation. When I import users to a subsite and use **passwordreseturl** in the email template, users get the url for the main site, not the correct subsite url. I use this to force users to change their passwords before they login to the site for RGPD reasons.

    Thanks for your awesome work.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Javier Carazo

    (@carazo)

    The problem here is that you can assign the user to a multitude of sub-sites with the blogs column. So that data would not know which site to reference. That’s why it references the main site.

    As every sub site has a blog_id, we can create a new wildcard:

    **passwordreseturl_%blog_id**

    Where the blog id would be an integer that refers to the subsite are you referring to.

    What do you think?

    Thread Starter vcanteli

    (@vcanteli)

    That would be awesome!

    Thread Starter vcanteli

    (@vcanteli)

    Also, I think that, from the normal user point of view, when importing users to a subsite, the default behaviour for **passwordreseturl** should be to get the url for that subsite. But I am not a developer, so I don’t know if that makes sense…

    Thread Starter vcanteli

    (@vcanteli)

    Any thoughts @carazo ?

    Plugin Author Javier Carazo

    (@carazo)

    The problem here is that blogs is a list of subsites… so if there is only one subsite it can makes sense but not in the case when the user is registered in many subsites.

    I am really busy… and this is free project but I will try to have it done asap.

    Thread Starter vcanteli

    (@vcanteli)

    Very good point, Javier, I should have thought about that issue.

    I’ll contact you directly. I want to know your availability for some projects.

    Thanks a lot.

    Plugin Author Javier Carazo

    (@carazo)

    OK when you want.

    I will try to have it done asap and I will include how it will work in the documentation tab.

    I will write it here.

    Plugin Author Javier Carazo

    (@carazo)

    You have it done in verrsion 1.12.4.

    Thread Starter vcanteli

    (@vcanteli)

    That is fantastic, I’m going to test it and I’ll get some feedback for you.

    Thank you very much, Javier!

    Thread Starter vcanteli

    (@vcanteli)

    Although I’m sure you mean version 1.21.4 ??

    Plugin Author Javier Carazo

    (@carazo)

    Yes :), could you check it?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Multisite **passwordreseturl** question’ is closed to new replies.