Announcement

Collapse
No announcement yet.

Allowing HTML versus Allowing BBC HTML

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Allowing HTML versus Allowing BBC HTML

    What is the difference between allowing posters to use HTML ... and allowing for BBC HTML code.

    vBulletin recommends not allowing anyone to use HTML code, but is it okay to allow BBC HTML coding in posts?

    Is there a difference?

    Jack
    Website | Facebook | Flickr Photostream

  • #2
    the bb code for html is for showing html markup


    HTML Code:
    <font color="red">Red font</front>
    Allowing html, means the above would work in my post and show the words Red Font in red. The problem is html allows your users to have access to the entire codebase of html. This would allow users to pretty much do whatever they want where they can use it.

    Comment


    • #3
      Okay, thanks.

      But what does BBC HTML do?

      Are they the same or do they do anything different? Does enabling BBC HTML Code offer the same risks?
      Website | Facebook | Flickr Photostream

      Comment


      • #4
        Look at my post, that is the html bb code.

        Comment


        • #5
          Originally posted by Zachery View Post
          Look at my post, that is the html bb code.
          I did look at your post, and while you answered my question about HTML, nowhere did you specifically address my other question of there being a difference between HTML code versus HTML BB code.

          I know I am a little slow, so maybe you can point out the area of your post where you specifically addressed my question of, "What is the difference between allowing posters to use HTML ... and allowing for HTML BB code?", because I sure as heck don't see it.

          Here is the reason for my question: in some areas of my ACP I have the option to allow/disallow "raw HTML code" while in others the wording is different to where it says "HTML BB code." Let me illustrate:



          This particular form above speaks of raw HTML code ... while the following form below speaks of HTML BB code:


          So before you go to telling me "I" need to look at "your" post, perhaps you ought to go back and look at my post a little closer, because I sure can't see where you answered the specific question if there was a difference between these two codes. I am sorry I do not have a lot of experience with these things, but I thought that was what "customer support" was for. I was under the impression that raw HTML and BB were different codings, and the vBulletin ACP labels them differently, and so I was only seeking clarification as to which does what.

          Thanks again,

          Jack
          Website | Facebook | Flickr Photostream

          Comment


          • #6
            HTML BB Code is nothing more than syntax highlighting of actual HTML code which you place between the [HTML][/HTML] tags. Which Zachery showed you in Post #2.

            HTML BBCODE:
            HTML Code:
            <html>
            <body>
            
            <h1>My First Heading</h1>
            
            <p>My first paragraph.</p>
            
            </body>
            </html>
            PHP BBCODE:
            PHP Code:
            <?php
            echo "Hello World";
            ?>
            CODE BBCODE:
            Code:
            #include <QStringList>
            #include <QDebug>
            
            int main()
            {
              QStringList names;
              names << "Patricia" << "Markus" << "Uli";
              foreach(QString name, names)
                qDebug() << name;
              return 0;
            }
            Get it?

            RAW HTML will allow your users to destroy your forum. Don't do this. HTML BBCODE is really only useful if your forum focuses on programming/developing/etc. It does not parse or execute the HTML code, just highlight it's source.

            RAW HTML = Parses the actual code
            HTML BBCODE = Does not parse the code, does not do what you think it does
            - Maurice Workin' in the Jira mine, goin' down, down, down

            Comment


            • #7
              That is the kind of thoughtful explanation I was looking for, thank you.

              Yes I do understand now, and I sincerely thank you for your time and explanation, as I am just trying to learn

              Jack
              Website | Facebook | Flickr Photostream

              Comment


              • #8
                I googled this topic, and I found this thread very helpful. Thanks to all who contributed to it. Now, I understand what the meaning of BBcode is.

                Bummer that you can't allow HTML, as you could then have nice sized images in the middle of a post without having to use attachments. Is it really that dangerous?

                I swear I am a member on one very popular forum, that allows users to post large images within the middle of there posts (which I would assume means that they are using HTML to do so.) ????

                That is the part that is confusing me now... ???? Could anyone enlighten me on what else could be allowing regular members on a forum to post large images within there post??

                Comment


                • #9
                  Can I bump this to the top? I am trying to figure out how to allow members to post html within there posts safely (to allow for large self hosted images).

                  Comment


                  • #10
                    Originally posted by rhender View Post
                    Can I bump this to the top? I am trying to figure out how to allow members to post html within there posts safely (to allow for large self hosted images).
                    Rhender, it sounds like you want to go to VB Options -> Message Attachment Options Turn off Resize Images if you don't need images resized.

                    Then check out your Style Variable Editor and look at the attachment_images related variables for more customization of the max size of uploaded images.

                    Comment


                    • #11
                      Originally posted by GenDeathRaiser View Post
                      Rhender, it sounds like you want to go to VB Options -> Message Attachment Options Turn off Resize Images if you don't need images resized.

                      Then check out your Style Variable Editor and look at the attachment_images related variables for more customization of the max size of uploaded images.
                      Thanks for that tip Death Raiser. Sweet name by the way.

                      Well, I'm just wondering... because I looked at the source code of a thread that was going in another popular forum that I frequent and....

                      the guy posting had put in large images (they weren't attachments) in his post, so I figured they were hosted on his personal site, and he was just adding HTML to his post to reference his self hosted images (absolute URLs).

                      in the source code... I saw that in fact it was HTML that pointed to images hosted on his personal site.

                      So... I know that the forum I am talking about (which is very popular- but I won't name) allows their members to do that. I would like to be able to do that, as long as it keeps my forum/site safe.

                      Any help would be awesome! Thanks for your tip though, I really appreciate it.

                      Comment


                      • #12
                        That's not true, if you use:
                        Code:
                        [img]URL TO IMAGE HERE[/img]
                        it will display the image. BB code works by swapping in code snippets to perform what you want, without needing to allow users the freedom to alter the code of your page themselves.

                        when you use the img bb code, vbulletin is automatically turning that
                        Code:
                        [img][/img]
                        into
                        Code:
                        <img src="theurlinbetweenthetags">

                        Comment


                        • #13
                          Originally posted by GenDeathRaiser View Post
                          That's not true, if you use:
                          Code:
                          [img]URL TO IMAGE HERE[/img]
                          it will display the image. BB code works by swapping in code snippets to perform what you want, without needing to allow users the freedom to alter the code of your page themselves.

                          when you use the img bb code, vbulletin is automatically turning that
                          Code:
                          [img][/img]
                          into
                          Code:
                          <img src="theurlinbetweenthetags">
                          Oh!!!!! OK, I get it now. That makes sense. Great to know... that should solve my problem. Thanks so much!

                          Comment

                          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                          Working...
                          X