[ 4 posts ]  Reply to topicPost new topic 
Author Message
 [us]
 Post subject: Add BBCode that allows inline CSS
PostPosted: Sun Oct 22, 2017 11:11 pm 
User avatar
Resident Ninnyhammer
Member
[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
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.

_________________
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: Add BBCode that allows inline CSS
PostPosted: Mon Oct 23, 2017 8:49 am 
User avatar
Always have a Shy-Guy in your avatar
Administrator
[A]
[S]
[W]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

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

_________________
Course clear! You got a card.

Image
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: Add BBCode that allows inline CSS
PostPosted: Mon Oct 23, 2017 9:39 am 
Always have Jason Voorhees in your sig
Member
[*]
[*]
[*]
[*]
[*]

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.

_________________
Image

Image Image
Bibby Team | MFGG3 Github
 
Top
Offline 
 User page at mfgg.net
 
 [ca]
 Post subject: Re: Add BBCode that allows inline CSS
PostPosted: Mon Oct 23, 2017 10:41 am 
User avatar
Watashi Wa
Member
[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

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

_________________
My games | My twitter | My stream | Sprites Unlimited

Image
 
Top
Offline 
 User page at mfgg.net
 
« Previous topic | Next topic »
Display posts from previous:  Sort by  
 [ 4 posts ]  Reply to topicPost new topic 


Who is online

Users browsing this topic: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group