MyBB Community Forums

Full Version: MyCommentDivider Plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
- MyCommentDivider
-----------------------------
- Mycommentdivider is a simple plugin that adds a divider between the thread authors post and user replies, it also displays a message if no user has replied to a thread. The plugin divider only shows after first post.
- After seperating the authors post from user replies the plugin then displays a reply count as well to tell others how many replies were posted in that thread.
- But in a situation where nobody has replied to the thread yet, then a message is show to user that no replies where posted.

- Features
----------------
- Ability to enable or disable the plugin function in plugin settings.
- Ability to enable or disable the comment counter.
- Ability to choose choose which usergroup can see the divider.
- Ability to modify the divider style or message as you want, you just need to look for (MyCommentDivider Templates) and then you see two template sets, the first one is displayed when there are comments / replies in a thread, the second one is displayed when there is no comments / replies in a thread.

- Support
----------------------
- Support May Be Received In The [MyBB Community - http://community.mybb.com]
Fatal error: Uncaught mysqli_sql_exception: Out of range value for column 'disporder' at row 1 in /var/www/.../data/www/.../inc/db_mysqli.php:327 Stack trace: #0 /var/www/.../data/www/.../inc/db_mysqli.php(327): mysqli_query(Object(mysqli), '\n\t\t\tINSERT\n\t\t\tI...') #1 /var/www/.../data/www/.../inc/db_mysqli.php(370): DB_MySQLi->query('\n\t\t\tINSERT\n\t\t\tI...', 0, 1) #2 /var/www/.../data/www/.../inc/db_mysqli.php(834): DB_MySQLi->write_query('\n\t\t\tINSERT\n\t\t\tI...') #3 /var/www/.../data/www/.../inc/plugins/MCD/mcd_settings.php(46): DB_MySQLi->insert_query('settinggroups', Array) #4 /var/www/.../data/www/.../inc/plugins/mycommentdivider.php(48): mycommentdivider_get_install() #5 /var/www/.../data/www/.../admin/modules/config/plugins.php(428): mycommentdivider_install() #6 /var/www/.../data/www/.../admin/index.php(825): require('/var/www/.../...') #7 {main} thrown in /var/www/.../data/www/.../inc/db_mysqli.php on line 327
SQL Error:
1264 - Out of range value for column 'disporder' at row 1
Query:
INSERT INTO mybb_settinggroups (name,title,description,disporder,isdefault) VALUES ('mycommentdivider','MyCommentDivider (MCD)','This Is Where You Manage The MyCommentDivider Plugin Settings...',-1,0)