By Valentin Barbu on Thursday, 22 January 2015
Replies 12
Likes 0
Views 1.5K
Votes 0
Hello guys,

How can I override easysocial default profile cover image without losing it on next update ?

Rgds
Hello Barbu,

Sorry for the late reply. Please replace the attached file in: ../administrator/components/com_easysocial/tables/cover.php and see how it goes.
·
Friday, 23 January 2015 18:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Barbu,

You can upload the cover image in /templates/TEMPLATE/html/com_easysocial/covers/users/default.png
·
Thursday, 22 January 2015 22:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Unfortunately that does not work Mark.
·
Thursday, 22 January 2015 23:26
·
0 Likes
·
0 Votes
·
0 Comments
·
You are referring to the cover which is loaded by EasySocial yes? If the user uploaded his / her cover, this file will not be loaded.
·
Friday, 23 January 2015 00:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes I just want to change the default one where user didn't update his profile cover but your suggestion does not help
·
Friday, 23 January 2015 00:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks you, just a suggestion, .png files is always big file size, maybe instead of default.png you can put default.jpg when you`ll add the fix on a future version.

Regards
·
Friday, 23 January 2015 18:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Barbu, glad that your issues are resolved now
·
Saturday, 24 January 2015 14:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey guys,

This is funny ES is using a .jpg file by default for cover picture, why then are you checking for a png file instead when overriding ?

$app		= JFactory::getApplication();
$config = FD::config();
$overriden = JPATH_ROOT . '/templates/' . $app->getTemplate() . '/html/com_easysocial/covers/users/default.png';
$uri = rtrim( JURI::root() , '/' ) . '/templates/' . $app->getTemplate() . '/html/com_easysocial/covers/users/default.png';


Can you fix this ?
·
Wednesday, 18 February 2015 15:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Valentin,

Here I attached to you a file, please download it and put it here: .../administrator/components/com_easysocial/tables/cover.php

Please give this a try and see if this resolves your issue. I am sorry for the inconvenience caused.
·
Wednesday, 18 February 2015 17:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, I already applied those, what I'd like to ask you is to make sure you include this fix on other updates, so no need to hack it every time

Rgds
·
Wednesday, 18 February 2015 18:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Thanks for updating us back. I will ask our developer to include this in the next releases.
·
Wednesday, 18 February 2015 19:14
·
0 Likes
·
0 Votes
·
0 Comments
·
This will be added in the next version of EasySocial. See http://docs.easysocial.io/administrators/templating/overriding_default_cover
·
Monday, 23 February 2015 01:33
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post