vBulletin Mods

The Official vBulletin Modifications Site

How can I alphabetize my smilies?
by yumyumcat
19 Aug 2008 00:43

I have them in categories and people love them so much. I have nearly 400! It's no wonder they want them alphabetized. I've seen this done on other forums. Shoot, I see it in my smilie directory in my ACP, but when I open my window for them, they're not alphabetized.

Is there a code for this and if so, where do I place it?

Thanks in advance. Ya'll have been so helpful!

Digital Jedi 19 Aug 2008 05:21

As far as I know, and as far as I've done, it all has to be done manually. And yeah, I've had 400+ myself at one time. I have to do the same thing with my 1000+ avatars.

yumyumcat 19 Aug 2008 05:41


Originally Posted by Digital Jedi (Post 1602051)
As far as I know, and as far as I've done, it all has to be done manually. And yeah, I've had 400+ myself at one time. I have to do the same thing with my 1000+ avatars.

Hi there! Thanks for answering ;)

Can you tell me how you did it?

See, I have 'em in categories, but that's just not working out for them.. I need to do something.

I look forward to your reply Digital Jedi.

Thank goodness I don't have to worry about the avs! Poor you lol!

Digital Jedi 19 Aug 2008 06:09

Well, like I said, it has to be done manually. Meaning I have to go through each category and number them one at a time.

What I usually do is number them by 100s instead of 1s. Meaning I display an entire category in my Admin CP (the most you can display is 200 at one time if I'm not mistaken), then I number them one at time by 100s. So, anything starting with A gets 100, anything with B gets 200, anything with C gets 300 and so and so forth. Use the TAB button to jump to each field, rather then selecting them with your mouse. This cuts the time it would ordinarily take to do this in half. When I'm done with a page I save it, then go though the next page (make sure the other smilies where already set at the same number or less then 100 before you even start).

Once you get all your smilies order by 100s then you can go back through and refine them now that their at least in some kind of alphabetical order, by setting all the ones that start with AA to 100, all the ABs to 101, all the ACs to 102. You get the idea.

yumyumcat 19 Aug 2008 07:35

Oy! Yes, I see! Wow, I would think there'd be some type of php string or something ~ but this is what I was told haha. So, I'm not too upset about it, just that I'm not sure this will be what my members are looking for.

Cest le vie. I suppose we try to give our members whatever they want within reason :) I know I try to satisfy them :) They're easy going, so I'm sure they'll get used to this system.

Thanks so very much Digital Jedi!!

Lynne 19 Aug 2008 16:09

There is a smilie table and in it is a column called "displayorder" which is used to order the smilies. So, if you don't want to manually order your smilies, you can find where the "smilies" table gets queried and ordered by "displayorder" and instead change it to order by.... "title"? (If title is what you want to alphabatize it by.)

All times are GMT. The time now is 03:04.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.