With the User Changer Extension you can add User Groups to your Users after a specified time.
User Changer Actions
You can add now actions, which are executed automatically from the cronjob.
(Components → User Changer → Actions)
In the actions view of the Joomla! Component you can find all actions and also when they will be executed!
Add a new User Group to a User
You need to create and connect your Joomla! User Group and Access Level before you can add new Actions in User Changer!
Click in the actions view on New to add a new action!
- Name
Just give an actions name. - Action
Choose the Action "Add User Group"!
Just write a message if you need more actions! - Source User Group
Select the User Group, where your User is at first to start the Action. - Target User Group
Select the User Group which should get added to the User after a time. - Value (in days)
At least, insert a value in days, when the User Group should be added.
The function based on the Register Date!
Check proper function
If you want to check correct function, just add a new User with the Source User Group.
You have already seen how to simulate the cronjob on settings site!
http://YOURDOMAIN.TLD/index.php?option=com_userchanger&task=cronUpdate&cronKey=YOUR-CRON-CODE
Currently the Users "Register Date" haven´t exceeded the actions value so now action should be executed:
Please change the "Register Date" to an older date which is outside the actions value and execute the URL again:
(You cannot modify at the moment this value in the Joomla! Backend!
You can choose an older User or you modify the register date directly in the registerDate column of the #__users Table inside the database!
But have a look for the right syntax!)
Now the User should be added with the new User Group.