Anyone got any ideas on what I should put in my DATAMANAGER so that it verifies a text field?
|
1 Attachment(s)
Okay... I've followed this guide EXACTLY... but I have a few questions and problems... I've circled the obvious problems in red...
https://vborg.vbsupport.ru/attachmen...1&d=1269919038 1 - "Fonts" dropdown menu is missing. 2 - "Sizes" dropdown menu is missing the word "Sizes". 3 - "Bullets" and "Lists" buttons are missing. 4 - "Quote" "Code" "PHP" buttons are missing. 5 - I have no need for attachments or video embedding in this, so I would like to remove those buttons. 6 - "Tooltips" (alt tags?) are missing from all buttons. 7 - The word "More" on the bottom right is missing. In VB3, in order to put an editor into your mod, you had to do some plugin work. I assume that is gone now? Also, when posting the textarea to my script, what is the variable name? $vbulletin->GPC['message'] perhaps? And how do I add a DEFAULT VALUE for this textarea? |
Looking at this code here in the guide is COMPLETELY outdated:
HTML Code:
$editorid = construct_edit_toolbar('',1,'signature',1,1,($vbulletin->userinfo['userid'])); HTML Code:
$editorid = construct_edit_toolbar($description,0,'nonforum',1,1,0); |
Sorry haven't had time to update this guide to match 4.0 gold release. I will get to it once I am able.
|
Add the following if you want to use QR (Quick Reply)
Code:
$show['qr_require_click'] = 0; Unfortunately, I am having a bug, where the buttons on the quick-reply bars aren't working. They work fine on the FE (Full Editor), but not the QR. |
Whenever I use the QR editor, I always get an error...
Code:
Uncaught ReferenceError: vB_Text_Editor is not defined |
Has anyone been able to get the QR editor working yet?
|
Quote:
Maria |
This is the code I am using...
Code:
if ($perms['comment']) Code:
$templater->register('editorid', $editorid); But I keep getting the following error: Uncaught ReferenceError: vB_Text_Editor is not defined As well, none of the buttons on the QR work. If I change the editor to FE, it works fine without error. |
Works great, Thanks microhellas.
|
All times are GMT. The time now is 01:05 AM. |
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:
|