View Full Version : HTML support (Forums module) in 2.0.1 (gone)?
andremartin
11-04-05, 11:34 AM
Something I rely on is the possibility to use HTML code in the Forums module. In dotproject 1, I could add pictures, format text etc... using simple HTML code when typing the posting. Most importantly: adding URLs at the end of the message for further reference.
After upgrade to dotproject 2.0.1, this feature seems gone as it won't display any HTML code anymore. I couldn't find anything related in the Forums nor System settings.
Is there a way to get this back working? Config, code...?
webpros
30-04-05, 04:46 AM
I have problem with the same issue. Makes it especially difficult to read task descriptions. would be very nice to have an "htmlarea" type script integrated so you can really layout tasks well.
I hope someone can provide an answer for this.
Agreed, I'm hoping that at least carriage returns will be allowed in the task descriptions as they were in 1.0 so that long descriptions can look organized. I posted a similiar issue over 20 days ago. No response yet.
webpros
01-05-05, 10:45 AM
Found a temporary fix while perusing dp Mantis. If you use FireFox then CRLF will work. This is GREAT and will suffice in the meantime.
webpros
02-05-05, 02:11 PM
Found another fix. In the includes/db_connect.php file are three lines with "strip_tags". DP is using a smarty plugin that strips any html tags before they go to the database. I know they are doing this for security reasons, but I'm not worried about it as I trust everyone who is logging in to our DP.
So the simple solution is to delete those three references. You can insert full html code, but still no carriage returns. But if you use FireFox in conjunction with this change you have the best of both worlds.
Here is an example of how the line should look.. This is line #227 in db_connect.php and how it should be corrected:
(Line 227 Old code) $values[] = "'" . db_escape(strip_tags( $v )) . "'";
(Line 227 New Code) $values[] = "'" . db_escape( $v ) . "'";
Do the same thing on lines 261 and 307
vBulletin® v3.6.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.