HTML code on/off

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Cold Steel
    Senior Member
    • Apr 2000
    • 383
    • 3.0.1

    HTML code on/off

    I have HTML enabled in all but one of my forums, yet the HTML always says off.

    Bug?
    Richard Young, Esq.
    asian forums | asians
    Reverse Funnel System - Fastest Way To Monetize Your Forum
  • Mike Sullivan
    Former vBulletin Developer
    • Apr 2000
    • 13327
    • 3.6.x

    #2
    IIRC, this isn't controlled automatically. I believe it is hard coded into a template. Hmm.. maybe I'll make a hack for it or something :D

    Comment

    • Cold Steel
      Senior Member
      • Apr 2000
      • 383
      • 3.0.1

      #3
      In 1.1.2 it's supposed to update automatically, and the new templates reflect this.

      BTW what does IIRC mean?
      Richard Young, Esq.
      asian forums | asians
      Reverse Funnel System - Fastest Way To Monetize Your Forum

      Comment

      • Susan
        Senior Member
        • May 2000
        • 633

        #4
        IIRC = If I Recall Correctly :D

        Comment

        • doron
          Senior Member
          • Apr 2000
          • 669

          #5
          seeing this too on my 1.1.2. Very annoying.

          In the templates, in "forumrules", it uses variables like $htmlcodeon and such, but they seem not to work....

          Comment

          • WebStyles
            Senior Member
            • Apr 2000
            • 323

            #6
            In forumrules, the $htmlcodeon etc... variables work for me. :)
            We're Here Forums!
            [email protected]

            Comment

            • John
              Senior Member
              • Apr 2000
              • 4042

              #7
              How do they not work? Do they not show up at all, or do they not show the correct value?

              John
              John Percival

              Artificial intelligence usually beats real stupidity ;)

              Comment

              • Username
                Senior Member
                • May 2000
                • 321
                • 3.0.6

                #8
                HTML Code.

                On my board, the text at the bottom that says "HTML code is OFF" never changes, no matter which way I toggle HTML in the admin setup. Mine is a new install of 1.1.2.

                Comment

                • Cold Steel
                  Senior Member
                  • Apr 2000
                  • 383
                  • 3.0.1

                  #9
                  [QUOTE][i]Originally posted by John [/i]
                  [B]How do they not work? Do they not show up at all, or do they not show the correct value?

                  John [/B][/QUOTE]

                  They show up, but not the correct value.
                  Richard Young, Esq.
                  asian forums | asians
                  Reverse Funnel System - Fastest Way To Monetize Your Forum

                  Comment

                  • WebStyles
                    Senior Member
                    • Apr 2000
                    • 323

                    #10
                    Here is my exact forumrules template that works flawlessly...

                    [code]<smallfont><b>Who Can Post:</b> Any registered user
                    can post new topics or replies.<br>
                    <b>Posts:</b> HTML code is $htmlcodeon.
                    Smilies are $smilieson. vB code is $bbcodeon.
                    [IMG] and [SWF] codes are $imgcodeon.</smallfont>[/code]

                    Ignore the [SWF] code bit, that's one I added manually. :)
                    We're Here Forums!
                    [email protected]

                    Comment

                    • doron
                      Senior Member
                      • Apr 2000
                      • 669

                      #11
                      hmmmm

                      [quote]
                      <b>Posts:</b> HTML code is $htmlcodeon. <a href="index.php?action=showsmilies" target=_blank>Smilies</a> are $smilieson. <a href="index.php?action=bbcode" target=_blank>vB code</a> is $bbcodeon. [IMG] code is $imgcodeon.[/quote]

                      the output is:
                      Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is OFF.

                      I turned them all one and they work in posts. This is 1.1.2 fresh isntall.

                      Comment

                      • Cold Steel
                        Senior Member
                        • Apr 2000
                        • 383
                        • 3.0.1

                        #12
                        I use the default code, which I believe is pretty close to what you have there WebStyles.

                        And I get the same output as doron.

                        I guess I'll go back to changing it manually.
                        Richard Young, Esq.
                        asian forums | asians
                        Reverse Funnel System - Fastest Way To Monetize Your Forum

                        Comment

                        • WebStyles
                          Senior Member
                          • Apr 2000
                          • 323

                          #13
                          That is so weird... The only thing that I see different is that doron's code is linked in places. Maybe try taking that out (you never know)? ;)
                          We're Here Forums!
                          [email protected]

                          Comment

                          • Parker Clack
                            Senior Member
                            • Apr 2000
                            • 367

                            #14
                            John:

                            I found a typo in the member.php file.

                            You have:

                            if ($allowhtmlcode==1) {
                            $htmlonoff=$ontext;
                            } else {
                            $htmlonoff=$offtext;
                            }

                            And to match up with options.php you should have:

                            if ($allowhtml==1) {
                            $htmlonoff=$ontext;
                            } else {
                            $htmlonoff=$offtext;
                            }

                            It started to work for after that.

                            Parker

                            Comment

                            • WebStyles
                              Senior Member
                              • Apr 2000
                              • 323

                              #15
                              Parker,

                              How exactly did you turn on / off HTML and whatnot in your forums? I have that typo in my member.php file too, and it's always worked for me.

                              It looks like the code in member.php would only effect where it displays the on / off indicators by the signature field.
                              We're Here Forums!
                              [email protected]

                              Comment

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