Hello,
We want to limit access to dtregister registration to active members of two plans (view access is allowed for every one). We only have a few events per year. We solved this in the past by limiting CMS Extensions access using "By URL parts".
Since one of the latest upgrades, the regex does not work anymore (even if your membership is expired, you can register)
Code:
option=com_dtregister&Itemid=/[0-9]*/&eventId=/[0-9]*/&controller=event&task=individualRegister/(.*)?/
option=com_dtregister&itemid=/[0-9]*/&eventid=/[0-9]*/&controller=event&task=individualregister/(.*)?/
option=com_dtregister/(.*)?/&controller=event/(.*)?/
We even tried
option=com_dtregister&/.*/&task=individualRegister
The only thing that works is when we use "hardcoded" links (without the regex)
Code:
option=com_dtregister&eventId=197&Itemid=99999&task=register&controller=event
option=com_dtregister&Itemid=838&eventId=197&controller=event&task=individualRegister
Unfortunately the itemid in the second url is user based, so that one only works for my user.
We don't see any warnings in the logfiles.
PHP 7.0.20
Joomla: 3.7.2
CB: 2.1.2
CBSubs: 4.1.0+build.2017.05.19.15.39.30.520d1fe23
CBSubs Content: 4.1.0+build.2017.05.19.15.39.30.520d1fe23
cbpaidsubsbot : 4.0.1
Kind regards,
-Erik