phpBBHacks.com - Wordpress / phpBB visual integration ?
Managing Online Forums, a manual for the community admin
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Username:    Password:
Remember Me?    
   I Lost My Password!
Bookmark and Share
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 3 Style and Design Support and Development
 See a User Guidelines violation? Please contact us.
Author Message

Ivan Fraer
New User

Joined: 15 Aug 2010
Posts: 5

PostPosted: August 15th 2010, 10:01 am    Post subject: Wordpress / phpBB visual integration ? Reply with quote

I read somewhere that it was easy to integrate phpBB into a Wordpress page (see later in this topic), but have not yet worked out how to do it.
I want to display phpBB inside a Wordpress page and here is what I found:

Everything happens in overall_header.html and overall_footer.html of the phpbb theme.
The trick is to accept php in the template files and then to integrate the wordpress template function (get_header() & get_footer()


Any help would be appreciated - Thank you very much in advance.
_________________
Best regards
Ivan
Back to top
View user's profile Send private message Visit poster's website

~HG~
Dedicated User

Joined: 08 Nov 2003
Posts: 3913
Location: Australia

PostPosted: August 15th 2010, 12:34 pm    Post subject: Reply with quote

I havent been to the wordpress site for some time now but I seem to recall that the integration instructions for all forum software is included on their site somewhere.
_________________
~HG~

|| rodneyangell.com || || phpbb-tutorials.com ||My Hacks
Back to top
View user's profile Send private message Send e-mail Visit poster's website

Ivan Fraer
New User

Joined: 15 Aug 2010
Posts: 5

PostPosted: August 15th 2010, 2:22 pm    Post subject: Reply with quote

Yes but I´m searching and I´m searching, but no luck

I don´t necessarily need a full integration (common login etc.), but "only" the PHPBB forum integrated in a WP-side.
_________________
Best regards
Ivan
Back to top
View user's profile Send private message Visit poster's website

Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.

PostPosted: August 17th 2010, 12:24 pm    Post subject: Reply with quote

Hello and welcome, Mr. Fraer.

There are some full integration options out there. But, it seems like you just want to embed a phpBB installation on your server into a WordPress page? Is that accurate?

Thanks,

Patrick
_________________
Patrick O'Keefe - phpBBHacks.com Administrator - Feedback? Questions? Please Contact Me!
User Guidelines - Featured phpBB - Featured Author - phpBBHacks.com Awards - Supported Sites - About Us
Author, Managing Online Forums - A Practical Guide to Community Management
phpBB 3 Tutorials: Add Hacks | Clear Your Cache | Fix Missing Images | phpBB 3 Permissions Guide
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger

Ivan Fraer
New User

Joined: 15 Aug 2010
Posts: 5

PostPosted: August 17th 2010, 12:33 pm    Post subject: Reply with quote

Patrick wrote:
Hello and welcome, Mr. Fraer.

There are some full integration options out there. But, it seems like you just want to embed a phpBB installation on your server into a WordPress page? Is that accurate?

Thanks,

Patrick


Thank you Patrick

Yes, that is exactly what I need

Best regards
Ivan
_________________
Best regards
Ivan
Back to top
View user's profile Send private message Visit poster's website

Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.

PostPosted: August 19th 2010, 4:49 pm    Post subject: Reply with quote

Hey Ivan,

Thanks for the reply. Cool. So, would an iframe work for that sort of thing? The code for an iframe included in a standard WordPress page?

Thanks,

Patrick
_________________
Patrick O'Keefe - phpBBHacks.com Administrator - Feedback? Questions? Please Contact Me!
User Guidelines - Featured phpBB - Featured Author - phpBBHacks.com Awards - Supported Sites - About Us
Author, Managing Online Forums - A Practical Guide to Community Management
phpBB 3 Tutorials: Add Hacks | Clear Your Cache | Fix Missing Images | phpBB 3 Permissions Guide
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger

Ivan Fraer
New User

Joined: 15 Aug 2010
Posts: 5

PostPosted: August 19th 2010, 11:09 pm    Post subject: Reply with quote

Hello again

No, unfortunately not. An i-frame is not optimal because the user then have to scroll to the top of the page, (if you understand what I mean :-)

I guess It should have something to do with changes in overall_header.html and overall_footer.html of the phpbb theme.

The trick is to accept php in the template files and then to integrate the wordpress template function (get_header() & get_footer()

Best regards
Ivan
_________________
Best regards
Ivan
Back to top
View user's profile Send private message Visit poster's website

Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.

PostPosted: August 20th 2010, 1:37 pm    Post subject: Reply with quote

Hey Ivan,

Thanks for the reply.

When you say WordPress page, do you mean an actual WordPress page? For example, in the WordPress admin area, you can post a new post or you can add a new page. You want to add a new page and include a phpBB forum in it? Or are you looking for phpBB to inherent your WordPress header and footer files, somehow?

phpBB 3 can accept PHP by default. From your phpBB 3 admin area, click "Security settings" under "SERVER CONFIGURATION" in the left menu. Then, look for "Allow php in templates." Select "Yes" and press "Submit."

You should then be able to use INCLUDEPHP like so:

Code:
<!-- INCLUDEPHP filename.php-->

In that example, filename.php would have to be in your root folder (the one with viewtopic.php), I believe. You can specify the relative path of the file, though.

Thanks,

Patrick
_________________
Patrick O'Keefe - phpBBHacks.com Administrator - Feedback? Questions? Please Contact Me!
User Guidelines - Featured phpBB - Featured Author - phpBBHacks.com Awards - Supported Sites - About Us
Author, Managing Online Forums - A Practical Guide to Community Management
phpBB 3 Tutorials: Add Hacks | Clear Your Cache | Fix Missing Images | phpBB 3 Permissions Guide
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger

Ivan Fraer
New User

Joined: 15 Aug 2010
Posts: 5

PostPosted: August 20th 2010, 2:22 pm    Post subject: Reply with quote

Hello again Patrick

Thank you. Well I allowed PHP in the security settings and after that I created a new blank WordPress page - Just with this "code" in it:

<!-- INCLUDEPHP http://www.gpsforalle.dk/snak/index.php-->

But as you can see on the testside (http://www.gpsforalle.dk/test/) I only got a blank page. I also tried to test with a php -file in the root, but with the same negative result.

Best regards
Ivan
_________________
Best regards
Ivan
Back to top
View user's profile Send private message Visit poster's website

Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.

PostPosted: August 22nd 2010, 11:38 am    Post subject: Reply with quote

Hello Ivan,

My pleasure.

That INCLUDEPHP directive should be included in a phpBB template file, not a WordPress page. From your message, I thought you wanted to enable PHP includes in phpBB template files.

In WordPress template files, you can already use a PHP include in the standard format, such as:

Code:
<?php include ('networkbar.html'); ?>

If you want to execute PHP code in a WordPress page, this might be helpful:

http://www.hongkiat.com/blog/execute-php-in-wordpress-post-page-and-widget-sidebar/

One other note: with the PHPINCLUDE directive in phpBB, you might need to set a relative path to the file. i.e., rather than http://www.gpsforalle.dk/snak/index.php, it would be ../snak/index.php.

I hope that this helps.

Thanks,

Patrick
_________________
Patrick O'Keefe - phpBBHacks.com Administrator - Feedback? Questions? Please Contact Me!
User Guidelines - Featured phpBB - Featured Author - phpBBHacks.com Awards - Supported Sites - About Us
Author, Managing Online Forums - A Practical Guide to Community Management
phpBB 3 Tutorials: Add Hacks | Clear Your Cache | Fix Missing Images | phpBB 3 Permissions Guide
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 3 Style and Design Support and Development All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl - phpBB Brasil - phpBB Portugal - phpBBpersian.com

Network: iFroggy Hosting - PhotoshopForums.com - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - KarateForums.com - Bad Boy Blog - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Disclosure Policy - Staff - User Guidelines >

Copyright © 2001-2012. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.