Adding a new medal, category dropdown

Status
Not open for further replies.

Trekkan

Customer
The dropdown here doesn't use the sort order for categories. I suppose this isn't a problem, but it'd be nice if it did instead of alphabetically.

I have all of your default categories grouped with higher sort orders, then a separator category and all of my custom ones listed at the top in the order I will be using them the most. But when viewing the dropdown list, they are all sorted alpha.
 
Fixed in the next version.


Manual patch instructions:

dbtech/vbactivity_pro/includes/actions/admin/modifymedal.php


Find and remove:
Code:
// Sort the array as a string
asort($categorys, SORT_STRING);
 
Again, works exactly as I'd want, thank you! (You guys need a thank you mod. ;) )

Ohh and I'd prefer one you guys wrote as I hate the one I have now, but have no choice but to use it. =)
 
What's wrong with the one you have atm, then? If there's enough of a reason to think we could do better, then we just might ;)
 
Status
Not open for further replies.

Legacy vBActivity & Awards

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,730
Customer rating
0.00 star(s) 0 ratings
Back
Top