vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   vbEditor Wysiwyg in custom pages? (https://vborg.vbsupport.ru/showthread.php?t=157633)

Kiint 09-12-2007 09:56 AM

vbEditor Wysiwyg in custom pages?
 
Hi all,

I've been searching on the forums on the way to make use of the vb wysiwyg text editor within my custom code but am not having any luck finding a way to do this.

Could anyone please give me some advice on what I should do to the code below to make it have the functionality of the vbeditor?

Code:


<form action="test.php" method="post">
<input type="hidden" name="do" value="savestep">
<input type="hidden" name="q_id" value="$q_id">
<input type="hidden" name="q_step" value="$i">
<textarea wrap="virtual" cols="100" rows="15" name="message">$q_stepdesc</textarea>


Dismounted 09-12-2007 12:31 PM

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

Also, make sure that if you use the editor on your own pages, you must include the vBulletin copyright text as you are using its functionality.

Kiint 09-12-2007 09:47 PM

Thanks for your reply, but this seems a LOT for what basically will be a form within a vBulletin template. Can't we just call the functions that are already being loaded when we call our templates up?

At the moment i'm using some code from my old site which uses a simple editor called tinyMCE which you place a small part of code above your form and it calls up all the html editor functions with javascript.

isn't there something i can just include in the template code above that will do the same with the vb wysiwyg interface?


All times are GMT. The time now is 11:33 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.00958 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_code_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