MyBB Community Forums

Full Version: Badge System
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
On the badge system, in the post bit it shows as many badges as what the user has got on one line, how can I edit this to only show 3 per line but show all awards?
Can you provide a link to the award system you use please?

Or at least the author/website/plugin name.

Pd: Wrong forum?
Awards (2.0)
Creator: Nickman

Can't find link now Confused
I think you can't do it. But maybe forcing the width using css may works. Try on your postbit or postbit_classic:

Find:
{$post['awards']}

Replace:
<div style="max-width:150px;">{$post['awards']}</div>

So if all your awards are 50wx20h this will break the images down every 3 awards.

Again, I don't know if it will works but it is the only idea I have...
Nope didn't work Sad
Bump - Can anyone else help?
bumps for criot.
Based on the PHP that I know, you'd have to either limit the MySQL query that calls the badges to 3, or change the width and use word wrap or something.
Also, it would be.
<span style="max-width: 150px;">
(2011-06-25, 06:37 PM)Concon Wrote: [ -> ]Based on the PHP that I know, you'd have to either limit the MySQL query that calls the badges to 3, or change the width and use word wrap or something.
Also, it would be.
<span style="max-width: 150px;">
Hmmmm this didn't work Confused
Urgh!!!
bump.
it might not be possible by a simple code modification Sad anyway, site URL please.. (let me check)
Pages: 1 2 3