Hi,
Is there a direct way to do that?
this is not possible natively
1) I have the possibility to execute a php-script in membership pro, when a user has paid a subscription (is it possible to change values in easy profile by php script?
Yes, see how to at
http://docs.easy-profile.com/index.php/article/jsnuser-object. Keep in mind that all membership component should allow you to launch a SQL query, so it is easier to change the value directly into the table.
2) The users will be added to a different joomla user group when the have a paid subscription. Is it possible to use this as a help?
You can't use search on usergroup (this is because we do not want to expose Joomla usergroups). But you can create a User List with a static filter based on usergroups, see docs and examples at
http://docs.easy-profile.com/index.php/article/sql-custom-where. If you use this solution then you need to create a menu item of type Easy Profile->Users List for each Usergroup.
- ... do you see a different approach?
mmh, no sorry, the best ways are explained above, if you need to have a search then you need to use solution 1, if you need to have different lists then is better solution 2**
** "SQL custom where" parameter allow you to set a static filter for the Users List with a simple query like "group_id IN (ID1,ID2,...)". But you can also use a complex query to get users with active subscription from membership pro DB table (see example to get online users at
http://docs.easy-profile.com/index.php/article/sql-custom-where).