Thanks Tuan,
The integration with the Joomla groups plugin is what could work, but it is not ideal. I want that someone who registers for an event, get access to a certain categorie of articles. But for max 1 year. After that he has to pay.
With Membership Pro I can make plans for this:
one for 1 year free access and 1 for 1 year payed access. And Membership Pro sends automatic mails and ask the member to update or pay again. That is why I use Membership Pro.
Your solution will work but the admin has to remember who gets access and when an after a year he has to ask those people if they will stay longer or not. And the admin has to change the group rights per user.
I think this is something more people can use.
Someone visit an event (course, seminar, ....) and get free access to a part of a website for a fixed period. And after that you can update (and pay) to have longer access.
I have thought of a different approach: sell 1 year membership (user gets access to a group and can read the articles) and get free access to the event on a certain date. Every month I have several dates for the same event. I do not know a smart way to register the users for the right day.
That is way I choose to make the events leading (user has to register and pay) and give free membership for 1 year.)