Tags not working

AllenAllen Registered Users Posts: 10,013 Major grins
edited April 10, 2013 in Dgrin Forum Support
All of a sudden [code] or [html] tags around html not working in reply box?
http://www.dgrin.com/showthread.php?t=233671

This blank ? code box actually has the same as the next box in it.

[IMG]http://www.dgrin.com/photo/2402746079_GMfVVg7-S.jpg[/IMG]



above should be like this. Had to fake this in by disabling all the <'s by making them italtic.
Acts like forum html is turned off? Only a piece of the html shown here.
[I]<[/I]div id="myText" style="text-align: justify;">
[I]<[/I]p>Kirston Koths & Bob Marshak are fishing buddies for whom good photos and video clips of their fly fishing adventures are just as important as the experience of fishing, itself. With fly rods in one hand, tripods in the other, and a variety of cameras in their backpacks, these two have dedicated themselves to capturing the essence of fly fishing, world-wide. From Alaska to Argentina and New Zealand to Newfoundland, they've been there or plan to go.[I]<[/I]/p>
Click "manage" on above thread to see results. Two deleted posts, first shows correct html.
Al - Just a volunteer here having fun
My Website index | My Blog

Comments

  • David_S85David_S85 Administrators Posts: 13,249 moderator
    edited April 10, 2013
    Allen, is it working in your previous SM Customization posts, or is it now b0rked?

    HTML is currently switched OFF in SM Customization. Ian?
    My Smugmug
    "You miss 100% of the shots you don't take" - Wayne Gretzky
  • AllenAllen Registered Users Posts: 10,013 Major grins
    edited April 10, 2013
    David_S85 wrote: »
    Allen, is it working in your previous SM Customization posts, or is it now b0rked?

    HTML is currently switched OFF in SM Customization. Ian?
    All of a sudden html tags will not take inside forum [code][/code] tags. Forum [html] also don't work.

    example blank
    <html>
    <div>
    <p>xxx</p>
    </div>
    </html>
    
    This below is what is in above code box. Edit this post and you'll see it.

    <html>
    <div>
    <p>xxx</p>
    </div>
    </html>

    HTML needs to be off otherwise it activates in posts.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • David_S85David_S85 Administrators Posts: 13,249 moderator
    edited April 10, 2013
    I just see some xxx's in the middle inside a code box, is that what I should be seeing?

    HTML is enabled in this forum. Test below here (because HTML is turned ON inside this forum).
    <i>italic</i> not italic
    <font color=red> red </font>
    normal
    

    That's how it should also work in Customization, yes?
    My Smugmug
    "You miss 100% of the shots you don't take" - Wayne Gretzky
  • David_S85David_S85 Administrators Posts: 13,249 moderator
    edited April 10, 2013
    Allen, I just PM'd Ian about this. I could alter settings in Customization (but won't yet); I want to dig a little deeper into this to see if something has precipitated a change there. We'll see what Ian has to say in a while. Stand by...
    My Smugmug
    "You miss 100% of the shots you don't take" - Wayne Gretzky
  • AllenAllen Registered Users Posts: 10,013 Major grins
    edited April 10, 2013
    David_S85 wrote: »
    Allen, so it should appear in Customization like it does here, right?

    HTML is enabled in this forum.

    test here, but not there...
    [I]italic[/I] not italic
    [COLOR=red] red [/COLOR]
    normal
    
    I just pasted my previous post in the customization forum and it seemed to work. So I went to the
    link in the 1st post above and undeleted post #2 and it worked. I had tried two posts in that cust
    forum and both did not work so deleted both. Now post #2 seems to work, weird.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • David_S85David_S85 Administrators Posts: 13,249 moderator
    edited April 10, 2013
    Oh, Hmmmm. Let me take a look to see if anything internally has changed....

    A minute later: And Weirder still, no, nothing has changed in there. HTML is still switched OFF.
    My Smugmug
    "You miss 100% of the shots you don't take" - Wayne Gretzky
  • David_S85David_S85 Administrators Posts: 13,249 moderator
    edited April 10, 2013
    Allen, look at your second soft deleted post there. First one works, the second doesn't seem to. Did you edit something?
    My Smugmug
    "You miss 100% of the shots you don't take" - Wayne Gretzky
  • AllenAllen Registered Users Posts: 10,013 Major grins
    edited April 10, 2013
    David_S85 wrote: »
    Oh, Hmmmm. Let me take a look to see if anything internally has changed....

    A minute later: And Weirder still, no, nothing has changed in there. HTML is still switched OFF.
    Seems ok now.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • David_S85David_S85 Administrators Posts: 13,249 moderator
    edited April 10, 2013
    Missing "/" before closing CODE tag?

    i-Ghgjjvg-X2.gif
    My Smugmug
    "You miss 100% of the shots you don't take" - Wayne Gretzky
  • ian408ian408 Administrators Posts: 21,949 moderator
    edited April 10, 2013
    When HTML (or IMG) is enabled in a forum, it's interpreted regardless of the code tag. What you want to use is the NOPARSE tag. Use the NOPARSE tag between the CODE tags for either instance.

    I removed all of your formatting. The two code boxes are not the same <img src="https://us.v-cdn.net/6029383/emoji/mwink.gif&quot; border="0" alt="" >

    The reason the behavior was different was because HTML was enabled in some places but not others.

    ian408 wrote:


    All of a sudden [noparse]
    or [html][/noparse] tags around html not working in reply box?
    [URL]http://www.dgrin.com/showthread.php?t=233671[/URL]
    
    This blank ? code box actually has the same as the next box in it.
    [code][noparse]
    
    
    [IMG]http://www.dgrin.com/photo/2402746079_GMfVVg7-S.jpg[/IMG]
    
    
    [/noparse]
    

    above should be like this. Had to fake this in by disabling all the <'s by making them italtic.
    Acts like forum html is turned off? Only a piece of the html shown here.
    <div id="myText" style="text-align: justify;">
    <p>Kirston Koths & Bob Marshak are fishing buddies for whom good photos and video clips of their fly fishing adventures are just as important as the experience of fishing, itself. With fly rods in one hand, tripods in the other, and a variety of cameras in their backpacks, these two have dedicated themselves to capturing the essence of fly fishing, world-wide. From Alaska to Argentina and New Zealand to Newfoundland, they've been there or plan to go.</p>
    
    Click "manage" on above thread to see results. Two deleted posts, first shows correct html.
    Moderator Journeys/Sports/Big Picture :: Need some help with dgrin?
Sign In or Register to comment.