Somehow, its broked! Your browser has had a compatibility probem with this page, or you have javascript turned off. As of such, this site has been rendered in its more simple format. To restore functionality, please switch to a better browser or enable your javascript.

This is a feature that is found in SMF, and a lot of MyBB users I know have asked about a similar feature. While this is not a simple preference pane value, it is easy to set up, and anyone should be able to do so.

This is a simple process, and all it requires is editing a bit of your postbit, as well as adding a few lines to your global.css file. I will provide everything you need to add, so there should not be any difficulty.

#Log into your forums Admin area, and go to the Templates and Style page
#Switch to the Templates page
#Expand your theme’s templates
#Expand the post bit templates
#Edit the postbit_signature template, and add the following code to the beginning and end of the block ((Don’t overwrite any of the code there, that is perfectly fine. Just add it to the beginning and end.

Beginning:

End:

#Save the template, and switch to the Themes page.
#Click on your theme’s link to edit it, and then click on the top stylesheet entry.
#Enter Advanced edit mode by clicking the link near the top of the page
#At the end of the file, add the following code

.signature img {
max-width: 100px;
max-height: 100px;
}

#*You can replace the width an height values with whatever you like.
#Save this setting

And you are now done. Now, any image a user puts in their signature will not break your layout. The image, however, will still load in its entirety, so a large image will take a long time. Unfortunately, there is no way to stop this outside a plugin.


Leave a Reply

The name and email fields are required. If you have an OpenID, you can use it instead.
Want an avatar? Go to gravatar.com and sign up with the email you used here
By commenting here you grant me a perpetual license to reproduce your words and submitted name/web site in attribution.