Topic: Posts CSS style changes throughout message list

Hi,

Can someone tell me why, when I look through some of forums on my site, that the CSS style appears to drop out and leave an ugly looking default style on some messages, generally not on the first message but (which appears as they all should)

Here is an example of what is happening...

http://www.gangshow.asn.au/forum/viewto … 58&p=2

I'd really appreciate any help please.

Thankyou

2

Re: Posts CSS style changes throughout message list

It's not the CSS. It appears to be dance_diva's signature which is causing an improper nesting of tags. Can you post what she has in the signature entry of her profile. Somehow a blockquote has got in there which really shouldn't be the case.

Re: Posts CSS style changes throughout message list

Thanks heaps Paul!  Yes, it sure was that. Her sig had ":lol: WhO sAyS bLoNdEs HaVe AlL tHe FuN?? I dO!!! lol </quote>"

In the conversion from phpbb to punbb, it must have done something weird. I have removed the "</quote>" from her sig, and everything is working as it should now.

Thanks again.

4

Re: Posts CSS style changes throughout message list

Glad it worked out. It's still a bug though. That quote tag shouldn't have been allowed to mess things up like that.

Re: Posts CSS style changes throughout message list

Yes, I have only just started using punbb, as phpbb was giving me nightmares with user login problems that i couldn't solve. This works so well, and now i'm really happy.

There is just one more thing if you could help me, how do I remove the IP address display next to each posted message?

Re: Posts CSS style changes throughout message list

only admins can see the IP

Re: Posts CSS style changes throughout message list

Hmm. I'm not sure I understand what happened here. If I set that signature in these forums, it doesn't mess anything up. Signatures are properly HTML encoded so that e.g. </quote> won't mess things up.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

8

Re: Posts CSS style changes throughout message list

Something certainly happened. I checked the source from the affected site and the sig output had blockquote, p, div at the end of it. It was almost as if it were a partly parsed quote bbcode. Probably some sort of glitch during a conversion and upgrade that will never happen again.

Re: Posts CSS style changes throughout message list

the problem is not with </quote> its with

[/quote]

try shoving

[/quote]

into your db as your sig and you will see, i guess this only happens when you convert as otherwise punbb won't accept it

Re: Posts CSS style changes throughout message list

Aha. So the signature in question contained invalid BBCode? In that case, there's not a lot I can do about it. PunBB validates BBCode as it is being posted and therefore relies on the BBCode in the database being valid. Signatures are a special case since the quote and code tags are not allowed there.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

11

Re: Posts CSS style changes throughout message list

Yes. Thats what I figured. I just tried it at home, Picasso board rules OK.

Re: Posts CSS style changes throughout message list

i guess the migration tool should strip quote and code tags from the sig