Putting SMF in a frame on my main site

Discussion in 'Scripts, 3rd Party Apps, and Programming' started by relativ3, Mar 9, 2014.

  1. relativ3

    relativ3 New Member

    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Something like planetminecraft.com has done, where they have the forum in a frame and it's all on one site. Is this possible using cPanel?
     
  2. leafypiggy

    leafypiggy Manager of Pens and Office Supplies Staff Member

    Messages:
    3,819
    Likes Received:
    162
    Trophy Points:
    63
    Moving to scripts/programming

    Planetminecraft.com doesn't use a "frame" to have their forum. They created a custom theme that matches the rest of their website. This isn't a cPanel functionality, it's a coding functionality.
     
    • Like Like x 1
  3. relativ3

    relativ3 New Member

    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Oh. Thanks. Also, for some reason, the default page for my website [http://www.relativenerd.pcriot.com] is still the default one even though I have a default.html coded. Any help?
     
  4. leafypiggy

    leafypiggy Manager of Pens and Office Supplies Staff Member

    Messages:
    3,819
    Likes Received:
    162
    Trophy Points:
    63
    Your server is currently rebooting for a kernel upgrade, so I can't quite see the issue.. but I bet your default page is cached. Try clearing your internet browser cache and also your DNS resolver cache (You can see more about this on our wiki: http://x10hosting.com/wiki )
     
    • Like Like x 1
  5. relativ3

    relativ3 New Member

    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    wait lied, having seen that one yet
     
  6. leafypiggy

    leafypiggy Manager of Pens and Office Supplies Staff Member

    Messages:
    3,819
    Likes Received:
    162
    Trophy Points:
    63
    ahh. Try
    Code:
    /etc/init.d/ncsd restart
    
     
    • Like Like x 1
  7. relativ3

    relativ3 New Member

    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    So I cleared my cache, and now it's just a blank page. Any ideas?
     
  8. leafypiggy

    leafypiggy Manager of Pens and Office Supplies Staff Member

    Messages:
    3,819
    Likes Received:
    162
    Trophy Points:
    63
    For webservers, the default index page (what loads when you load your website's root) is index.html. Renaming default.html to index.html will fix that.
     
  9. relativ3

    relativ3 New Member

    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
  10. leafypiggy

    leafypiggy Manager of Pens and Office Supplies Staff Member

    Messages:
    3,819
    Likes Received:
    162
    Trophy Points:
    63
    No problem! Anything else I can help you with?
     
  11. relativ3

    relativ3 New Member

    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    OK super thanks. It worked.
    best staff award goes to - leafypiggy
     
  12. studio5

    studio5 Member

    Messages:
    33
    Likes Received:
    2
    Trophy Points:
    8
    I'm sure you have it figured out, but just in case you can put a simple iframe on your page like this:
     
    Last edited: Apr 26, 2014
  13. leafypiggy

    leafypiggy Manager of Pens and Office Supplies Staff Member

    Messages:
    3,819
    Likes Received:
    162
    Trophy Points:
    63
    Nope. Iframes are the devil's work. Nope.
     
  14. studio5

    studio5 Member

    Messages:
    33
    Likes Received:
    2
    Trophy Points:
    8
    I think you might be talking about copyright infringement, and in that case don't do it; Leafypiggy and x10 will shun you; and
    you may be sued for breach of the TOC; and
    x10 may be held liable for not taking action against you (failure to mitigate) as soon as they are made aware of the infringement. (this statement is legal ed., not legal advice)
    SSI maybe?
    the problems are the extra strain on the server and you can't use a server side include as a target like you can with an iframe.
     
    Last edited: Apr 26, 2014
  15. leafypiggy

    leafypiggy Manager of Pens and Office Supplies Staff Member

    Messages:
    3,819
    Likes Received:
    162
    Trophy Points:
    63
    nope nope nope.

    Iframes and SSI includes are the worst thing that happened to websites. They're terrible.
     
  16. studio5

    studio5 Member

    Messages:
    33
    Likes Received:
    2
    Trophy Points:
    8
    Are you still using Midnight Commander to browse the web? :rofl:
    I love frames, unfortunately they are frowned on, but they sure make the lifting easier!
     

Share This Page