Page 1 of 1
photo users no show social engine 4
PostPosted: 02 Mar 2011, 15:05
by dbarreca
my function receive
function getAvatar($image, $user_id) {
$folder = explode('/',$image);
$number = (((int)($folder[0]/1000))*1000)+1000;
if (is_file(dirname(dirname(dirname(__FILE__))."/public/user/1000000/".$number."/".$user_id."/".$image.".jpg")) {
return "/public/user/1000000/".$number."/".$user_id."/".$image.".jpg";
} else if (is_file(dirname(dirname(dirname(__FILE__))."/public/user/1000000/".$number."/".$user_id."/".$image.".png")) {
return "/public/user/1000000/".$number."/".$user_id."/".$image.".png";
} else if (is_file(dirname(dirname(dirname(__FILE__))."/public/user/1000000/".$number."/".$user_id."/".$image.".gif")) {
return "/public/user/1000000/".$number."/".$user_id."/".$image.".gif";
} else {
return "/application/modules/User/externals/images/nophoto_user_thumb_icon.png";
}
}
fix???
Re: photo users no show social engine 4
PostPosted: 02 Mar 2011, 16:57
by Jason
Known issue, we're working on it.
Re: photo users no show social engine 4
PostPosted: 02 Mar 2011, 18:11
by dbarreca
ok thank you very much hope will be solved very soon
Re: photo users no show social engine 4
PostPosted: 05 Mar 2011, 18:53
by mkharel
Ya same problem here.... when is this gonna be fix?
Re: photo users no show social engine 4
PostPosted: 05 Mar 2011, 19:38
by Jason
mkharel wrote:Ya same problem here.... when is this gonna be fix?
Already was in 1.0.5
Re: photo users no show social engine 4
PostPosted: 05 Mar 2011, 22:37
by mkharel
Jason wrote:Already was in 1.0.5
it's not working though.... i updated through admin but didn't work, then i overwrite the file still no luck...
Re: photo users no show social engine 4
PostPosted: 05 Mar 2011, 23:15
by Jason
mkharel wrote:Jason wrote:Already was in 1.0.5
it's not working though.... i updated through admin but didn't work, then i overwrite the file still no luck...
As far as I know, the issue has been corrected for everyone. So I'm guessing that it wasn't updated properly or your problem is entirely different.
Re: photo users no show social engine 4
PostPosted: 06 Mar 2011, 23:31
by mkharel
Jason wrote:As far as I know, the issue has been corrected for everyone. So I'm guessing that it wasn't updated properly or your problem is entirely different.
I did automatically update and manual update..same results....can you just provide the file that need to change for only SocialEngine 4.1.2 avatar?
Or just a code...
Re: photo users no show social engine 4
PostPosted: 07 Mar 2011, 00:10
by Jason
mkharel wrote:Jason wrote:As far as I know, the issue has been corrected for everyone. So I'm guessing that it wasn't updated properly or your problem is entirely different.
I did automatically update and manual update..same results....can you just provide the file that need to change for only SocialEngine 4.1.2 avatar?
Or just a code...
You renamed the includes/functions_receive_socialengine4.php file to functions_receive.php? That's the file that fixes it.
Re: photo users no show social engine 4
PostPosted: 08 Mar 2011, 22:40
by mkharel
Jason wrote:You renamed the includes/functions_receive_socialengine4.php file to functions_receive.php? That's the file that fixes it.
Hey Jason, Arrowchat is using wrong picture as avatar... Avatar supposed to be small size pic....but if you right click and view the avatar it's large size picture....
This makes site slow....hope you get my point....
Topic Closed
PostPosted: 07 Nov 2012, 12:40
by Staff Bot
This thread has been locked because the last post is greater than six months old. There is a good chance that the information in this thread is outdated. Please open a new topic if you wish to discuss this further.