Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Smilies in QR and QE Details »»
Smilies in QR and QE
Version: 1.1.0, by akanevsky akanevsky is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

Version: 3.5.x Rating:
Released: 10-27-2005 Last Update: 06-05-2009 Installs: 226
Uses Plugins Auto-Templates
Translations  
No support by the author.

I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*=============================================*\
|| Smilies in QR and QE
||
|| Author : Anton Kanevsky
|| Works on : vBulletin 3.5.x - 3.8.x
|| Released : Jun 05, 2009
||
|| Time required to install: ~30 seconds
|| Difficulty: easy
\*=============================================*/

DESCRIPTION

Displays standard vBulletin smilies in quick reply and quick edit, which are not there by default.

STATISTICS

Products to Install: 1


VERSION HISTORY

1.1.0
[+] The modification is now compatible with vBulletin 3.5.x - 3.8.x.
[+] Eliminated all template edits.

1.0.3
[+] The modification is now compatible with vBulletin 3.6.

1.0.2
[+] The dropdown has been added to the quick edit form.
[+] The hack is now free of code modifications.

1.0.1
[F] Templates are now cached, 4 queries saved.

1.0.0
Initial Release

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

Show Your Support

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

Comments
  #22  
Old 11-06-2005, 10:06 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I performed a thorough search through vbulletin files to see where $smiliebox gets defined, but I only found out that it gets defined in that function AFTER the hook... so I don't really get the idea
Reply With Quote
  #23  
Old 11-07-2005, 12:17 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I have a better solution Check back tomorrow, and if it comes out well, the hack will have no code mods.
Reply With Quote
  #24  
Old 11-07-2005, 01:01 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm ...

editor_toolbar_start
PHP Code:
$editor_type 'foobar'
?

$editor_type doesn't seem to be needed after that Hook - except for the smilies check. So setting it to smth. else should bypass the if and not cause any side effects.
Reply With Quote
  #25  
Old 11-07-2005, 01:41 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

Quote:
Originally Posted by Andreas
Hmm ...

editor_toolbar_start
PHP Code:
$editor_type 'foobar'
?

$editor_type doesn't seem to be needed after that Hook - except for the smilies check. So setting it to smth. else should bypass the if and not cause any side effects.
Yeh - You can remove the $smiliebox variable

Chris
Reply With Quote
  #26  
Old 11-07-2005, 07:14 PM
Snoop-It's Avatar
Snoop-It Snoop-It is offline
 
Join Date: Jun 2005
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any screen shots involved here?? lol can some one please post me a screen shot on how it looks on properly before i download / install??
Reply With Quote
  #27  
Old 11-07-2005, 08:10 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

RELEASE v1.0.2

[+] The dropdown has been added to the quick edit form.
[+] The hack is now free of code modifications.

TO UPGRADE:

1. Uninstall the old plugin via plugin manager.
2. Install the new product via product manager.
3. Perform the second template modification for postbit_quickedit.
4. Undo the code edit from the previous version.

Quote:
Any screen shots involved here?? lol can some one please post me a screen shot on how it looks on properly before i download / install??
If you want screenshots, go to your vbulletin advanced editor and see what kind of dropdown it has there. That's exactly what you'll get in quick reply.
Reply With Quote
  #28  
Old 11-07-2005, 08:16 PM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are there any upgrade instructions?
Reply With Quote
  #29  
Old 11-07-2005, 08:22 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, sorry.

TO UPGRADE:

1. Uninstall the old plugin via plugin manager.
2. Install the new product via product manager.
3. Perform the second template modification for postbit_quickedit.
4. Undo the code edit from the previous version.
Reply With Quote
  #30  
Old 11-07-2005, 08:28 PM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks ... what about the code edit? Should that be removed too or is that ok?

EDIT .... Ah you edited it ... I look like a plum now
Reply With Quote
  #31  
Old 11-07-2005, 08:29 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Although it doesn't matter in this particular case, the answer is YES. You should undo the code edit.

Also, if you downloaded the archive before this post, download it again. A minor error in XML has been fixed.
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 02:16 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.04912 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_php
  • (2)bbcode_quote
  • (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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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