MyBB Community Forums

Full Version: Responsive Square theme?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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!
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.
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.
(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.