TOPIC:

BreezingForms and AcyMailing 3 weeks 2 days ago #256315

  • Topic Author
  • poldi171254
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 76
  • Thanks: 0
I have changed the code for version 7
$this->execPieceByName('ff_InitLib');
include_once(rtrim(JPATH_ADMINISTRATOR,DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'com_acymailing'.DIRECTORY_SEPARATOR.'helpers'.DIRECTORY_SEPARATOR.'helper.php');

    $userClass = new UserClass();
    $subscribe = [2]; // Id of the list you want the user to be subscribed
    $acyUser = $userClass->getOneByEmail($myUser->email); // Get the AcyMailing user from his email address
    
if(!empty($subscribe)){
    if(ff_getSubmit('SubscribeNewsletter')!=''){
    	$userClass->subscribe($acyUser, $subscribe);
    }
    
}

This gives me a class not found error during registration for UserClass. I think it's because the Acymailing doc say to
use AcyMailing\Classes\ListClass;
but I don't know where in the End submit piece of the Form this should go.

Please Log in or Create an account to join the conversation.

BreezingForms and AcyMailing 3 weeks 2 days ago #256327

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 4963
  • Karma: 3
  • Thanks: 356
Hi,

I will test it, and get back to you

Regards,
Tihana

Please Log in or Create an account to join the conversation.

BreezingForms and AcyMailing 3 days 6 hours ago #257343

  • Topic Author
  • poldi171254
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 76
  • Thanks: 0
So what was the outcome of the test?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.084 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!