Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Easier Adding of Multiple Smilies in AP (title & text-to-replace automatically filled Details »»
Easier Adding of Multiple Smilies in AP (title & text-to-replace automatically filled
Version: 1.00, by KuraFire KuraFire is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 01-23-2003 Last Update: Never Installs: 23
 
No support by the author.

HACK: Easier Adding of Multiple Smilies in AP (title & text-to-replace automatically filled-in)
BY: KuraFire [www.kurafire.com]
SUGGESTED BY: Xiphoid [creations.nl]
DESCRIPTION: Will automatically (optional) insert the smilie filenames in the Title and Text-to-replace fields when you add multiple smilies at once
DIFFICULTY: Easiest
INSTALL-TIME: 5 minutes
STEPS: 7


EXTENDED DESCRIPTION:
If you ever added like 20 to 50 smilies to your vB at once, you probably wished you could've just told the system to take the filenames as default Title as well as Text-to-replace, so that you wouldn't have had to insert them all manually, one by one. Well, with this hack you can! It gives you the option (defaulted to yes) to tell the script to take the filename, minus the .ext of course, and use that value (stripped from any non-alphabetical or numerical characters) for the Title field (where it will be ucfirst()'d, by the way) as well as the Text-to-replace field (with :'s surrounding the value). It's far more simple if you just see it work, of course

NOTE: you have to download the newest file attachment (from 3:10 PM CET!) if you want it to work on multiple pages. It became 7 steps (instead of 4), and take good notice of step 2 if you're 'upgrading' from the first release!

CURRENT ATTACHMENT CONTAINS THE INSTRUCTIONS TO MAKE IT WORK WITH PAGINATION AS WELL!


Instructions are in the attachment

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-24-2003, 12:03 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there,

Thank you for making my suggestion into a hack. You did a great job. The hack works perfectly.

I source code hacked the .php file and uploaded it, chmod 777 the smilies directory and uploaded the smilies that I wanted to add. (200+ smilies) and went to the back-end, 'add' smilies > multiple, set it to do 100 at once, and clicked master checkbox to select them all. Pressed submit, and repeated this untill all 200+ smilies were processed. I was done within 5 minutes (including installing the hack).

It is a great addition, and for some reason I hope this will be default feature for all upload options, like smilies and avatars, in upcomming version of vbulletin!


[update]
I installed the hack on 5 vbulletin boards, 2.2.7 / 2.2.8 / 2.2.9 versions, hacked and unhacked, and all worked 100% - Thank you
Reply With Quote
  #3  
Old 01-24-2003, 04:04 PM
geniuscrew's Avatar
geniuscrew geniuscrew is offline
 
Join Date: Nov 2001
Location: UK
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A brilliant idea! It was soo painful before adding smilies at once!

Nice one
Reply With Quote
  #4  
Old 01-24-2003, 05:24 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good work again Kura

Might want to change AP to ACP in the title to save confusion hehe

Regards

- miSt
Reply With Quote
  #5  
Old 01-24-2003, 06:55 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Kura

Satan
Reply With Quote
  #6  
Old 01-24-2003, 07:20 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mist: I always refer to the Admin Panel with AP, though...

(what could it really be if not Admin Panel, anyway?)

thx guys, figured you'd like it ^_~
Reply With Quote
  #7  
Old 01-25-2003, 06:53 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Administrator Control Panel
Moderators Control Panel
User Control Panel

in version 3 of vBulletin it will be called forum/admincp and forum/modcp
Reply With Quote
  #8  
Old 01-26-2003, 11:49 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmkay, I'll start to go use ACP from now on then ;p
Reply With Quote
  #9  
Old 01-29-2003, 05:58 AM
alkatraz alkatraz is offline
 
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome!
i wanted this when i was first setting up my board!!
Reply With Quote
  #10  
Old 01-29-2003, 04:06 PM
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Location: Virginia Beach, Virginia
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good one Kura!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:05 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05503 seconds
  • Memory Usage 2,287KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete