vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to add a Flash button to the CKeditor? (https://vborg.vbsupport.ru/showthread.php?t=265767)

wahtaljouf 06-25-2011 12:04 AM

How to add a Flash button to the CKeditor?
 
Hello,

Please, I want to add flash button to the CKeditor in vb 4.1.4
What are the steps to do that?

And what if you want to add other buttons.
Are the same steps?

Thanks.

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

Is it so difficult ?

wahtaljouf 07-10-2011 03:55 PM

<font color="Red">If you do not provide support for the product,
Why did you include it in a forum?</font>

uhking 07-30-2011 10:06 AM

Quote:

Originally Posted by wahtaljouf (Post 2218985)
If you do not provide support for the product,
Why did you include it in a forum?

I also have the same expresions............:down:

kh99 07-30-2011 10:33 AM

You could add in the flash button that's part of the CKEditor, but since you're still editing a vbulletin post you can't include flash unless you enable HTML for a forum (which you probably don't want to do). You could define a custom bbcode to allow flash to be inserted, and bbcodes have their own way of defining a button for the editor.

Oracle simsim 08-02-2011 11:06 PM

I have the same question.

surely we can define a custom bbcode and that what I did for flash. but I need to know where to write my javascript function that insert the formatted bbcode to the editor ( i.e. function that ask for the url, width and height then insert the flash tag into the editor textarea.

I found that the custom bbcode are added to the editor via the ckeditor config. and there is a hook "editor_custom_toolbar_loop" we can use it to write specific action when the custom button pressed. but how to do that ?


All times are GMT. The time now is 02:41 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.01005 seconds
  • Memory Usage 1,717KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete