WordPress.org

Ready to get started?Download WordPress

Forums

can I embedd a forum (SMF) into a page? (4 posts)

  1. snadge
    Member
    Posted 2 years ago #

    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)

  2. snadge
    Member
    Posted 2 years ago #

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

    ...but if its possible then great!

  3. goatlip
    Member
    Posted 2 years ago #

    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="http://www.yourforum.com"></iframe>
    
    <?php get_footer(); ?>
  4. goatlip
    Member
    Posted 2 years ago #

    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="http://www.yourforum.com"></iframe>

Topic Closed

This topic has been closed to new replies.

About this Topic