1 Attachment(s)
Hello all,
The code to include qr editor is: 1.- PHP File Code:
$editorid = construct_edit_toolbar('', false, 'nonforum', false, true, false, 'qr'); Code:
<div class="wysiwyg_block"> Maria |
Quote:
thank you so much, this was excaktly what i needed I can get this working just fine, but the full editor wont work for me message returns blank.. But this is fine,, Tx Maria ;) :up: |
Quote:
Code:
$editorid = construct_edit_toolbar($profile['bodytext'],1,'',0,1,($vbulletin->userinfo['userid'])); Maria |
I dont know man... I copy and pasted your code EXACTLY and I'm still getting the same error.
Code:
Uncaught ReferenceError: vB_Text_Editor is not defined |
Quote:
Code:
<script type="text/javascript" src="clientscript/vbulletin-editor.js?v={vb:raw vboptions.simpleversion}"></script> Quote:
Maria |
Heh, sorry, woman... Anyways, I got all that and it's not making a difference, text editor buttons dont work... the error pops up on the console in Chrome too... This is all my code related to this...
Code:
if ($perms['comment']) Code:
$templater->register('editorid', $editorid); Code:
<vb:if condition="$perms['comment']"> Everything works fine if I switch to the FE, instead of the QR... but I don't want to use the FE in this specific spot. |
Quote:
Code:
enctype="multipart/form-data" Code:
class="block vbform" |
The multipart/form-data encoding type shouldn't be required, as I'm not supporting attachments in this form. However, i added both that and the class just to test it out, and neither made a difference (except that the class made the style look ugly, which is why I removed it in the first place).
Buttons still not working. |
Quote:
Nope still wont transfer "message / bodycontents" Ive made a video exsample http://www.screencast.com/t/M2U2ZGU1NGUt wow screencast stinks,, youtube for the win.. http://www.youtube.com/watch?v=MS2UXqNOA-0 i changed the "Type="POST" to TEST so i get the entire line postet in my URL field for debugging.. and as seen on the video, message= thats it.. --------------- EDIT / UPDATE If i change the editor mode to view BBcode (Aa button topright in editor) the text submit fine, and it submits as wysiwyg=0 then it works.. which is strange.. so it has to be something with the initial setup... --------------- EDIT / UPDATE 2 - it works if im logged out, if im logged in, it dosent submit the textarea named message.. got to be login info in the php.. --------------- FINAL EDIT just using Quick reply box, its the only one working for me.. the full editor got some problems with user permissions.. |
@Vaupell
i got the same problem ! but i am not as far as your edits describe - i want to figure out, how it works in a proper way!does anybody know a solution ? |
All times are GMT. The time now is 11:36 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|