2009-02-28, 01:41 PM
This is my first ever MyBB plugin, so don't be too hard :)
Also, English is not my mother language (Russian is).
The plugin was created for an upcoming introduction of a new forum - MyBB based, of course - on a site of russian programming tool (it's like an IDE, but for several programming languages - Object Pascal/Delphi, FlatAsm, C++, PHP, JavaScript, CSS, HTML) called HiAsm. The idea behind this plugin is to automatically enforce one of the forum rules that says "Please don't post large code chunks (> 100 chars) in message body, use attachments!".
Plugin supports internationalization, language files for English and Russian are already included. Also, maximal length of code chunk is configurable via Admin CP.
Also, English is not my mother language (Russian is).
The plugin was created for an upcoming introduction of a new forum - MyBB based, of course - on a site of russian programming tool (it's like an IDE, but for several programming languages - Object Pascal/Delphi, FlatAsm, C++, PHP, JavaScript, CSS, HTML) called HiAsm. The idea behind this plugin is to automatically enforce one of the forum rules that says "Please don't post large code chunks (> 100 chars) in message body, use attachments!".
Plugin supports internationalization, language files for English and Russian are already included. Also, maximal length of code chunk is configurable via Admin CP.