format_avatar function #569

Closed
PirataNervo opened this Issue May 27, 2014 · 1 comment

Comments

Projects
None yet
1 participant
@PirataNervo
Contributor

PirataNervo commented May 27, 2014

Original issue on 1.8 private repo: https://github.com/mybb/MyBB18/issues/19

To quote:

While we have a format_name function, I think we should also provide a format_avatar function (with the ability to set a default avatar).

I always find myself writing the code out and would be much easier in a function. Not only that, we could statically store the user avatar in the function so that when the avatars are called in the postbit (for example) scale_image isn't constantly called.

@PirataNervo PirataNervo added this to the 1.8 Beta 1 milestone May 27, 2014

@PirataNervo

This comment has been minimized.

Show comment
Hide comment
@PirataNervo

PirataNervo May 27, 2014

Contributor

Closing this as it's done.

Contributor

PirataNervo commented May 27, 2014

Closing this as it's done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment