We have now opened a commercial services section here on the forum for registered users. If you have a Fabrik project that you wish to have someone work on for you, post it under Help Wanted. If you are an application developer and wish to earn some money helping others, post your details under Fabrik Application Developers.
Both of these are unmoderated. It will be up to both parties to work out the details and come to an agreement.
For running J!5.1 you must https://fabrikar.com/forums/index.php?wiki/update-from-github/ or include the new file manually https://fabrikar.com/forums/index.php?threads/joomla-5-1-and-fabrik-cannot-find-files-error.54473/post-285151 See also Announcements
$myEmail = '{yourtable___youremail}';
if (!empty($myEmail)) {
$url = COM_FABRIK_LIVESITE . "index.php?option=com_acymailing&ctrl=sub&task=optin&hiddenlists=2&user[email]=" . $myEmail;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie.txt');
$data = curl_exec($ch);
curl_close($ch);
}
$myEmail = '{yourtable___youremail}';
if (!empty($myEmail)) {
if (! include_once JPATH_ADMINISTRATOR . '/components/com_acymailing/helpers/helper.php')
{
throw new RuntimeException("Acymailing not installed");
return false;
}
$myUser = new stdClass();
$myUser->email = $myEmail;
//If you require a confirmation but don't want the user to have to confirm his subscription via the API, you can set the confirmed field to 1:
//$myUser->confirmed = 1;
$subscriberClass = acymailing_get('class.subscriber');
$subid = $subscriberClass->save($myUser);
$newSubscription = array();
$newList = array();
$newList['status'] = 1;
$newSubscription[2] = $newList; // Replace 2 with the ID of the list.
$subscriberClass->saveSubscription($subid,$newSubscription);
}
$myEmail = '{yourtable___youremail}';
$myName = '{yourtable___yourname}';
if (!empty($myEmail)) {
if (! include_once JPATH_ADMINISTRATOR . '/components/com_acymailing/helpers/helper.php')
{
throw new RuntimeException("Acymailing not installed");
return false;
}
$myUser = new stdClass();
$myUser->email = $myEmail;
$myUser->name = $myName;
//If you require a confirmation but don't want the user to have to confirm his subscription via the API, you can set the confirmed field to 1:
//$myUser->confirmed = 1;
$subscriberClass = acymailing_get('class.subscriber');
$subid = $subscriberClass->save($myUser);
$newSubscription = array();
$newList = array();
$newList['status'] = 1;
$newSubscription[2] = $newList; // Replace 2 with the ID of the list.
$subscriberClass->saveSubscription($subid,$newSubscription);
}