Hello,
CB_SUBS : 3.0.0 .
Joomla : 2.5.16
CB : 1.9.1
I have a problem with cbsubs . I wish I could add to my group_id user when the subscription expires or when during the deactivation
I create an action SQL INSERT IGNORE INTO ` # __user_usergroup_map ` (` user_id `, ` group_id `) VALUES ( [ user_id ] , 18) ;
I also tried with URL action.
But it does not work . Updating my database during the operation, I can see that the group 18 is added in usergroup_map well for my user but at the end of the operation the groups are deleted and I can not see that the default group ' REGISTERED .
CB_subs must reset the groups at the end of the operation .. How can do we bypass this problem?
I want my subscriber pass ' Registered , Premium' ( when it works well it subscribes both groups) , to ' Registered , Expired ' upon expiration or deactivation .
This allows me to display different pages depending on the group .
For persons registered subscriber but not , they will remain under Registered .
Otherwise ' my solution is to insert into table with the user_id and group_id with SQL_ACTION and create a cron that would canner this table and add the group_id in usergroup_map . Except that it bothers me because for at least 1 min , the user will not have the right group ...
Do you have a solution ? Why CB_subs not only remove the group chooses Subscribers in User access level settings
but it resets everything to add the default group ' Registered ?