Log in

View Full Version : vbEditor Wysiwyg in custom pages?


Kiint
09-12-2007, 09:56 AM
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?


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