View previous topic :: View next topic |
Would You use HTML in your posts if it could be enabled? |
Yes |
|
12% |
[ 2 ] |
No |
|
87% |
[ 14 ] |
|
Total Votes : 16 |
|
Author |
Message |
erik258 Advocate
Joined: 12 Apr 2005 Posts: 2650 Location: Twin Cities, Minnesota, USA
|
Posted: Fri Nov 17, 2006 5:32 pm Post subject: HTML Code in Forum Posts |
|
|
I wish you got to use html once a respected poster. i think a lot of people would rather code in their own html (strict limitations would be applicable, maybe not even allowing for styles). Content such as images would still have to be served elsewhere (just as they do now) and the page visitor could always disable the function just as they can disable smilies or BBCode.
I have noticed the option below the emoticons area to the left of the posting textbox to turn on html, but it has clearly been disabled. I find it limiting to always need to use the bbcode however, and find its inability to, for example, color code within a code block, irritating. Of cours, it doesn't impede my ability to use the forums, but if it could be enabled on a per-user basis, I would think many of the experienced forum users could use it well. _________________ Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit! |
|
Back to top |
|
|
Zepp Veteran
Joined: 15 Mar 2004 Posts: 1246 Location: Ontario, Canada
|
Posted: Fri Nov 17, 2006 5:35 pm Post subject: |
|
|
Turning on html allows people to insert javascript and crap into their posts I believe. Also if you put html in a [code][/code] block it would still just show up as source code/text and wouldn't change anything inside the box. |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Fri Nov 17, 2006 5:38 pm Post subject: |
|
|
BBCode actually *is* a stripped down version of html. Images are not an option, they even had to be disabled in signatures as it was too annoying. I don't quite see what you are missing - what could be achieved with html that cannot be achieved with bbcode? The only thing I read in your post is syntax highlighting of code blocks. This could be done with a mod (there are threads about it in this forum), doing it manually would be stupid anyway. If you want to use formatting in code tags, use quote tags as a workaround (yeah, i know about whitespaces). _________________ KDE |
|
Back to top |
|
|
erik258 Advocate
Joined: 12 Apr 2005 Posts: 2650 Location: Twin Cities, Minnesota, USA
|
Posted: Fri Nov 17, 2006 5:43 pm Post subject: |
|
|
Quote: | Turning on html allows people to insert javascript and crap into their posts I believe |
have you ever used [blush] myspace ? They have an interesting mechanism to allow a limited amount of CSS styling of one's user page while still preserving the aspects of the page they wish unalterable.
Such a mechanism would be extremely important, of course. However, I would not be surprised if the phpBB code already allowed for such security mechansims as disabling <script> and other easily subverted tags. In fact, PHP supports html tag stripping 'natively'; i mean, there's a built-in function for it.
Quote: | Also if you put html in a block it would still just show up as source code/text and wouldn't change anything inside the box. |
I don't think that's necessarily true. The code block itself, written in phpBB, is going to haveto be converted to html to have the nice border and whatnot. Assumedly, phpBB does this for us, reading the 'bbcodes' and replacing them with marked up hypertext. Since html inside other html tags are fully interpreted by the browser, this isn't a problem at all. _________________ Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit! |
|
Back to top |
|
|
Zepp Veteran
Joined: 15 Mar 2004 Posts: 1246 Location: Ontario, Canada
|
Posted: Fri Nov 17, 2006 6:12 pm Post subject: |
|
|
erik258 wrote: | Quote: | Turning on html allows people to insert javascript and crap into their posts I believe |
have you ever used [blush] myspace ? They have an interesting mechanism to allow a limited amount of CSS styling of one's user page while still preserving the aspects of the page they wish unalterable.
Such a mechanism would be extremely important, of course. However, I would not be surprised if the phpBB code already allowed for such security mechansims as disabling <script> and other easily subverted tags. In fact, PHP supports html tag stripping 'natively'; i mean, there's a built-in function for it.
Quote: | Also if you put html in a block it would still just show up as source code/text and wouldn't change anything inside the box. |
I don't think that's necessarily true. The code block itself, written in phpBB, is going to haveto be converted to html to have the nice border and whatnot. Assumedly, phpBB does this for us, reading the 'bbcodes' and replacing them with marked up hypertext. Since html inside other html tags are fully interpreted by the browser, this isn't a problem at all. |
You would have to alter the way phpBB parses code blocks so that it preserves the html otherwise it will convert and print the code literally like this
And then say you do but what happens when I actually want to post html source code so someone can give me advice in the programming support forum for example. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20499
|
Posted: Sat Nov 18, 2006 12:33 am Post subject: |
|
|
BBCode enables plenty of features. It's a text post, not a dynamic website. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
amne Bodhisattva
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Sat Nov 18, 2006 11:44 am Post subject: |
|
|
erik258 wrote: | Quote: | Turning on html allows people to insert javascript and crap into their posts I believe |
have you ever used [blush] myspace ? They have an interesting mechanism to allow a limited amount of CSS styling of one's user page while still preserving the aspects of the page they wish unalterable. |
Search the internet for myspace and worm or myspace and XSS. _________________ Dinosaur week! (Ok, this thread is so last week) |
|
Back to top |
|
|
Ateo Advocate
Joined: 02 Jun 2003 Posts: 2021 Location: Republic of California
|
Posted: Fri Nov 24, 2006 5:05 pm Post subject: |
|
|
why would we need html for forum posts? Are we building a websites with our posts? |
|
Back to top |
|
|
|