MFGG phpBB Message Boards Archive
https://phpbb.mfgg.net/

Add BBCode that allows inline CSS
https://phpbb.mfgg.net/viewtopic.php?f=65&t=20784
Page 1 of 1

Author:  Cap'n Coconuts [ Sun Oct 22, 2017 11:11 pm ]
Post subject:  Add BBCode that allows inline CSS

There is a Simple Machines mod that adds inline CSS features to that forum software. I think it would be neat to have this feature in MFGG3. This would allow more freedom with the contents of a post while not being nearly as dangerous as allowing members to embed HTML. Here's what would be added:

  • [div] and [span] BBC with style="" and class="" attributes
  • Support for tables.
  • style="" and class="" as optional attributes for lists, images, and tables.

Here are some things people could do with inline CSS:
  • Text shadows and outlines, as well as highlighted text
  • Add border patterns to block elements
  • Use gradient or image backgrounds in a post
  • ... well, anything inline CSS can do, really.

There is some limited potential for abuse, though. CSS's positioning properties could be used to place blocks of text or images outside of the post body, and that could be annoying. Position rules ought to be filtered out of posts or at least restricted by forum guidelines.

Author:  VinnyVideo [ Mon Oct 23, 2017 8:49 am ]
Post subject:  Re: Add BBCode that allows inline CSS

This could be fun for certain things in Space Junk Galaxy, although it would be easy to abuse.

Author:  HylianDev [ Mon Oct 23, 2017 9:39 am ]
Post subject:  Re: Add BBCode that allows inline CSS

Yeah abuse would be a problem. I'm not really feeling this idea unless I can get like, a list of CSS properties to allow people to manipulate.

Author:  Syaxamaphone [ Mon Oct 23, 2017 10:41 am ]
Post subject:  Re: Add BBCode that allows inline CSS

This is a huge security flaw and I do not recommend anyone having the ability to do this.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/