Hi,
We have a Joomla 1.5 site running CB Subs 2.0.2 and CB 1.8.1.
We have set up a CB List that displays all the Users in the system, and you have to be logged in to View user Profiles. What we would like to do, is make it so only users with a current valid paid up subscription can view other user's profiles. We have a CB field that is checked when the user has a vaild subscription and unchecked when their subscription expires or they have just registered on the site. See:
www.staging.stuntlist.com/west-members, the View Profile link on each subscribe needs to be changed if the person logged in doesn't have a valid subscription.
So, in /components/com_profiler/plugin/templates/custom/custom.php in
function _getUserListCell( &$cellFields ) we need to be able to access this CB paid field and see how it is set to determine if we show the View Profile link or we show a link that takes the user to a page that tells them they need to subscribe to view profiles. I see that the function _getUserListCell( &$cellFields ) has a global $my variable. Is there a way to get the CB paid field value using $my?
Thank you for any help on this.