Results 1 to 12 of 12

Thread: Wrap my phpbb board goddamnyou ;)

  1. #1
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts

    Wrap my phpbb board goddamnyou ;)

    Hey all, was wondering if there was a way to wrap my board inside my WP.

    I've semi achieved it by using and iframe (see: here)

    but was wondering if there was a way to call the phpbb index into the actual page without ifram'ing? mainly to avoid scroll bars.

    any ideas?

    ps. the code for that page is:

    Code:
    <?php
    /*
    Template Name: Forum
    */
    ?>
    
    <?php get_header(); ?>
    
    <iframe name="I1" src="http://www.ibeats.co.uk/forum/" width="774" height="1700" border="0" frameborder="0">
    Your browser does not support inline frames or is currently configured not to display inline frames.
    </iframe>
    
    
    
    <?php get_footer(); ?>
    <?php get_sidebar(); ?>

  2. #2
    Large Member
    Join Date
    Apr 2004
    Posts
    3,720
    Thanks
    47
    Thanked
    99 times in 64 posts
    Could use an XMLHttpRequest with js. Or the PHP 'fsockopen' function to return a file pointer and then GET request the page checking for TCP/IP prompts then splurge out the forum index page. Example is on php.net. Best off SEARCHING GOOGLE too. Millions of ways to do it. Via XML is probably the most noddy way though.
    To err is human. To really foul things up ... you need a computer.

  3. #3
    Senile Member
    Join Date
    Dec 2003
    Posts
    442
    Thanks
    3
    Thanked
    0 times in 0 posts
    I might have totally misunderstood what you are trying to do (since the above reply seems to make no sense to me) but have you looked at the php docs as it seems a fairly common thing for sites to want to do.
    Perhaps theres a function you can call that renders phpbb or theres a way to add your own content to the standard php pages (i.e your menus)

  4. #4
    Large Member
    Join Date
    Apr 2004
    Posts
    3,720
    Thanks
    47
    Thanked
    99 times in 64 posts
    Could probably just include() the blummin thing.
    To err is human. To really foul things up ... you need a computer.

  5. #5
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts
    apprently <div> is the best method, but whats that all about... im a DIV myself... i dont understand how to put the fe'ther in a <div>

    the first reply, threw me too.

  6. #6
    Large Member
    Join Date
    Apr 2004
    Posts
    3,720
    Thanks
    47
    Thanked
    99 times in 64 posts
    It was my understanding you wanted to display another page on your web page. That would require a http request to be sent from your page. Unless of course the second page is on your server, in which case you could just include() it.
    To err is human. To really foul things up ... you need a computer.

  7. #7
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts
    ive tried to include it usuing the absolute but it errors, including using the http://www.ibeats.co.uk/forum/index.php url causes conflict.

    both are on the same server.

    ibeats.co.uk/forum is the path to the forum (/home/ibeats/public_html/forum)

    hmm im stuck.

  8. #8
    Large Member
    Join Date
    Apr 2004
    Posts
    3,720
    Thanks
    47
    Thanked
    99 times in 64 posts
    If the including page is in your public_html dir you would use: include(./forum/index.php);

    The problem is most likely resolution of any URI's on the included page.
    To err is human. To really foul things up ... you need a computer.

  9. #9
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts
    Quote Originally Posted by yamangman
    The problem is most likely resolution of any URI's on the included page.
    spot on, so how to fix?

  10. #10
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts
    Im wanting to achieve the below:



    PHP Code:
    <?php
    /*
    Template Name: Forum
    */
    ?>

    <?php get_header(); ?>
        <div id="main">

    <<<< INSERT FORUM INCLUDE?? CODE?? WHAT?? >>>>

        </div>
    <?php get_footer(); ?>
    <?php get_sidebar
    (); ?>



    </body>
    </html>
    the above, is a blank template for my wordpress theme, is there anything i could include in there to get the forum looking like the picture?

    an iframe does the job i want, but iframes are rubbish. i dont want the scroll bars and hassle that they bring.

    ive tried an include but all the links and css goes to pot for the forum.

    any ideas on a way to do this?

  11. #11
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    You can't without some major hacking of the forum code, you can't just include an index page and hope it loads as there will be a substantial amount of other code, particularly relating to session authentication that will also need to be pulled in. There must be someone who's created a portal using phpbb out there and has the source code available, best searching for that

  12. #12
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts
    Theres MKPortal... but im not sure where to begin.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. My First vB Board! What do you think?
    By Ango in forum Software
    Replies: 3
    Last Post: 28-05-2005, 07:48 PM
  2. What 939 Board (I was waiting for DFI)
    By grand_witch in forum PC Hardware and Components
    Replies: 12
    Last Post: 25-02-2005, 10:45 AM
  3. Best GAMING board (s939)?
    By GingerNinja.net in forum PC Hardware and Components
    Replies: 12
    Last Post: 02-11-2004, 04:44 PM
  4. Newbie questions about phpBB and MySQL
    By Allen in forum Networking and Broadband
    Replies: 6
    Last Post: 24-04-2004, 06:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •