Hello...
this situation is a bit complex so i will do my best to be as more specific as possible.
2 sites share the same database and users.
1) MainSite
2) ParallelSite
In previous versions of CbSubs i could modify file /public_html/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/plugin/cbsubscontent/cbsubs.content_access.php
in the following way:
$redirectUrl = '
www.ParallelSite.com/index.php?option=com_comprofiler&task=pluginclass&plugin=cbpaidsubscriptions&do=accessdenied
' . getCBprofileItemid( false);
so that when a user of the Main site was redirected to pay, he was transferred to the Parallel site and he made the payment.
In the latest CbSubs versions things got a bit more complicated (at least for me that i am not a php expert)
So now we have...
$redirectUrl = $_CB_framework->pluginClassUrl( array( 'plugin' => 'cbpaidsubscriptions', 'do' => 'accessdenied' ), false, $redirectVars );
How can we change the $redirectUrl point to "
www.ParallelSite.com/index.php?option=com_comprofiler&task=pluginclass&plugin=cbpaidsubscriptions&do=accessdenied
" like we did in older versions?
Please advise...
Thank you in advance!