Help
Ask questions about how to do or fix things in Arrowchat
User avatar
dbarreca
Customer
 
Posts: 61
Joined: 30 Sep 2010, 03:58

 

by dbarreca 02 Mar 2011, 15:05

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???
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 02 Mar 2011, 16:57

Known issue, we're working on it.
User avatar
dbarreca
Customer
 
Posts: 61
Joined: 30 Sep 2010, 03:58

 

by dbarreca 02 Mar 2011, 18:11

ok thank you very much hope will be solved very soon
User avatar
mkharel
Customer
 
Posts: 18
Joined: 18 Feb 2011, 22:51

 

by mkharel 05 Mar 2011, 18:53

Ya same problem here.... when is this gonna be fix?
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 05 Mar 2011, 19:38

mkharel wrote:Ya same problem here.... when is this gonna be fix?

Already was in 1.0.5
User avatar
mkharel
Customer
 
Posts: 18
Joined: 18 Feb 2011, 22:51

 

by mkharel 05 Mar 2011, 22:37

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...
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 05 Mar 2011, 23:15

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.
User avatar
mkharel
Customer
 
Posts: 18
Joined: 18 Feb 2011, 22:51

 

by mkharel 06 Mar 2011, 23:31

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...
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 07 Mar 2011, 00:10

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.
User avatar
mkharel
Customer
 
Posts: 18
Joined: 18 Feb 2011, 22:51

 

by mkharel 08 Mar 2011, 22:40

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....
User avatar
Staff Bot
ArrowChat Team
 
Posts: 8996
Joined: 07 Nov 2012, 13:41

 

by Staff Bot 07 Nov 2012, 12:40

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.