By Trevor Dooley on Tuesday, 01 September 2015
Posted in General Issues
Replies 35
Likes 0
Views 1.4K
Votes 0
Hello,

I am using MailChimp to send emails when posts are published. But I do not want the cover photo included or in the actual post since I place the image lower in the blog.

How would I get rid of that image? Is there a line of code that I would be able to comment out to do this? Thank you!

~Trevor
Hey Trevor,

Hm, which version of EasyBlog are you running on the site currently?
·
Tuesday, 01 September 2015 23:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mark,

I am using version 5.0.22

~Trevor
·
Tuesday, 01 September 2015 23:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Trevor,

Here's what you could try, edit the file /components/com_easyblog/themes/wireframe/emails/html/post.new.php and locate the codes below,


<?php echo $blogIntro; ?>


Replace it with,


<?php echo strip_tags($blogIntro); ?>
·
Wednesday, 02 September 2015 00:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mark,

I gave that a try, but it doesn't appear to have made any change. I am also using the Vintage theme. I'm really looking to take the div with the class "eb-post-thumb is-left " out of the post. I know that they are both used in the Featured section, so I'm not sure if they can be targeted strictly for the post itself. I was able to make is set to display:none with CSS, but it still displays in emails since they pull content from the RSS feed.

~Trevor
·
Wednesday, 02 September 2015 01:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Trevor,

I am sorry that delay of this reply,

Perhaps you can provide us with your Joomla backend, email content screenshot and FTP access so we can better have a look.
·
Thursday, 03 September 2015 18:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey,

Sorry for the delay. I have attached the information that you requested, including the screen shot of the email. You'll see two of the same image appearing in the email; the being the cover image that I would like to be removed. Thank you!

~Trevor
·
Friday, 11 September 2015 21:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Trevor,

I am really sorry for the delay of this reply as it weekends for all of us here. It seems like the provided joomla credentials is not working for me. Check my screenshot here, http://screencast.com/t/DBmYfRvHGL .

Please advise.
·
Monday, 14 September 2015 13:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Ezrul,

I forgot to enable the info. Everything should be good to go now. Sorry about that!

~Trevor
·
Wednesday, 16 September 2015 19:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Trevor,

This time I am able to login to the site but the access which you provided does not have permissions to access parts of EasyBlog. All I see is this, http://screencast.com/t/YSfixx2I . Can you please set the user with super administrator privileges?
·
Wednesday, 16 September 2015 20:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mark,

You're now set as a super user.

~Trevor
·
Wednesday, 16 September 2015 20:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Trevor,

I am really sorry for the delay of this reply as it public holiday for all of us here in Malaysia.

Can I have the permission to create a test post on your site so I can see the result content directly inside my email address?
·
Thursday, 17 September 2015 16:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ezrul,

That's fine. Would it work if you post it as "Viewable By Registered Users"? If not, that's okay.

~Trevor
·
Thursday, 17 September 2015 22:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Trevor,

I am really sorry that delay of this reply,

I've checked in your site today, but suddenly pop up this htaccess permission message after refresh the page.

By the way, I noticed you have integrate with mailchimp, can you provide us with your mailchimp access as well?
·
Friday, 18 September 2015 10:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Arlex,

I have personally contacted MailChimp about this issue and they said that there is something in the RSS that needs to be taken out because that's where the information is taken from and that there is nothing to do on the their end. I have tried to comment out various parts of the code that has to do with images, but I couldn't find it. From my conversation with them, is should be as simple as that.

~Trevor
·
Friday, 18 September 2015 19:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Trevor,

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

Perhaps you can create a new subscription ( my email arlex.wong@stackideas.com) in your mailchimp, so I can do some test post and see is it can reproduce this shown double image in email content?
·
Sunday, 20 September 2015 22:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Arlex,

I sent you an email earlier with a forward of the automated email. You are also subscribed.

~Trevor
·
Thursday, 24 September 2015 01:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Trevor,

I am really sorry that delay of this reply,

I've checked my mailbox after I submitted a new post "This is a test post please ignore" with post cover in your site, but my email content doesn't include the image, perhaps you can take a look of your email notification regarding this test post?
·
Sunday, 27 September 2015 10:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Arlex,

I received that email, but that's not the template from MailChimp. I will make you a user account in MailChimp so you can take a look and test yourself. Look for an email shortly. There is already a campaign setup with the template I am using.

~Trevor
·
Thursday, 01 October 2015 21:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Trevor,

Thanks for getting back to us, but I still getting the same email template generated from Easyblog instead of your mailchimp email template (I already subscribed), you can take a look of my screenshot below.

Perhaps you can access your Mailchimp campaigns listing page then click one of the campaigns and copy the html source for us. (check my last 2 screenshots)
https://us11.admin.mailchimp.com/campaigns/

So we can try to check the html source which generate this 2 post cover in your email content.
·
Friday, 02 October 2015 10:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Arlex,

I can't figure out why it is using EasyBlog's template. Was there a setting that you might have changed that would override that? It was using MailChimp's template prior to your investigation. Thank you!

~Trevor
·
Thursday, 08 October 2015 19:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Trevor,

I am really sorry for the delay of this reply as we have been overwhelmed with the support since the release of easysocial 1.4 and we are currently short handed.

I've tried to create a new blog post in your site called `This is test post please ignore`, may i know did you receive a new post email notification? Because I already wait for half and hour, but I didn't receive any email notification for this new post, If I recall correctly, my email address arlex.wong@stackideas.com already subscribed on your site right?

if you received that new post email notification, can you forward to me? And see is it still having duplicate image issue?
·
Monday, 12 October 2015 17:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Arlex,

I received that email, but it was in the EB template and not MailChimp. I forwarded that email to you.
The email is set to be sent automatically at 10AM Mon-Fri from MC, if there is a new post.

~Trevor
·
Wednesday, 14 October 2015 22:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Trevor,

By default, EasyBlog will use it's own template rather than Mailchimp's template. When a new blog post is created, EasyBlog will send the entire html codes to Mailchimp and use that as the campaign.
·
Wednesday, 14 October 2015 23:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mark,

Then how do I rectify this? It was using MailChimp's template before and now it is defaulting to EB's template.

~Trevor
·
Wednesday, 14 October 2015 23:59
·
0 Likes
·
0 Votes
·
0 Comments
·
EasyBlog never uses Mailchimp's template to send out notification. It always uses it's own email template and sends a notification to Mailchimp's API to send out the newsletter.
·
Thursday, 15 October 2015 00:03
·
0 Likes
·
0 Votes
·
0 Comments
·
So is there an issue maybe with the RSS? I haven't set up an automated notification through EB. I only set it through MC.

When setting up the campaign on MC I got a notification saying that it was an incorrect RSS feed, but I resubmitted it and it worked. But now when I test it, it just sends the framework for the email without any content from the post.

~Trevor
·
Thursday, 15 October 2015 00:12
·
0 Likes
·
0 Votes
·
0 Comments
·
What I am actually talking about is the integration between EasyBlog and Mailchimp. If you enabled the integration between EasyBlog and Mailchimp, whenever you create a new blog post on the site, it will send the emails via Mailchimp instead.

If you are talking about the RSS import from Mailchimp, then I believe the problem lies on Mailchimp as they are picking these items from EasyBlog's RSS feed and sending a newsletter to your subscribers.
·
Thursday, 15 October 2015 00:15
·
0 Likes
·
0 Votes
·
0 Comments
·
I am looking to send the emails to my subscribers through MC whenever a new blog is posted, so I can use custom templates. I have the MC integration enabled.

~Trevor
·
Thursday, 15 October 2015 00:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Trevor,

It is not possible to use MC's template when you post a new blog post. The integration in EasyBlog with Mailchimp doesn't do that for now
·
Thursday, 15 October 2015 00:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mark,

So, I created a new campaign in MC and it appears there was a problem with the RSS Feed. It is now pulling the content from the most recent post. But, I had sent a test email and it is still taking the cover image in the email.

~Trevor
·
Thursday, 15 October 2015 00:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Trevor,

If mailchimp is reading from the latest feed, edit the file /components/com_easyblog/views/latest/view.feed.php and remove the codes below at line 105 - 107


if ($post->hasImage()) {
$image = '<img src="' . $post->getImage('medium', true, true) . '" width="250" align="left" />';
}
·
Thursday, 15 October 2015 01:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mark,

So I deleted those lines, but it appears that nothing has changed. I have attached the code for the email template.

~Trevor
·
Friday, 16 October 2015 00:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Trevor,

What is the RSS link that you have posted on Mailchimp?
·
Friday, 16 October 2015 12:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mark,

I used ChimpFeedr and it gave me this: http://mix.chimpfeedr.com/e96e2-tgn
The link from EB(Settings/General/RSS Feeds) doesn't work properly within MC.

~Trevor
·
Friday, 16 October 2015 19:16
·
0 Likes
·
0 Votes
·
0 Comments
·
How does ChimpFeedr pick up the feed in EasyBlog? I believe you need to add the RSS feed url from EasyBlog yes? What is the link that you entered?
·
Saturday, 17 October 2015 13:37
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post