TOPIC:

BreezingForms and AcyMailing 6 months 4 weeks ago #256315

  • Topic Author
  • poldi171254
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 80
  • 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 6 months 4 weeks ago #256327

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 7381
  • Karma: 3
  • Thanks: 529
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 6 months 1 week ago #257343

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

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

BreezingForms and AcyMailing 6 months 3 days ago #257725

  • Topic Author
  • poldi171254
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 80
  • Thanks: 0
I'm still looking/waiting for a solution for this

Thanks

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

BreezingForms and AcyMailing 6 months 3 days ago #257734

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

could you please check this:
docs.acymailing.com/setup/subscription-t...o-subscription-field
With some adjustments you should be able to use it with Breezing Forms as well.

E.g.: instead of this part of code:
strip_tags($postData['EMAIL_FIELD']);
you should to use:
strip_tags(ff_getSubmit('email_repeat'));

Hope this helps

P.S: I am really crowded with support cases, so I will try to check the code deeper this week

Thanks for understanding

Regards,
Tihana

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

BreezingForms and AcyMailing 4 months 3 weeks ago #259720

  • Topic Author
  • poldi171254
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 80
  • Thanks: 0
Hi Tihana,

Has there been any progress?
Thanks,
Leo

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

Moderators: ForumSupport
Time to create page: 0.051 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!