phpBB2 forum problems..

Discussion in 'Programming' started by DaveyBoy, Sep 3, 2007.

  1. #1
    OK, just installed a copy of phpBB2 on my server, have been tweaking it all up and everything. The only problems I have that I need answers to are the following :

    1) I have specified in the CSS file that I want the forum to have a fixed width of 850px, and margin: auto for centering it. The problem here is that while it works perfectly in firefox, IE doesn't seem to read this part of the code as it is still a liquid, full-width forum in IE. Any ideas of a way around this?

    2) I embedded a SWF file above the main menu in the 'overall_header.tpl' file, and again this works perfectly in Firefox but in IE it doesn't show at all. Any ideas, anybody?

    I will be very grateful if anyone could show me what i'm doing wrong

    Thanks!

    Davey.
     
    DaveyBoy, Sep 3, 2007 IP
  2. James.Blant

    James.Blant Active Member

    Messages:
    250
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #2
    check css file for conditional comments like :
    [ i f IE ]
    [/i f IE]

    remove spaces between "if"
     
    James.Blant, Sep 3, 2007 IP
  3. DaveyBoy

    DaveyBoy Peon

    Messages:
    2,076
    Likes Received:
    64
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Tried that just now; doesn't seem to be there mate :(
     
    DaveyBoy, Sep 3, 2007 IP
  4. dancom96

    dancom96 Well-Known Member

    Messages:
    1,556
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    105
    #4
    Well for the SWF thing, if you used the embed tag, it won't work on Internet Explorer, you have to use the object tag for it.
     
    dancom96, Sep 3, 2007 IP
  5. DaveyBoy

    DaveyBoy Peon

    Messages:
    2,076
    Likes Received:
    64
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hey Dancom,

    I just checked and it's actually the object code :

    				  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="468" height="60">
                        <param name="movie" value="images/banner.swf">
                        <param name="quality" value="high">
                        <embed src="http://www.memvis.com/phpBB2/templates/subSilver/images/banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="468" height="60"></embed>
    			    </object>
    Code (markup):
    I'm still clueless really :(
     
    DaveyBoy, Sep 3, 2007 IP
  6. dancom96

    dancom96 Well-Known Member

    Messages:
    1,556
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    105
    #6
    I see your SWF problem now.
    In IE it's trying to go to
    http://www.memvis.com/phpBB2/images/banner.swf
    Which is incorrect, therefor it doesn't show anything.
    But in FF it goes to
    http://www.memvis.com/phpBB2/templates/subSilver/images/banner.swf
    So just replace what you have now with
    And for your width thing.
    Try putting everything that's inside <body> and before </body>
    In here.
     
    dancom96, Sep 3, 2007 IP
  7. DaveyBoy

    DaveyBoy Peon

    Messages:
    2,076
    Likes Received:
    64
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks mate :) Got the SWF working now!

    Not sure how to follow your other advice as the width part actually is in the CSS file for the forum, in the 'body' tag.
     
    DaveyBoy, Sep 3, 2007 IP
  8. dancom96

    dancom96 Well-Known Member

    Messages:
    1,556
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    105
    #8
    Well yes your CSS says that, but IE doesn't completely follow it, as in the code it shows.
     
    dancom96, Sep 3, 2007 IP
  9. DaveyBoy

    DaveyBoy Peon

    Messages:
    2,076
    Likes Received:
    64
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Genius. Man, i can't believe I overlooked that!

    Cheers mate, I owe ya!
     
    DaveyBoy, Sep 3, 2007 IP