Badges and the displaying thereof

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Badges and the displaying thereof
« Reply #90, on December 22nd, 2012, 11:23 PM »
The big difference is that in S&B you just say what badges to display out of all of them and you set the exact display order.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Badges and the displaying thereof
« Reply #91, on December 22nd, 2012, 11:26 PM »
And it's still using the regular rank system...?
Because even with my settings, I had to heavily mod it...

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Badges and the displaying thereof
« Reply #92, on December 22nd, 2012, 11:34 PM »
What you do with S&B is have a single textbox in the admin panel where you indicate what badges to be displayed. E.g. if a user is in groups 1, 4, 10 and 20 (4 being the post count group), you could indicate 1,10,20,4 in the admin panel to display those groups if users are in them.

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Badges and the displaying thereof
« Reply #93, on December 22nd, 2012, 11:38 PM »
Hmm.. Well, that means it's easily customizable indeed, but it's also less accessible to noob admins.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Badges and the displaying thereof
« Reply #94, on December 22nd, 2012, 11:41 PM »
Yup. It's a mod, user interfaces by definition are less important, and really that's not the worst user interface I've ever seen.

I'm still not sure what our UI for this should look like.
Re: Badges and the displaying thereof
« Reply #95, on January 1st, 2013, 04:24 AM »
So I spent some time experimenting, knowing how it was set up, knowing how it was implemented I made some changes to allow for configuration of order - that was earlier today.

Now the UI. Yes, this uses jQuery UI. If someone wants to write a smaller version of ui.sortable, fine, but I'm happy with this working the way it does.

The idea is this way you can configure the order by dragging the badges around, and you can set whether badges are visible all the time, or whatever.

 badges.png - 71.69 kB, 944x998, viewed 137 times.


spoogs

  • Posts: 417
Stick a fork in it SMF

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Badges and the displaying thereof
« Reply #97, on January 1st, 2013, 05:53 AM »
There's no rule on that stuff for posts, only topic titles ;)

But I *could* add it to posts too :whistle:

MultiformeIngegno

  • Posts: 1,337

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Badges and the displaying thereof
« Reply #99, on January 1st, 2013, 05:19 PM »
Random question: should the membergroup legend use the same ordering? I'm thinking the answer should be yes.

spoogs

  • Posts: 417

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Badges and the displaying thereof
« Reply #101, on January 1st, 2013, 06:00 PM »
Nearly done with adding that.

In other news, I have absolutely no idea why the admin menu is broken on the above mentioned page. It just doesn't do any dropdowns (but the *main* menu does, so I'm really confused)
Posted: January 1st, 2013, 05:45 PM

Oh holy hell, why the hell is jQuery UI adding a shit ton of classes to ul.menu?
Posted: January 1st, 2013, 05:48 PM

OK, I figured this out. Turns out there's a really fun collision going on.

The generic menu has a .menu() function, which then gets overwritten by jQuery UI.

Given that I can see mod authors using jQuery UI for their own things, and that I don't see us rewriting it from scratch any time soon, I'm just going to rename the menu function caller in the generic menu code to wmenu for Wedge menu.