The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Having problems using the VB editor
I don't know what I am doing wrong.
I am using Code:
$editorid = construct_edit_toolbar($text, 0, 'nonforum', iif($vbulletin->options['privallowsmilies'], 1, 0)); In the source code, I see the textarea is named 'message'. So, I should be able to process the data in $_POST['message'] or run it through the clean array to validate it. But, I am not receiving the text. If I use Code:
$editorid = construct_edit_toolbar("Hello", 0, 'nonforum', iif($vbulletin->options['privallowsmilies'], 1, 0)); But if I use Code:
$editorid = construct_edit_toolbar(" ", 0, 'nonforum', iif($vbulletin->options['privallowsmilies'], 1, 0)); I am banging my head on the wall. How in heck do I use this editor? I have been trying to mimic what I see in newreply.php and private.php - it's just not working right. Any suggestions? |
#2
|
||||
|
||||
Never mind - I figured it out.
|
#3
|
|||
|
|||
How'd you fix it? Id be interested to know since Ill be mucking around with the editor eventually
|
#4
|
||||
|
||||
I was missing info in the template that used it.
|
#5
|
|||
|
|||
Hey Amy, would you mind going into more details? I'm also banging my head against the same wall
Thanks in advanced for any insight you can give Alan. Edit: Nevermind, got it working Adding enctype="multipart/form-data" to the <form> tag got it working for me. The New PM template which I was basing mine on doesn't have this though, so I'm still confused, but it works which is enough for me |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|