Other Plugins

Acymailing Campaign

  • Adriano
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 4 months ago #1 by Adriano
Acymailing Campaign was created by Adriano
Antonio.

I'm having difficulty operating the Campaign AcyMailing. I've done everything but doesn't work.
Customers buy a course normally, it updates the AcyMailing, but doesn't send Welcome Messages and also doesn't receive the messages programmed in the campaign. I already tried inserting a student manually in Moodle, but also doesn't work.
Usually the campaigns of new users are entered into the queue to send scheduled emails, but if the students do not.

Other campaigns work, except students from Moodle. I'm forgetting something?

Adriano

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

More
10 years 4 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Acymailing Campaign
Hi Adriano.

I have never used campaigns, so I don't really know how they work (I just googled it to have an idea)

If you manually create a user in Joomla, and manually add him to the list linked to the campaign, does he receive the message?

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

  • Adriano
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 4 months ago #3 by Adriano
Replied by Adriano on topic Acymailing Campaign
Hi Antonio.

If I manually create a user in Joomla, and manually add him to the list linked to the campaign, they receive the message, but user in the moodle doesn't. It is very strange, because all works, except students from Joomdle.

Adriano

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

  • Adriano
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 4 months ago #4 by Adriano
Replied by Adriano on topic Acymailing Campaign
Antonio.

I've done all possible tests, it works absolutely everything except Moodle users. The only thing that happens is students appear in the list, but that's all. The message "Welcome" does not work. This message works when a New subscribers enters a list, except Moodle.

It makes no sense to get subscribed in the list if there is no way to send email automatically.
Antonio, you can see that for me, please? This is very important for us.

Adriano

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

More
10 years 4 months ago #5 by Antonio Durán
Replied by Antonio Durán on topic Acymailing Campaign
Hi Adriano.

I had never used Acymailing Enterprise, so I had to install it and play with it a little to see what was going on.

It seems I have made it work with campaings now. You will need to make a code change, as this won't be included until next Joomdle release.

File to change is: administrator/components/com_joomdle/helpers/acymailing.php
You need to replace function add_sub() by this one:
Code:
static function add_sub ($list_id, $user_id) { require_once(JPATH_ADMINISTRATOR.'/components/com_acymailing/helpers/helper.php'); require_once(JPATH_ADMINISTRATOR.'/components/com_acymailing/helpers/list.php'); $sub_id = JoomdleHelperAcymailing::get_sub_id ($user_id); // Should not happen after syncing joomla users at acymailing install if (!$sub_id) return 0; $db = JFactory::getDBO(); $listsub = new JObject (); $listsub->listid = $list_id; $listsub->subid = $sub_id; $listsub->subdate = time(); $listsub->status = 1; $status = $db->insertObject(acymailing_table('listsub'),$listsub); $class = new acylistHelper (); $class->subscribe ($sub_id, array ($list_id)); return $status; }

Please test and let us know how it works for you.

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