The forum input format needs to deal with BBCode and Smileys.

Comments

webchick’s picture

Title: Create Forum input filter » Create Forum input format

Bah. I meant format. :P

webchick’s picture

Status: Active » Fixed

Fixed 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.