News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

what is wrong....

Started by wynnyelle, February 02, 2011, 06:15:41 PM

Previous topic - Next topic

Arantor

What's the original code in their signature? Did they put the <p> tag there themselves?

wynnyelle

It's not the template, it happens on ALL our themes including the basic SMF curve theme.

It is happening because HTML tags in signatures are being parsed even though I have the settings set not to.

How do I get to the root of this problem and shut it off?

Arantor

-sigh-

If you go to their profile, and look at the code of the signature - BEFORE parsing, what is it?

wynnyelle

I quoted it on the other page on this thread, but here it is again:



[img width=500 height=500]http://i1142.photobucket.com/albums/n605/CupCakez016/Photos%20For%20Warriors/1a-1.gif[/img][img width=500 height=267] <p align="center" style="font-family: arial;"><a href="


b4pjoe

What is the purpose of

[img width=500 height=267] <p align="center" style="font-family: arial;"><a href="

at the end of the sig? Have you tried removing that part?

Arantor

There is no reason that the <p should be there at all.

Adish - (F.L.A.M.E.R)

Guys, the problem is not that what should be in the siggy or what shouldn't. The problem is that, why in the world would it mess up the whole posting template when it isn't supposed to. The solution is NOT to modify the siggy but to find out, how to stop it from ruining the layout?

With HTML & PHP disabled, why would it even execute it?

Arantor

The reason it's messing the template is because the HTML is being cut half way through so broken HTML is what's resulting in the final page generation.

Adish - (F.L.A.M.E.R)

Why should it even consider the broken HTML when it is disabled by the user? Doesn't make sense, does it?

b4pjoe

It might not make sense but it is at the point where that html is at that the display goes beserk. I don't see the harm in removing the extra code below from the sig or removing the whole sig and see if it fixes it. It would take 10 seconds to try.

[img width=500 height=267] <p align="center" style="font-family: arial;"><a href="

Arantor

Removing the whole sig should solve the problem. Quite why there is stuff which isn't an image inside an image tag is probably part of the problem...

larryhyman

as of right now, your site is still messed up in IE8... still giving out those errors...

In my experence, that can screw IE when something is just a little to bit wide...

example:

http://hyman.sytes.net/smforums/index.php?topic=9.0
In god we trust, all others pay cash !

http://hyman.sytes.net

Road Rash Jr.

Quote from: larryhyman on February 03, 2011, 06:04:52 PM
as of right now, your site is still messed up in IE8... still giving out those errors...

In my experence, that can screw IE when something is just a little to bit wide...

example:

http://hyman.sytes.net/smforums/index.php?topic=9.0

It's just as screwed with Chrome and FF as it is with IE
Never argue with an Idiot like myself, they just drag you down to their level then beat you with experience.

wynnyelle

YES, removing the sig would remove the layout problems but it would only be treating the symptoms of a much larger problem. That's why I haven't touched the sig. I want the problem solved, not the symptoms. Why is is parsing ANY html tags at all?

b4pjoe

Quote from: Groovystar on February 03, 2011, 10:10:07 PM
YES, removing the sig would remove the layout problems but it would only be treating the symptoms of a much larger problem. That's why I haven't touched the sig. I want the problem solved, not the symptoms. Why is is parsing ANY html tags at all?

I just did a test on both RC3 and RC4 and turning off "Basic HTML in Posts" as shown in the attached image has no effect. The HTML is parsed either way on my live RC3 site and my test RC4 install.

This is the code I tried:

[html]<img src="http://www.w3schools.com/images/w3cert.gif" alt="W3Cert" />[/html]

And the image shows no matter what I change that setting to.

Trying it here at the SMF site renders it like this:

<img src="http://www.w3schools.com/images/w3cert.gif" alt="W3Cert" />

Is there another place HTML needs to be turned off?

busterone

Features and options- Signatures
Look at the allowed BBC tags at the bottom of the page. Is html checked?

b4pjoe

Quote from: busterone on February 03, 2011, 11:49:26 PM
Features and options- Signatures
Look at the allowed BBC tags at the bottom of the page. Is html checked?

It was so I unchecked it. The HTML still works in both sigs and posts with HTML turned off in both places.

Edit: HTML is unchecked in 3 places for both sigs and posts. Still renders html in both sigs and posts.

busterone

May be a silly question, but are you testing these posts and signatures using your admin account or a non admin test user? Html works by default for admins.

b4pjoe

Ahhhh...yes, I'm an admin.

b4pjoe

OK, testing as a non-admin the html does not render. Whew...thanks for that. Still doesn't explain Groovystar's problem though.

Advertisement: