Page 1 of 1

skadate & avatars not loading

PostPosted: 16 Nov 2013, 00:19
by JJablonski
ok so you guys fixed the config file location.. but you left out the avatars..

is integration file the only place to alter for the avatars? i took out the $ from userfiles -- but still doesn't seem to be loading images?? any ideas.

Code: Select all
function get_avatar($image, $user_id) 
   {
      global $base_url;
      
      if (is_file(dirname(dirname(dirname(__FILE__))) . '/userfiles/view_' . $image . '.jpg'))
      {
         return $base_url . '../userfiles/view_' . $image . '.jpg';
      }
      else
      {
         return $base_url . AC_FOLDER_ADMIN . "/images/img-no-avatar.gif";
      }
   }

PostPosted: 16 Nov 2013, 00:44
by Jason
I believe avatars were tested, but maybe this was overlooked. Open up a support ticket and we'll take a look.

PostPosted: 16 Nov 2013, 00:52
by JJablonski
avatars could not have been tested... because it was even pointing to the wrong directory.

PostPosted: 18 Nov 2013, 10:32
by JJablonski
any word on this?? not sure why i would need a support ticket this is the support forms right?

PostPosted: 09 Dec 2013, 01:22
by instadating
This works on skadate chance view to thumb.




function get_avatar($image, $user_id)
{
global $base_url;

if (is_file(dirname(dirname(dirname(__FILE__))) . '/userfiles/thumb_' . $image . '.jpg'))
{
return $base_url . '../userfiles/thumb_' . $image . '.jpg';
}
else
{
return $base_url . AC_FOLDER_ADMIN . "/images/img-no-avatar.gif";

PostPosted: 20 Mar 2014, 15:08
by ALedermueller
is there a fix for this issue available?

Topic Closed

PostPosted: 16 Dec 2014, 00:26
by Staff Bot
[b]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.[/b]