Theme Issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kyle Matthews
    Member
    • Sep 2011
    • 43
    • 4.1.x

    [Forum] Theme Issue



    This issue is occurring on our custom theme (no, it doesn't happen on default vB theme, and yes, I am still asking for help to see if anyone can figure it out). It happens when you mess with the order of the bbcodes. For instance, to create this we did this:

    HTML Code:
    [ list ][ quote=Quote By me][*]got it to break.[ /list]There broke it[ /quote]
    Out side of box
    (but correct syntax - vb here keeps completing it correctly)

    Which leads to this HTML:

    HTML Code:
    <div id="post_message_6260664">                        <blockquote class="postcontent restore ">                            <!-- google_ad_section_start --><ul><li>got it to break.</div>                    </div>    </div></div> </li></ul><div class="bbcode_container">    <div class="bbcode_quote">        <div class="quote_container">            <div class="bbcode_quote_container"></div>                            <div class="bbcode_postedby">                    <img src="http://modmyi.com/images/misc/quote_icon.png" alt="Quote" /> Originally Posted by <strong>Quote By me</strong>                                    </div>                <div class="message">There broke it</div>                    </div>    </div></div> Out side of box<!-- google_ad_section_end -->                        </blockquote>
    It's obvious that's not correct, but I can't find where in the templates to edit stuff to avoid this occurring.

    Ideas?
    My Blog | ModMyi.com | ModMyMobile.com
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    Can we get a link to see the problem please.

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools &lt;- awesome site for html/css help

    Comment

    • Kyle Matthews
      Member
      • Sep 2011
      • 43
      • 4.1.x

      #3
      Sure, http://modmyi.com/forums/wiki-discus...est-break.html.
      My Blog | ModMyi.com | ModMyMobile.com

      Comment

      • Lynne
        Former vBulletin Support
        • Oct 2004
        • 26255

        #4
        It looks to me like your postbit_legacy template is messed up. Or, you allow users to post using html. Do you know what his exact post was?

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools &lt;- awesome site for html/css help

        Comment

        • Kyle Matthews
          Member
          • Sep 2011
          • 43
          • 4.1.x

          #5
          His exact post is pasted in this thread in my initial post I believe, but it also copied here:

          My Blog | ModMyi.com | ModMyMobile.com

          Comment

          • Lynne
            Former vBulletin Support
            • Oct 2004
            • 26255

            #6
            Ah, OK, I was misunderstanding something here (or maybe not). That text *does* break my default style. I'm surprised it doesn't break yours. I don't know what can be done if users mix up their bbcode. I suppose there could be checks in place for that, but currently there isn't. So, this could be put into Jira as a Suggestion.

            What's weird is, I put in what you had in the first post (only I removed the spaces you had to add) and when I went to edit it, it was modified to be like this:

            Code:
            [noparse][LIST][*]got it to break.[/quote][/LIST]
            
            [quote=Quote By me]There broke it[/quote] Out side of box[/noparse]
            Original:
            Code:
            [noparse][list][quote=Quote By me][*]got it to break.[/list]
            There broke it[/quote] Out side of box[/noparse]
            (I used [ noparse ] tags to enter the code.) So, it appears that there is some sort of correction going on.

            Please don't PM or VM me for support - I only help out in the threads.
            vBulletin Manual & vBulletin 4.0 Code Documentation (API)
            Want help modifying your vbulletin forum? Head on over to vbulletin.org
            If I post CSS and you don't know where it goes, throw it into the additional.css template.

            W3Schools &lt;- awesome site for html/css help

            Comment

            • Kyle Matthews
              Member
              • Sep 2011
              • 43
              • 4.1.x

              #7
              Yah, I noticed that as well. Is that something you have which we don't? I don't think I disabled any JS or AJAX stuff. But yah, I guess I'll put it in Jira.
              My Blog | ModMyi.com | ModMyMobile.com

              Comment

              • Lynne
                Former vBulletin Support
                • Oct 2004
                • 26255

                #8
                I don't have any special anything on my test site that you don't have. It is interesting that when I edit that post, it gets 'fixed' though. You'd think it would get 'fixed' when submitted and spit out the first time.

                Please don't PM or VM me for support - I only help out in the threads.
                vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                Want help modifying your vbulletin forum? Head on over to vbulletin.org
                If I post CSS and you don't know where it goes, throw it into the additional.css template.

                W3Schools &lt;- awesome site for html/css help

                Comment

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