Not Solved postbit avatar size (no fixed width)
#1
Not Solved
hi everyone so starting mybb new again and forgot how to do a few thingsĀ  Sleepy

1. how to get postbit avatars like these:
[Image: 5ba64ce7ac5c40a7648a999aa1b871df.png]

https://gyazo.com/5ba64ce7ac5c40a7648a999aa1b871df
Reply
#2
Not Solved
any help ples ? Big Grin
Reply
#3
Not Solved
ACP > Configuration > Show Thread Options > Maximum Avatar Dimensions in Posts

Adjust as necessary.
Plugin Count: I lost count.
Public Plugins are available here.
Please do not PM me for support unless asked to.
Reply
#4
Not Solved
(2018-07-23, 10:38 PM)Wires Wrote: ACP > Configuration > Show Thread Options > Maximum Avatar Dimensions in Posts

Adjust as necessary.

not something like that, but would this work ?

<div class="author_avatar"><a href="{$post['profilelink_plain']}"><img src="{$useravatar['image']}" alt="" width="100" /></a></div>

or maybe more editing needing?
Reply
#5
Not Solved
You wouldn't be able to use that in the field mentioned above. That's for the postbit_avatar template. The field mentioned above is only to set the maximum dimensions of an avatar in the postbit. So for example, if you were to set it to 200x200, any avatars below those dimensions would take their original size.

Edit: If you put that in your postbit_avatar template, the height would be undefined, the setting will no longer be used and I believe avatars would be able to take up the whole of the postbit if big enough. I wouldn't recommend this.
Plugin Count: I lost count.
Public Plugins are available here.
Please do not PM me for support unless asked to.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)