Hi !
Have OS Membership V1.6.5 installed but need to make a modification to 'Offline Payment' plugin so that it is only available as an option to members of one Joomla ACL group (Account customers).
Your forum article
joomdonation.com/forum/joom-donation/422...ser-group.html#42469
touches on the subject.
Looking at 'os_offline.php' I wondered if it where possible to simply add some code to a copy of the plugin like this :
< ? php
if
$user = JFactory::getUser();
$groups = $user->get('groups');
if(in_array(111, $groups)){ ? >
-- load the offline payment method ---
else
-- do nothing --
< ? }
?>
What do you think ? If good idea wondering what the correct syntax would be ??
Thanks & Regards - Paul Zero