Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

format_avatar function #569

Closed
DiogoParrinha opened this issue May 27, 2014 · 1 comment
Closed

format_avatar function #569

DiogoParrinha opened this issue May 27, 2014 · 1 comment

Comments

@DiogoParrinha
Copy link
Contributor

@DiogoParrinha DiogoParrinha 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.

@DiogoParrinha DiogoParrinha added this to the 1.8 Beta 1 milestone May 27, 2014
@DiogoParrinha
Copy link
Contributor Author

@DiogoParrinha DiogoParrinha 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.