vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Using the vB WYSIWYG [one used for posting new topics, ect.] (https://vborg.vbsupport.ru/showthread.php?t=176338)

XxBuLLeTz 04-16-2008 02:07 PM

Using the vB WYSIWYG [one used for posting new topics, ect.]
 
Hey, been trying all morning on integrating a WYSIWYG box into my form but so far I have tried:

- Taking the exact code from the newtopic.php page
- using scripts found on other sites

I was browsing the templates and found editor set. Is there a script that will parse all of these together to create a WYSIWYG box?

I do not want to use any add-ons to make this WYSIWYG box because i am making my own add-on

Thanks in advance!

MoT3rror 04-16-2008 07:48 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=135708&highlight=WYSIWYG" target="_blank">https://vborg.vbsupport.ru/showt...hlight=WYSIWYG</a>

XxBuLLeTz 04-16-2008 08:48 PM

that gives me a php warning:
HTML Code:

Warning: Invalid argument supplied for foreach() in /includes/functions_editor.php on line 610
maybe its because it was from oct 2006 and newer versions of vb work differently?

help?

thanks!

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

oh i got it. Had to add:

Code:

$specialtemplates = array(
        'bbcodecache'
);



All times are GMT. The time now is 07:04 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.02272 seconds
  • Memory Usage 1,710KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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