Log in

View Full Version : Wysiwyg


Jacob B
08-20-2008, 08:09 PM
I'm developing a new articles system, but I'm a little confused about something. At the moment when you post a new entry you only use the Quick Reply sort of editor. It doesn't include the smilies, etc. to the right of the editor. I'm looking to have the editor you use when posting a new thread.

I've looked through the newthread template and found no difference in forms, so is this something I need to change in the PHP file?

Opserty
08-20-2008, 08:23 PM
construct_edit_toolbar (http://members.vbulletin.com/api/vBulletin/_includes---functions_editor.php.html#functionconstruct_edit_t oolbar)


string $text: The text to be initially loaded into the editor
boolean $ishtml: Is the initial text HTML (rather than plain text or bbcode)?
mixed $forumid: Forum ID of the forum into which we are posting. Special rules apply for values of 'privatemessage', 'usernote', 'calendar', 'announcement' and 'nonforum'
boolean $allowsmilie: Allow smilies?
boolean $parsesmilie: Parse smilies in the text of the message?
boolean $can_attach: Allow attachments?
string $editor_type: Editor type - either 'fe' for full editor or 'qr' for quick reply
string $force_editorid: Force the editor to use the specified value as its editorid, rather than making one up

Jacob B
08-20-2008, 09:43 PM
Thank you greatly. I thought I had put 'fe' but I must have used 'qr' for both the replies and submit file. Thanks alot, mate!