Sauter la navigation

[Résolu] Automatically create a custom post during User registration

This support ticket is created Il y a 6 années et 4 mois. 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Ce sujet contient 37 réponses, a 2 voix.

Dernière mise à jour par Shane Il y a 5 années et 12 mois.

Assisté par: Shane.

Auteur
Publications
#1088590

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Sasan,

So its still giving the incorrect ID for the user. Its still giving the draft ID instead of the actual ID of the user that was created.

#1091506

Any solution Shane?

#1093077

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Sasan,

This code should work.

I'm currently looking at this again for you to see what exactly I can find. It should be noted that this was submitted to our team for improvements.

Thanks,
Shane

#1093093

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Sasan,

There definitely isn't anything we can really do at this stage since its clearly not working as intended.

Currently I see that there is an offset of 4 on the user ID's vs the draft ID's but we cannot guarantee that this is a fixed patter.

I've raised this concern with the team again and awaiting a response.

Thanks,
Shane

#1173251

Hi,

As there has been few updates now to the plugin. Wanted to check if there is any solution now?

Regards,
Sasank

#1176101

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Sasan,

I ran through our internal ticketing system and was able to find where our development team is making some improvements on this.

They are going to create the user with an empty role instead of having a draft ID. So you will be able to get the actual ID of a user when created.

This is set to be fixed in Toolset forms version 2.3

At the moment I dont have any idea when this update will be made.

Thanks,
Shane

#1178531

Thanks for the information Shane.

Hope it will be released soon, really need it!

Thanks,
Sasank

#1179112

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Sasan,

For the moment you can close this ticket as there isn't anything else that I can do since our development team will be working on it.

Thanks,
Shane