boards all odd widths

Started by vjmc-tb, February 20, 2009, 06:10:35 AM

Previous topic - Next topic

vjmc-tb

In my forum some of the boards appear at different widths and don't fill the outer box and some of the post text extends beyond the screen so isn't wrapping correctly. I am on smf 2.0 and using the orange 2.0 theme but there are similar issues in other themes too so I think its' down in the depths where the issue is.
My forum is www.vjmc-tc.co.uk/forum
I wasn't sure if this was the correct area to place the question but any help gratefully received.

shadow82x

Your forum link is not loading...

What browser are you using when you get these flaws? There are a few bugs in SMF2.0 templates, that are planned to be fixed.
Colin B
Former Spammer, Customize, & Support Team Member

vjmc-tb

I'm using internet explorer 6 and 7 on my pc, my laptop and the wifes' laptop and get the same result on each.
The forum page should load ok now, it may have been off briefly earlier while I was sorting out my logo.  ::)

vjmc-tb

sorry,i've just noticed a typo in my link  ::) :-[

www.vjmc-tb.co.uk/forum

is the correct link, any help gratefully received, it's doing my head in seing things all over!
thanks.

shadow82x

Does this happen on the default theme?
What other mods are installed?

This can be an issue with the theme you installed. Looking at firefox3.0.8 it looks wack.
Colin B
Former Spammer, Customize, & Support Team Member

vjmc-tb

No mods, just my own logo and the background colour removed from round it. It's all screwed up on the default theme too. Also in the admin area there are buttons that don't display so I don't know if that's related.

shadow82x

#6
Quote from: vjmc-tb on February 21, 2009, 05:56:19 PM
No mods, just my own logo and the background colour removed from round it. It's all screwed up on the default theme too. Also in the admin area there are buttons that don't display so I don't know if that's related.
I suggest reuploading all your ../default/ templates and css from a fresh install. (This would be done via FTP) It should not be displaying like that by default.

How do I use FTP? / What is FTP?
Colin B
Former Spammer, Customize, & Support Team Member

vjmc-tb

when you say uploading them from a fresh install could you explain what you mean please, and let me know which files exactly? I presume you mean download a full install to my pc then ftp to my site overwritting the existing files?

shadow82x

#8
Quote from: vjmc-tb on February 21, 2009, 06:19:55 PM
when you say uploading them from a fresh install could you explain what you mean please, and let me know which files exactly? I presume you mean download a full install to my pc then ftp to my site overwritting the existing files?
Yes,

1) Download a fresh install of SMF2.0 RC1
2) Extract the ../themes/default folder
3) Login to FTP and go to ../themes
4) Overwrite the current "default" files with fresh ones from a new install

Goodluck :)
Colin B
Former Spammer, Customize, & Support Team Member

vjmc-tb

thanks, I'll give that a go. Probably not until tomorrow, it's time for my beauty sleep now :D

vjmc-tb

Cracked it! I downloaded the full monty and extracted the files etc. I uploaded the default theme files as instructed and noticed that I had errors on the upload. these were permission denied so some files were not overwritten, I went through each, changed the permissions to 777 and re ran the upload, all OK. checked my forum and that was all fixed and all aligned. I then went back and changed all the permissions back to where they were and the problems came back. I then went through one at a time and found that changing the css directory to 755 made everything work, it was set to 644 and this gave the odd formatting and missing icons in admin. Is 755 the correct setting for this?
Anyway, I'm happy, my forum now looks right, now if I could just get my logo to sit in the centre........... :D :D

shadow82x

#11
Great to hear my friend. :)

Its easy to make your logo centered in SMF2.0 RC1
In ../themes/default/index.template.php

FIND
   else
      echo '
            <img src="', $settings['header_logo_url'], '" alt="', $context['forum_name_html_safe'], '" />';


REPLACE WITH
   else
      echo '
            <div align="center"><img src="', $settings['header_logo_url'], '" alt="', $context['forum_name_html_safe'], '" /></div>';


That should do the trick. It may also look a bit odd with the smf logo on the right. So to remove that

Find/Remove
<img class="floatright" id="smflogo" src="' , $settings['images_url'] , '/smflogo.gif" alt="Simple Machines Forum" />

Goodluck :)
Colin B
Former Spammer, Customize, & Support Team Member

vjmc-tb

Thanks mate, you are a star  8) That's got it looking spot on and centred!

shadow82x

Great. :D Goodluck with your site.
Colin B
Former Spammer, Customize, & Support Team Member

Advertisement: