TinyPortal

Development => Support => Topic started by: brynn on November 19, 2015, 12:18:47 AM

Title: no avatar in User Block
Post by: brynn on November 19, 2015, 12:18:47 AM
Hi Friends,
I figured I should start a new topic for this, becuase I don't think it's related to my other issue (languages/blocks).

The new User block I made (called Me and My Stuff) doesn't show my avatar.  Block settings have all 4 options checked, for what to show in the box.  All the  other 3 things are showing, but my av doesn't show.

I'm positive that it used to show (before I made this new, during troubleshooting the other problem -- it's just a brand new block).

Any fix?

http://forum.inkscapecommunity.com/index.php?action=forum  However, guests can't see this block, since they aren't users unless they register.  Mick's a member, or if someone else wants to register, to see it.  Or else I'll attach a screenshot.

Thanks   :)
Title: Re: no avatar in User Block
Post by: illori on November 19, 2015, 01:33:46 AM
looking at the code, that block does not actually support showing an avatar.
Title: Re: no avatar in User Block
Post by: illori on November 19, 2015, 01:39:43 AM
assuming you want to show the avatar no matter what that setting is...

Themes/default/TPsubs.template.php

Code (find) Select

<h4>', $context['user']['name'], '</h4>

Code (add after) Select

',$context['user']['avatar']['image'],'


this adds the avatar below the users name.
Title: Re: no avatar in User Block
Post by: brynn on November 19, 2015, 03:06:31 AM
Quote from: illori on November 19, 2015, 01:33:46 AM
looking at the code, that block does not actually support showing an avatar.

Then what is that option in the block setting for?  It was showing in version 1.107.
Title: Re: no avatar in User Block
Post by: lurkalot on November 19, 2015, 07:25:33 AM
Quote from: brynn on November 19, 2015, 03:06:31 AM
Quote from: illori on November 19, 2015, 01:33:46 AM
looking at the code, that block does not actually support showing an avatar.

Then what is that option in the block setting for?  It was showing in version 1.107.

Brynn, It's a bug I'm afraid.  Pretty sure it was also broken in 1.107 as well actually, or at least it is in mine. This is also set to show the avatar in the user block http://cameracraniums.com/forum/index.php

Illori, same bug exists in TP2 for SMF 2.1 beta 2.  But you probably know that now.  ;)
Title: Re: no avatar in User Block
Post by: illori on November 19, 2015, 10:22:15 AM
and i can fix it correctly, i just need sometime to think about how to fix it right.
Title: Re: no avatar in User Block
Post by: lurkalot on November 20, 2015, 08:33:14 AM
Brynn, just keeping you updated on this.  Illori has fixed this issue for the next TP update.  You should see it working on here now. (If you had an avatar of course).

Thanks go to Illori.  O0
Title: Re: no avatar in User Block
Post by: brynn on November 20, 2015, 09:52:30 AM
Oh yes, thank you very much!

When will the next version be released?
Title: Re: no avatar in User Block
Post by: illori on November 20, 2015, 10:02:39 AM
when we are ready. hopefully not too long.