vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Smilies in QR and QE (https://vborg.vbsupport.ru/showthread.php?t=99532)

akanevsky 11-06-2005 10:06 PM

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 :(

akanevsky 11-07-2005 12:17 AM

I think I have a better solution ;) Check back tomorrow, and if it comes out well, the hack will have no code mods.

Andreas 11-07-2005 01:01 AM

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.

Chris M 11-07-2005 01:41 PM

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 :p

Chris

Snoop-It 11-07-2005 07:14 PM

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??

akanevsky 11-07-2005 08:10 PM

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.

moonclamp 11-07-2005 08:16 PM

Are there any upgrade instructions?

akanevsky 11-07-2005 08:22 PM

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.

moonclamp 11-07-2005 08:28 PM

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 :o

akanevsky 11-07-2005 08:29 PM

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. ;)


All times are GMT. The time now is 10:59 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.01188 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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