By checksum on Friday, 25 April 2014
Posted in General Issues
Replies 28
Likes 0
Views 838
Votes 0
Currently, when a user post an article, the whole article is displayed in the stream, we have no ability to limit the number of characters of the posted article content in the stream.
I still do not see why this feature hasn't been implemented, since it has been requested many times.
We also have no ability to strip HTML tags, so they show up in the stream with tags, etc...
It makes the stream looks ugly and unattractive ...
Hi Checksum,

Added into next release of EasySocial

http://screencast.com/t/iNSSe0kYHL

Have a nice day
Sam
·
Monday, 05 May 2014 17:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Checksum,

Thanks for the heads up. I've discussed with the team and we will be adding this feature into next release of EasySocial. For now, what you can do is edit file 'JOOMLA/media/com_easysocial/apps/user/article/article.php' and add below code at:

1. line after 317,
2. line after 273 and,
3. line after 229.

$content = JString::substr( strip_tags($content), 0, 100 );


Replace 100 to the number of length you want to display

Hope this help and have a nice day
Sam
·
Friday, 25 April 2014 12:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for adding this into 1.2.9, works perfectly.

It would be nice to add the picture of the article in the stream also. That would be really cool...
·
Friday, 02 May 2014 04:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

In order to trim the content, unfortunately it is not possible to include an image (or any tags for that matter) because we are doing strip tags before trimming it.

It might be possible where we look for the first image in the content and manually place it in the content. We will see if we can include this in the future.
·
Friday, 02 May 2014 11:41
·
0 Likes
·
0 Votes
·
0 Comments
·
That would be great if you took the first image in the content.
You guys do it for links posted in the stream (ie: if you post a link from cnn.com, you are asked to choose the picture, and it shows up nicely on the stream) , so I thought it would be easy for joomla article.
·
Friday, 02 May 2014 14:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam,
Wonderful!!!
Looks good...
·
Monday, 05 May 2014 18:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Awesome! I'm pleased to see both a character limit and it accessing the first image for stream items! A few things I'd like to note:

1. The image clashes a little with the text as seen here:



2. It would be really awesome if the admin could specify the image width, some sites want to use bigger thumbnails depending on how much text is used.

3. Now that stream items can use the first image, could we have the profile also display the first image? This would be cool and consistent.
·
Tuesday, 06 May 2014 02:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Josh,
You are a CSS guru.
I haven't tried it yet, but does the image have a class where you can specify the padding and the max width. Some template may display the image different ie: if you compare your screen shot to his screenshot, you can see that the padding is different.
·
Tuesday, 06 May 2014 04:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Right, unfortunately a !important rule is applied which makes over riding the margin-left difficult (it is what is creating the separation at the top)

Foundry.css (line 310)

body div#fd .ml-10 {
margin-left: 10px !important;
}


Once that code is removed, add this:

.blog-image.right.ml-10 > img {
margin-right: 8px;
}


This will make it wrap around the image very cleanly. I hope this gets included into the next version of ES.

As for the image size I could over ride it with CSS, however I feel syntactically it's wrong to have a attribute of 96 but then have CSS over run that value. It would work, but the admin should be able to specify the size. If it was a CSS width I would not consider it wrong.
·
Tuesday, 06 May 2014 05:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Just giving a reminder to the stacked team about the last few things mentioned in this thread.
·
Friday, 09 May 2014 12:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Josh,

I am sorry for the delay of this reply.

1. The image clashes a little with the text as seen here:


Issue fixed internally. The fix will be added into next release of EasySocial.

2. It would be really awesome if the admin could specify the image width, some sites want to use bigger thumbnails depending on how much text is used.


Thanks for the suggestion. We will see if we can add this into future release of this app or not

3. Now that stream items can use the first image, could we have the profile also display the first image? This would be cool and consistent.


Done. http://screencast.com/t/T80PbzaR5w5n The fix will be added into next release of EasySocial

Hope this help and have a nice day and a wonderful weekend
Sam
·
Friday, 09 May 2014 18:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Good job as always Sam.
·
Friday, 09 May 2014 19:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Sam, it goes greatly appreciated!
·
Saturday, 10 May 2014 03:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Where will I find the settings to configure this?
·
Saturday, 10 May 2014 06:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Go to ES's backend > Applications > Article App

You will see options for stream generation and how it displays on the profile.
·
Saturday, 10 May 2014 12:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam,

The image is not displayed when the picture is submitted through the article's IMAGE and LINK TAB
·
Wednesday, 14 May 2014 22:33
·
0 Likes
·
0 Votes
·
0 Comments
·
This is because it uses the first image from the article instead. Personally I think it's great that it selects from the first image, however I'm sure the stacked team could work in a option to work with Joomla's article image.
·
Thursday, 15 May 2014 02:54
·
0 Likes
·
0 Votes
·
0 Comments
·
I see,
That's usually how I add an image to my article, by using Joomla Intro and Story image.
You could just inset it to the article itself, maybe that is easier after all.
·
Thursday, 15 May 2014 03:40
·
0 Likes
·
0 Votes
·
0 Comments
·
The articles I make are a copy and paste job from another site I post on. You might ask why not "natively post" my articles, as of right now EasySocial has no image insert tool which makes the difference between me using external images and native ones. So for now it's much easier for me to make my content externally and paste images into the article.
·
Thursday, 15 May 2014 03:57
·
0 Likes
·
0 Votes
·
0 Comments
·
I also need this to be able to shorten the length of blog posts that are in the stream. I have a stream on the home page and it is displaying the entire blog post each time. It seems that maybe the functionality you have now is to limit the characters for Joomla Articles. Will we also be able to limit the length of blog posts?

If it is there already can you show me where it is. The pictures are exactly what I am looking for.

Thanks, Sean
·
Thursday, 15 May 2014 10:05
·
0 Likes
·
0 Votes
·
0 Comments
·
It's there, but you will have to look for it. I can't recall exactly, it's either under the user app blog or when you go to easy blog backend
·
Thursday, 15 May 2014 10:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sean,

To limit the blog content in your Stream, you can find the setting at EasySocial backend under Applications -> User - Blog -> Default settings -> 'Content lengths to display in stream'. Please see http://screencast.com/t/RKEFj4gGq0

Hope this help
Sam
·
Thursday, 15 May 2014 10:46
·
0 Likes
·
0 Votes
·
0 Comments
·
I am not seeing those options in that app. What I see is only Total blog posts to display. I am using EasySocial v1.2.10 now.

I am about to upgrade to see if that fixes things. I am doing a quick backup first though because I have had some problems with previous upgrades.

Also, I am really hoping once I get it the streams intro text shortened that the same intro text will also pass into the EasyBlog Stream module that I have on my homepage named Recent Blog Activity.
·
Friday, 16 May 2014 06:56
·
0 Likes
·
0 Votes
·
0 Comments
·
I found the Blog - Articles app and installed it. Now I have the options in my preferences. I am thinking I just have just actually upgraded it?

I am much happier now with the streams. I wish I could change the size of the default image to be a bit bigger. :-)

Sean
·
Friday, 16 May 2014 07:26
·
0 Likes
·
0 Votes
·
0 Comments
·
I'm with Sean that allowing the admin to choose the width of the image would be great.

Also note that tall images float through the container as seen here: http://www.test.alpineascent.com/profile/josh/57-content
This has to do with two "left floats" (a left float on separate objects).
·
Friday, 16 May 2014 09:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam,
Would it be possible to have the standard joomla image instead or as an option. Since this is the standard way that images are added in joomla articles.
·
Friday, 16 May 2014 10:40
·
0 Likes
·
0 Votes
·
0 Comments
·
As an option would be ideal. I personally like having it select the first image, but I do certainly believe the folks who use the article image should be able to display theirs too.
·
Friday, 16 May 2014 10:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi guys,

I wish I could change the size of the default image to be a bit bigger. :-)


We will see if we can add this setting into next release of EasySocial or not. Thanks for your suggestion

Also note that tall images float through the container


Will be fixed in next release of EasySocial Thanks for reporting this issue

Would it be possible to have the standard joomla image instead or as an option. Since this is the standard way that images are added in joomla articles.


We will see if we can add this into next release of EasySocial or not.

Thanks and have a nice day guys!
Sam
·
Friday, 16 May 2014 10:52
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post