vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How can I alphabetize my smilies? (https://vborg.vbsupport.ru/showthread.php?t=188519)

yumyumcat 08-18-2008 11:43 PM

How can I alphabetize my smilies?
 
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 08-19-2008 04:21 AM

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 08-19-2008 04:41 AM

Quote:

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 08-19-2008 05:09 AM

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 08-19-2008 06:35 AM

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!!
xox

Lynne 08-19-2008 03:09 PM

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 12:17 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01066 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete