There are a couple of things I've done here that we may want to revisit later:
a) I don't disallow HTML from being posted, for compatibility on sites with existing content. Obviously, in "true" PHPBB, you get the option of BBCode or nothing. I think this is acceptable, though it does make a bit of a mess since it's possible to mix and match HTML and BBCode within the same reply.
b) When restoring the default input format, I just blindly set it back to #1, which is Filtered HTML in 99.999% of cases. I guess we'll wait until that 0.0001% user comes and complains about it and then do something more robust.
Comments
Comment #1
webchickBah. I meant format. :P
Comment #2
webchickFixed in http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/drubb/drubb....
There are a couple of things I've done here that we may want to revisit later:
a) I don't disallow HTML from being posted, for compatibility on sites with existing content. Obviously, in "true" PHPBB, you get the option of BBCode or nothing. I think this is acceptable, though it does make a bit of a mess since it's possible to mix and match HTML and BBCode within the same reply.
b) When restoring the default input format, I just blindly set it back to #1, which is Filtered HTML in 99.999% of cases. I guess we'll wait until that 0.0001% user comes and complains about it and then do something more robust.
A review and RTBC on #472558: Add helper function for removing an input format would be appreciated, since currently there's a lot of copy/pasted code which is living in drubb.install that ought not to be.