MyBB Community Forums
Responsive Square theme? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Support (https://community.mybb.com/forum-10.html)
+---- Thread: Responsive Square theme? (/thread-160302.html)



Responsive Square theme? - easy82 - 2014-09-28

Hey guys,

First of all, thank you very much for the fantastic Square theme, I use it here:
http://relentless-guild.com/forum/

My question is, is there a responsive version in the works, or should I make it for myself?

Thanks for your answer in advance!

Cheers,
easy

P. S. The avatar in the top right corner is broken if the user did not upload one, even when there is a default avatar specified. Is there a quick fix for this?


RE: Responsive Square theme? - eNvy - 2014-09-28

Nope, there's no responsive version, only fixed.

For the avatar thing, I really don't know why the default avatar isn't displayed there...

Greetings!


RE: Responsive Square theme? - easy82 - 2014-09-28

All right, thanks for the info! I'll look into it how I could make it responsive then.

As for the avatar thing, I think it's because in the header_welcomeblock_member template mybb->user['avatar'] is empty, see this line:

<a href="{$mybb->settings['bburl']}/usercp.php?action=avatar"><img class="panelavatar" style="vertical-align: top; margin-top: 5px;" src="{$mybb->user['avatar']}" height="40" width="40"></a>

But I don't know yet what should I write there instead; I'm very new to MyBB.


RE: Responsive Square theme? - eNvy - 2014-09-28

I'm not sure of this, but I think if the user doesn't have any avatar, the variable don't display anything, and that's why you see the border of a non-image there.


RE: Responsive Square theme? - User 6029 - 2016-10-06

(2014-09-28, 12:14 AM)easy82 Wrote: Hey guys,

First of all, thank you very much for the fantastic Square theme, I use it here:
http://relentless-guild.com/forum/

My question is, is there a responsive version in the works, or should I make it for myself?

Thanks for your answer in advance!

Cheers,
easy

P. S. The avatar in the top right corner is broken if the user did not upload one, even when there is a default avatar specified. Is there a quick fix for this?

If you look at the source: Netpen is a responsive version of square.