Import events - assign joomla user group on registration?

  • Finn Christensen
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 6 months ago #138764 by Finn Christensen
Hello
I am preparing an Excel file with a lot of events - done it before and it usually works

But now I realize that I need the import file with events to have a column that selects what joomla user group new registrants to the events should be assigned to. How do I do that?
I need the title for this column, and do I then put in the "name" of the user groups or the id number of the user groups?

I hope it is possible to select the joomla user group to use for registrants on each event I import...…??

Thanks

Finn

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #138778 by Tuan Pham Ngoc
Hi Finn

You can add a column called params in the import file. Data for this column has this JSON format:

{"joomla_group_ids":"3,5"}

(replace 3,5 with ID of the user groups which you want registrants of that event to be assigned to)

Then check the result. It should work well

Tuan

Please Log in or Create an account to join the conversation.

  • Finn Christensen
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 6 months ago #138785 by Finn Christensen
Replied by Finn Christensen on topic Import events - assign joomla user group on registration?
I think that works - you are a GENIOUS!!!! :)

Thank you so much :)


Finn

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #138786 by Tuan Pham Ngoc
You're welcome :)

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc