• Page 1 of 1
  • 1
Tag board avatar
Ed05
Posts: 556
Reputation: 7

Message # 1 | 8:20 PM
My tagboard wont display user avatar when they have linked image (from another website) on their profile page. Instead,tag board displays no avatar image .
My code in tag board is correct i think
Code
<?if($AVATAR_URL$)?>   
<img alt="$USERNAME$" src="$AVATAR_URL$" style="border:1px solid #333333; padding:2px; width:30px; height:30px; float: left;">   
<?else?>   
<img alt="$USERNAME$" src="/icons/no-avatar.png" style="border:1px solid #333333; padding:2px; width:30px; height:30px; float: left;">   
<?endif?>

!
Post edited by Ed05 - Wednesday, 2014-12-24, 8:20 PM
Sunny
Posts: 9296
Reputation: 456

Message # 2 | 1:59 PM
Ed05, do you mean if they upload their avatars?
I'm not active on the forum anymore. Please contact other forum staff.
Ed05
Posts: 556
Reputation: 7

Message # 3 | 3:22 PM
Sunny, no. When they upload they avatars it apears in tag board, but when they link avatars from some other website or google images it wont show in tag board.
!
Post edited by Ed05 - Thursday, 2014-12-25, 3:22 PM
Sunny
Posts: 9296
Reputation: 456

Message # 4 | 12:02 PM
Ed05, I tested your code and linked avatars are displayed. Provide a profile the avatar of which is not displayed.
I'm not active on the forum anymore. Please contact other forum staff.
Ed05
Posts: 556
Reputation: 7

Message # 5 | 8:48 PM
Sunny,
Like you see, the avatar is shown on profile page , but in tag board not.

!
Post edited by Ed05 - Saturday, 2014-12-27, 4:37 PM
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 6 | 9:42 PM
Ed05, temporarly use just this code (without conditional operators) to see what is the avatar URL if the Noavatar image isn't showed. I'll take a look into the issue.

Code
<img alt="$USERNAME$" src="$AVATAR_URL$" style="border:1px solid #333333; padding:2px; width:30px; height:30px; float: left;">   

hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
Ed05
Posts: 556
Reputation: 7

Message # 7 | 10:47 PM
bigblog, done but i check the source and it look like this
Code
<img alt="Felicity" src="" style="border:1px solid #333333; padding:2px; width:30px; height:30px; float: left;">

It apears that the system wont show avatars in tagboard when they are linked from another sites (non ucoz site)
But some of my users must use that avatars cause ucoz dont allow bigger avatars than 500x500 and 500kb. This linked avatar in mentioned profile is much biger cause its gif animated.

!
Post edited by Ed05 - Friday, 2014-12-26, 10:53 PM
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 8 | 10:14 AM
Ed05, hmm... That's really strange. Maybe this is the problem, but I'm not sure:
Quote Ed05 ()
ucoz dont allow bigger avatars than 500x500 and 500kb. This linked avatar in mentioned profile is much biger cause its gif animated

I'll ask a developer.

hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 9 | 12:05 PM
Ed05, everything works fine at our test site. The only thing, that I can suggest is to update the user's informations. It's possible that the messages already posted by the user will remain in this status, but the new messages may show properly.
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
Ed05
Posts: 556
Reputation: 7

Message # 10 | 4:39 PM
bigblog, I have restored user template, nothing help. This is probably some bug on server.Nothing to worry too much, tnx for the help cool
!
Post edited by Ed05 - Saturday, 2014-12-27, 4:40 PM
  • Page 1 of 1
  • 1
Search: