News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Signature problem in Firefox

Started by ɔɔɔɔɔɔuɥoɾ, April 14, 2009, 12:21:27 PM

Previous topic - Next topic

ɔɔɔɔɔɔuɥoɾ

Im having a little problem with signatures.

Well I make a post, the signature is fine, but, if i edit that post the signature goes all the way to the right.

The image or beginning of signature starts at the end of where it says i last edited and at what time.

here is an image


ok as you can see in the above image, it appears that the signature is starting where the < last edit: Today  bla bla... >> and also you can see it completly covers the Report to moderator and IP address logged text. This only happens after editing a post and it only happens in Firefox.

Some Things I have tried.

using FireFox Web Developer Addon to edit the HTML i discovered it was the Display.template.php i could change to see about fixing the issue, so i started making some edits:

Changing this:
<div class="signature">', $message['member']['signature'], '</div>';
to
</div class="signature">', $message['member']['signature'], '</div>';

Will result in a temporary fix it moves the signature down but instead of staying in line with the post it will go all the way to the left side.

Changing this:
<div class="signature">', $message['member']['signature'], '</div>';
to
<div class="signature"><br>', $message['member']['signature'], '</div>';

will move the signature down and let me see the report to moderator and ip address looged bit, but the signature is still to the right.

so any ideas, thanks in advanced :)


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

青山 素子

Does this happen with the default SMF theme?
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


ɔɔɔɔɔɔuɥoɾ

I dont think so it only happens with this theme, i posted here as the file im editing (which seems to be the right one) is from default theme folder. thus part of the default theme.


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

青山 素子

Does your custom theme have a file with the same name?

If this only happens on the custom theme, even if it uses a default template, it might be worthwhile to contact the theme author over this. It is possible there is some changed CSS that is causing the problem.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


ɔɔɔɔɔɔuɥoɾ

Quote from: Motoko-chan on April 14, 2009, 12:30:23 PM
Does your custom theme have a file with the same name?

If this only happens on the custom theme, even if it uses a default template, it might be worthwhile to contact the theme author over this. It is possible there is some changed CSS that is causing the problem.

well, it does now, it didn't before, i took the one from default made the edit and put it in the custom theme directory.

Basically the answer to your question is, No it does not have the file with the same name, it uses the one from default theme.

It never used to do this when i had SMF 2 BETA 4, only now i have upgraded to SMF 2 RC1 I'm having this problem, and the theme is for BETA 4 but the author said it will work on 2 RC1 fine.

And, also, any idea why it only effects Firefox, its looks ok in IE, i dont get it ???


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Tyrsson

This theme does not come with a Display.template.php in the folder.

How large is the sig image?

I will have to look it up but there has been at least one other report of a similar issue. I can't think of any css change that was made that would effect this off the top of my head but will look into it further but it may take a day or so.
PM at your own risk, some I answer, if they are interesting, some I ignore.

ɔɔɔɔɔɔuɥoɾ

ok problem solved,

I compared the default themes signature class from style.css and saw some differences, one been " clear: right; " so I added it to the class, fixed the issue, without causing any problems for IE either, so Topic Solved. :)

Thanks for the help.


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Advertisement: