Adding BB codes to a Plugin
From e107 Wiki
e107 Wiki: English | Русский | Deutsch | Français | Magyar | Português | Български | Česky | Nederlands | Ελληνικά | Italiano | Norske | Polska | Slovenščina | Español | Svenska | Translate: Wiki | Page
Adding bbcode to your e107 plugin is as simple as including a .bb file in your plugin folder. eg. mycode.bb (See Any bbcodes added in a plugin are available system-wide. There are two parameters passed to a bbcode:
All the normal coding features, such as global variables, including files and the like, are available in the normal way. To add a bbcode button to your textarea you need to create an
Explanation:
Note: To be sure that your bbcode is registered in e107, check the Preference Viewer in admin -> database and look for your file in the pref bbcode_list. If it is not shown, run the Plugin Scan & View in admin -> database. Technical References | |||||||||||

