The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
PHP file to alphabetize your smilies
If your board has a bunch of smilies that you added over time, keeping them in order can be a real pain in the ass. Makes sense to alphabetize them. But it's a real pain in the ass to do it manually with the display order field. This php file does the work for you, after you run it your smilies displayorder will be in alpha order from the smilie titles.
Upload file to the includes/cron directory, and set up a scheduled task. Keep the task marked inactive. filename that the task calls will be: ./includes/cron/alphasmilies.php Then just go to scheduled task, click run, and your smilies are now in alpha order, and the displayorder increments by 10 so there's plenty of space to add more smilies later in the right spot, if you want to sort a few manually. Also, this keeps categories intact, so if you have multiple smilie categories, this will sort them within each category, but will not group all smilies into a single category. |
#2
|
|||
|
|||
I get an error for this. Any one have something to similar to this?
|
#3
|
|||
|
|||
I'm still using this from time to time if I add smilies; still seems to work fine with 3.8.7. What error are you seeing when you run it?
|
#4
|
||||
|
||||
ozzy my Man ..would this work on vB4?
|
#5
|
||||
|
||||
Yes, I just tried it and it seemed to work correctly. But I would try it on a test site first to ensure you get the desired results.
For anyone wanting to use this, see the file in this post, https://vborg.vbsupport.ru/showpost....6&postcount=21 |
#6
|
||||
|
||||
Ok good stuff my man ...thanks ...
|
#7
|
||||
|
||||
Not a problem, glad to help.
|
#8
|
||||
|
||||
I got the following error when running the task:
--------------- Added [DATE]1420152915[/DATE] at [TIME]1420152915[/TIME] --------------- The table should be "cagisf_smilie" ...... |
#9
|
||||
|
||||
Try this file. Remember test site first.
|
#10
|
||||
|
||||
I got this now:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|