• Hi

    I would like to use SMF forums with WordPress, I would like to have it embedded into a page to make it integrated better.

    is this possible?

    thanks

    (I currently use Simple Press Forum which is very good but not what I want)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter snadge

    (@snadge)

    I forgot too say im not bothered about login integration, I will be disabling signups to wordpress

    …but if its possible then great!

    yes, just did it… made a template and set a page to use the template. Just add this to your a page-forum.php file. upload it to your theme directory. Create a page and select Forum from the Template type pulldown in the admin sidebar.

    <?php
    /*
    Template Name: Forum
    */
    get_header(); ?>
    
    <iframe style="width:100%; height:100%;" frameborder="0" name="content" allowtransparency="true" src="https://www.yourforum.com"></iframe>
    
    <?php get_footer(); ?>

    Oh, another note… to get rid of the scrollbar and size the forum, youll need to style the iframe a little. Here are the changes I did:

    <iframe style="width:100%; height:2200px;margin-top:-80px" scrolling="no" frameborder="0" name="content" allowtransparency="true" src="https://www.yourforum.com"></iframe>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘can I embedd a forum (SMF) into a page?’ is closed to new replies.