TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,993
  • Total Topics: 21,324
  • Online today: 245
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 259
  • Total: 259

no avatar in User Block

Started by brynn, November 19, 2015, 12:18:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

brynn

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   :)

illori

looking at the code, that block does not actually support showing an avatar.

illori

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.

brynn

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.

lurkalot

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.  ;)

illori

and i can fix it correctly, i just need sometime to think about how to fix it right.

lurkalot

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

brynn

Oh yes, thank you very much!

When will the next version be released?

illori

when we are ready. hopefully not too long.

This website is proudly hosted on Crocweb Cloud Website Hosting.