vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   PHP file to alphabetize your smilies (https://vborg.vbsupport.ru/showthread.php?t=197591)

ozzy47 01-01-2015 09:46 PM

1 Attachment(s)
Well we are not through yet. Now you have to load this file up, just incase you ever run it again.

Yeah it keeps the original smiles numbers, but this just alphabetizes them. It does not change the number assigned to them. If it were to do that, I think if you had a smile in a post, and it's ID was 456, by changing the ID number, might just change the smile in the post.

CAG CheechDogg 01-01-2015 09:58 PM

Ah ok ..so I can run the task now with this last one and be good to go? or more steps? :p

ozzy47 01-01-2015 09:59 PM

Yeah you can run it again with the last file just to see if you get any errors, but it won't actually change anything really, as it is already done.

CAG CheechDogg 01-01-2015 10:02 PM

This is what I am talking about ozzy ...the display order number starts with 4400 instead of 1

https://vborg.vbsupport.ru/external/2015/01/33.jpg

--------------- Added [DATE]1420157011[/DATE] at [TIME]1420157011[/TIME] ---------------

Quote:

Originally Posted by ozzy47 (Post 2529974)
Yeah you can run it again with the last file just to see if you get any errors, but it won't actually change anything really, as it is already done.

Ok good stuff my Man ..once again thank you !!!

ozzy47 01-01-2015 10:05 PM

Yeah I know, as I said, this just alphabetizes them, it does not change the ID number of the smile in the DB. That is unique to each smile as you import them into the DB.

I see no reason to even attempt to change that either, as that is only viewable in the ACP. :)

CAG CheechDogg 01-01-2015 10:07 PM

Ok good stuff .... muahaha!!!!

Is there anything available already that can search for smilies by name or a "my favorite" smilies for v4? I am looking and I see nothing for v4 ...

ozzy47 01-01-2015 10:09 PM

Perhaps this mod, [DBTech] vBEditorTabs v1 (vB4)

vBEditorTabs is an editor add-on, allowing administrators and users the ability to create custom tabs below the editor for categorizing smilies, with the potential to add further content in future releases. The tabs integrate smoothly with vBulletin's editor, are powered via jQuery, and there is no limit to the number of tabs you can have, as they wrap under each other and still function normally.

vBEditorTabs is currently only compatible with vB4.1.4 and higher (CKEditor).

CAG CheechDogg 01-01-2015 10:15 PM

If it didn't require the copyright notification I would use a lot more of the DB mods ... but I rather not get into that because DB's mods are good stuff ... thank you though ozzy once again !!!

ozzy47 01-01-2015 10:20 PM

I understand that. I sent you a pm. :)


All times are GMT. The time now is 02:14 PM.

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.01059 seconds
  • Memory Usage 1,728KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete