The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am a newbie to VBulletin. I'm wondering if it is possible to use the WYSIWYG editor on an admincp page (for a custom field), and if it's possible how it is achieved. I understand functions_editor.php is needed, but I'm not sure how to display the editor and assign it a variable.
Thanks for your help! TIM |
#2
|
|||
|
|||
![]()
I am looking for this same thing as well, sorta of. I am looking for a way to use the WYSIWYG editor on a VBADVANCED page. If anyone knows how, please feel free to splurge the information!
|
#3
|
|||
|
|||
![]()
Pretty easy. Not sure about 3.5 or 3.0 but in vB 3.6:
PHP Code:
PHP Code:
PHP Code:
You'll have some problems with getting right path to .js, .css and .gif files. You can edit these in editor_clientscript and editor_toolbar_on templates but be aware that these files will disappear outside of /admincp/ folder. You've to ways to get that done without a harm: 1) include conditionals like <if condidition="$show[acp_wysiwyg]">../</if> 2) make new set of these templates and new includes/functions_editor.php with replaced template names. I hope I've helped you somehow. That code isn't the prettiest one but it works. If you wan't more details, help or better code then ask here or via pm. |
#4
|
||||
|
||||
![]()
thanks for sharing gulldarek, it's pretty useful information.
|
#5
|
|||
|
|||
![]()
Hello.
Looks like good stuff, gulldarek. I'm sure I can use this in the future. Q: What would have to be changed to use the WYSIWYG editor on form fields NOT in a forum but elsewhere on vB? Thanks in advance. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|