![]() |
Add Dropdown To WYSIWYG For Custom BBCode?
The title pretty much says it all. I have a custom BBCode that pretty much demands a dropdown as the {option} values cannot be made intuitive. Is it possible? If so, any tips for making it happen?
Any help would be greatly appreciated, and the finished results shared with the community. |
So I guess that answers that then, ehh? lol
|
It's not something that can be done easily, you'd need plugins and javascript... would be a tough one.
|
Thank you for your reply. I recon I'll keep digging and see if I can figure something out,
The JavaScript should be no issue, but I don't have the first clue how to write a "plug-in". |
The plugin is just php code... In your Admin CP -> Plugin Manager -> Add a New Plugin...
You have to select the right "hook" for your plugin... A hook is a line in the native vbulletin.php files where the code of your plugin will be evaluated. I'd imagine the hook you'd want is one of the "editor_toolbar" hooks. |
Cool, thanks. I'm about to start something of a more straight forward project requiring plug-ins, so that may get shaped up enough to do what I need here. :cool:
|
All times are GMT. The time now is 08:48 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|