By Engefaz Engenharia Ltda on Wednesday, 10 January 2018
Posted in General Issues
Likes 0
Views 761
Votes 0
Hi,

I have activated Mailchimp integration and it's working well. Every new notification from Easyblog creates a Campaign in my MailChimp acocunt. The Campaign is created with the full Blog Title. BUT, the Subject line is being truncated.

For example:

When the blog title is:
"E Quando A Causa Se Esconde Sob BAIXÍSSIMA Frequência?"

The Subject line appears as:
"E quando a causa se escon..."

Also, Preview Text seems to be blank at Mailchimp.

How can I fill the Subject Line with the full title and customize the Preview Text?

Regards.

Find images attached.
Hi there,

Can you provide with mailchimp access as well for troubleshoot this?
And before that can you try to replace the attached file below to same file directory as previously:
.../administrator/components/com_easyblog/includes/mailchimp/mailchimp.php
and retry again.

You're suggested to backup the file that you want to replace beforehand for precaution
·
Wednesday, 17 January 2018 11:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Kindly find my response for your inquiries below:
How can I fill the Subject Line with the full title

The title length actually can be configure in the setting>notifications>blogs: http://take.ms/TLkrm

customize the Preview Text?

I've tried to replicate this issue in our end, it seems like the preview text(your 1st screenshot) was not yet parse into mailchimp. I've logged this to our issue tracker and see how our developer can do for it

Thanks for your understanding
·
Wednesday, 10 January 2018 16:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Blog Title is solved.

As soon as I get any response from the team about the preview text, please let me know.

I really appreciate your support!

Many thanks!

Davi
·
Wednesday, 10 January 2018 21:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Davi,

Thanks for updating us on this. I have added a note into our issue tracker and as soon as our developer has a fix for this, Fadhli would update you on this thread.
·
Wednesday, 10 January 2018 22:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Davi,

Our developer has been fix the preview text to be pass in into mailchimp now
Can you download the attached file below and replace it in the:
.../administrator/components/com_easyblog/includes/mailchimp/mailchimp.php
and see how it goes?

You're suggested to backup the file that you want to replace beforehand for precaution
·
Thursday, 11 January 2018 12:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I have tested the file attached and here follow the results.

The Preview Text is being filled correctly now, BUT the campaign is being generated as a draft and it seems the content of the email is blank.

Previously, the campaign was being generated and had the status automatically set to "sent"

Now the campaing keeps as a "draft" and seems it's becasuse the content.

Find attached a print.

Regards.
·
Friday, 12 January 2018 20:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

I've tested this issue using the fix file that I've given to you, it seems not go to 'draft' state where it was works perfectly fine for me: http://take.ms/91X9s
Perhaps, can you give us the access to your site, FTP access and mailchimp to check this issue further?
·
Monday, 15 January 2018 10:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

I tryied again but I couldn't get it working. With the previous version, campaigns were sent but having Preview Text empty. With the mailchimp.php version attached, I have preview text filled but the content is blank and so the campaign keeps as a "draft"

Could you help checking this issue?

Here follow the credentials:

http://staging2.engefaz.com/

The staging area is password protected by htaccess:
Username: brasilvi_staging
password: sttgENG54$

http://staging2.engefaz.com/administrator
username: davi.fabiano
password: stacksupport

FTP:
host: http://www.engefaz.com
username: stackideas@brasilvib.com
password: #Ksg?B)FI8o}

Many thanks
·
Wednesday, 17 January 2018 04:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

It didn't work with this latest file attached as well.

Here are the credentials to mailchimp account:

username: engefaz
password: St@cksupport1

I appreciatte your attention.

Regards.
Davi Fabiano
·
Thursday, 18 January 2018 22:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Engefaz,

I've done 2 testing here using my mailchimp and yours mailchimp:

[using my mailchimp]:
It seems sent it correctly without mark it as draft: http://take.ms/XIfhV

[using your mailchimp]:
I realise that there is no recipient to send out: http://take.ms/zA3QN

In order mailchimp to send out the newsletter it should have valid subscriber
·
Friday, 19 January 2018 17:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Actually the staging environment was pointing to the wrong list which had no subscribers. Sorry about that.

But I have found that there is still an error with this new version regarding to the usage of custom email templates.

Sorry but I just realized now there were two differences on the staging are comparing to the production environment.

1. The staging are was pointing to the wrong list, which has no subscribers
2. The staging are was not configured to send the custom email html template

Now I have made this two changes to the staging and it is equal to the production.

Then, after repeating the tests I could conclude:

At the path staging/2/administrator/components/com_easyblog/includes/mailchimp/ we have two versions of mailchimp.php file.

1. mailchimp.bkp: is the old version which creates the campaign and can send the email successfully, BUT Preview Text field is BLANK.

2. mailchimp.php: is the new version that HAS Preview Text filled correctly and CAN send email successfully IF there is no custom email template. As I have now placed a new file at /home/brasilvi/staging/2/templates/purity_iii/html/com_easyblog/emails/html/post.new.php to override the original email template. Using this version now we have the Preview Text filled but the Content is Blank, and so the campaign stay as Draft.

Can you verify if my assumption is right

Thanks again!

Davi Fabiano
·
Friday, 19 January 2018 19:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

2. mailchimp.php: is the new version that HAS Preview Text filled correctly and CAN send email successfully IF there is no custom email template. As I have now placed a new file at /home/brasilvi/staging/2/templates/purity_iii/html/com_easyblog/emails/html/post.new.php to override the original email template. Using this version now we have the Preview Text filled but the Content is Blank, and so the campaign stay as Draft.

Regarding this question, can you try temporary rename this post.new.php file and check again whether that Content still showing Blank?

Since I was unable to connect with your FTP server, so I am not really sure what is the changes you made on this email file.

If you renamed this file, it still showing Blank content, then it might be some where wrong from the core code.

Can you update your correct FTP login credentials so we can better have a check?

This is what i hitting when i trying to connect with your FTP server :

Command: PASS ************
Response: 530 Login authentication failed
Error: Critical error: Could not connect to server


By the way, my colleague Fadhli is not around during weekend, but I will remind him to follow up this thread on Monday as well.
·
Saturday, 20 January 2018 12:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

thanks for returning again.

Monday is fine for me, no worries...

Here are the right ftp credentials:

FTP:
host: http://www.engefaz.com
username: stackideas@brasilvib.com
password: #Ksg?B)Fl8o}

Find attached the results of both versions of mailchimp, in which I have repeated the tests with and without my custom email template.

Hope it helps. Anything else, please let me know. Regards.
·
Sunday, 21 January 2018 02:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Engefaz,

Yes, I've tested the latest patch with your customized email override in your site seems doesn't send (stay on draft state).
However, I've tried to copy out your customized email and make it override as well on my local seems to works fine: http://take.ms/ZxZes
I've tried to make a new blog post, seems there some issue in the composer, would you mind to re-install EasyBlog in your staging site? and we will try to test into your site again?
·
Monday, 22 January 2018 12:54
·
0 Likes
·
0 Votes
·
0 Comments
·
hI Muhammad,

I have reinstalled the easyblog version com_easyblog_full_pro_5.1.15_joomla.zip at the staging area.

The file staging/2/administrator/components/com_easyblog/includes/mailchimp/mailchi
mp.php is now the original one. It sends the campagin but the Preview Text is blank.

The composer to make new posts is fixed.

Anything else I can help, please let me know.

Davi
·
Tuesday, 23 January 2018 22:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Davi,

Thanks for your cooperation
It seems like the email override was using char that where for some reason in your site it cannot be encode.
I've change the copyright char to use entity: http://take.ms/XtKw9
and it works fine now.

Can you give it another try?
·
Wednesday, 24 January 2018 11:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Perfect!

Everything working now!

Many thanks!

Davi
·
Wednesday, 24 January 2018 21:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Davi and glad that your issues are resolved now
·
Wednesday, 24 January 2018 22:15
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post