How to integrate forum into website?

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Get Involved
jiapei100
Registered User
Posts: 37
Joined: Wed Jun 29, 2005 2:27 pm
Location: England
Contact:

How to integrate forum into website?

Post by jiapei100 »

Hi,

I'm wondering how can I integrate my forum into my website?

As we may have noticed that "http://www.phpbb.com/community/index.php" is well integrated into the framework of "http://www.phpbb.com/".

But, my forum "http://forum.visionopen.com/index.php" occupies the entire screen.
How can I integrate it into my website at "http://www.visionopen.com/" ?


Cheers
JIA
Welcome to Vision Open

http://www.visionopen.com
shugert
Registered User
Posts: 8
Joined: Sun Apr 06, 2003 2:53 am

Re: How to integrate forum into website?

Post by shugert »

what you need to do is edit the following files inside template folder:
overall_header.php
overall_footer.php
and the CSS files

for instance if you have all your CSS for your site you can copy the div for the header and add it to the top of overall_header.php and copy the CSS you used for it on the main CSS of the phpBB forum adn voila! same thing with the footer.

you may need to add more CSS code to fit yoru needs and make some mods. if you like i can help you with that just send me a pm.

have a good one!
User avatar
Lumpy Burgertushie
Registered User
Posts: 69224
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: How to integrate forum into website?

Post by Lumpy Burgertushie »

shugert wrote:what you need to do is edit the following files inside template folder:
overall_header.php
overall_footer.php
and the CSS files

for instance if you have all your CSS for your site you can copy the div for the header and add it to the top of overall_header.php and copy the CSS you used for it on the main CSS of the phpBB forum adn voila! same thing with the footer.

you may need to add more CSS code to fit yoru needs and make some mods. if you like i can help you with that just send me a pm.

have a good one!
actually those are html files not php files.

yourphpbb/styles/yourstyle/template/overall_header.html
etc,
robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
Neff
Registered User
Posts: 17
Joined: Tue Jul 10, 2001 1:38 pm

Re: How to integrate forum into website?

Post by Neff »

Is it possible to include PHP in the overall header and footer, this used to be possible in v2 via a mod but I can't find any equivalent information for v3, searches here just find me the v2 information.
ClassicBicycles
Registered User
Posts: 7
Joined: Sun Jan 24, 2010 9:22 am

Re: How to integrate forum into website?

Post by ClassicBicycles »

Hi,
I'm looking to do exactly the same thing.
I tried using frames but it doesn't work, I think this is the better way to go. I just need to figure this way out. my site uses a file named "template_subwoofer.html" which controls the header on the site, I would like the forum to show up right under this header.
here is the site for reference:
http://classicbicycles.comuv.com/
here is the forum:
http://classicbicycles.comuv.com/phpBB3/
perfect would be to click the Forum link at the top of the page and instead of the link there now the page had the forum under the header.
any help you are willing to give is appreciated, please be patient with me I'm very new to this website building thing.
Scott
User avatar
PlanetStyles.net
Former Team Member
Posts: 4809
Joined: Wed Nov 04, 2009 11:16 pm
Location: Way up in the sky close to the stars
Name: Christian
Contact:

Re: How to integrate forum into website?

Post by PlanetStyles.net »

Neff wrote:Is it possible to include PHP in the overall header and footer, this used to be possible in v2 via a mod but I can't find any equivalent information for v3, searches here just find me the v2 information.
Yes.

Firstly you need to enable the "PHP in templates" option in admin panel: Admin Panel => General Tab => Server Configuration => Security Settings =>.

Then you can use PHP in the following format:

Code: Select all

<!-- PHP --> echo "Bertie Dance"; <!-- ENDPHP -->
As opposed to what you'd use in a regular .php page:

Code: Select all

<?php echo "Bertie Dance"; ?>
User avatar
Neff
Registered User
Posts: 17
Joined: Tue Jul 10, 2001 1:38 pm

Re: How to integrate forum into website?

Post by Neff »

Excellent - thank you - I shall experiment.
Forze
Registered User
Posts: 8
Joined: Sun Mar 27, 2011 12:19 am

Re: How to integrate forum into website?

Post by Forze »

Hi,
I'm new to this site & I'm looking for help,
I have a php forum which I wish to integrate into my website or combine the 2 somehow
at the moment I have a forum page button on my menu but it doesn't look good being forwarded
to an external site plus the themes don't match :(

ClassicBicycles posted about the same thing & seems to have got it sorted by looking
at the links in his post, this is exactly what im after :)

Cheers
Steve
Forze
Registered User
Posts: 8
Joined: Sun Mar 27, 2011 12:19 am

Re: How to integrate forum into website?

Post by Forze »

is this an active site? :(
Sardiini
Registered User
Posts: 1
Joined: Mon Mar 28, 2011 12:21 am

Re: How to integrate forum into website?

Post by Sardiini »

i have same problem, i tried to do some config but could do it, nothing changed.

Can some one please guide me by some pics or somehow, im a brick, i know.

Im new at php and just started to do homepage. Ty.
Forze
Registered User
Posts: 8
Joined: Sun Mar 27, 2011 12:19 am

Re: How to integrate forum into website?

Post by Forze »

Sardiini, it looks like this forum is either inactive or they dont give a crap about us m8 :roll:
User avatar
lithosphere
Registered User
Posts: 136
Joined: Tue Aug 08, 2006 3:02 am
Location: Canada

Re: How to integrate forum into website?

Post by lithosphere »

^^ or it could be that what you're asking has already been answered in this post and various other topics.
I have wasted my hours -Leonardo Da Vinci
Forze
Registered User
Posts: 8
Joined: Sun Mar 27, 2011 12:19 am

Re: How to integrate forum into website?

Post by Forze »

I disagree with that statement (well partly) as i dont think this post helps me, which is
why i've come here to look for help / advice.

It's funny that i've waited patiently for a few days for a reply, but as soon as i make a comment
about activity & what could be considered a 'dig' at the site/community help, theres a reply within
45minutes... & it had no help in it ...merely a smartarse remark

yeh thanks
User avatar
lithosphere
Registered User
Posts: 136
Joined: Tue Aug 08, 2006 3:02 am
Location: Canada

Re: How to integrate forum into website?

Post by lithosphere »

well start your own thread rather then gank someone's thread. Obviously you don't understand the above posts cause the answer is there.
I have wasted my hours -Leonardo Da Vinci
User avatar
PlanetStyles.net
Former Team Member
Posts: 4809
Joined: Wed Nov 04, 2009 11:16 pm
Location: Way up in the sky close to the stars
Name: Christian
Contact:

Re: How to integrate forum into website?

Post by PlanetStyles.net »

Forze wrote:Sardiini, it looks like this forum is either inactive or they dont give a crap about us m8 :roll:
When I recently integrated the forum on my site into my site design, it took 4 hours. It's not that the forum is inactive, or "us not giving a crap", it's that what you're asking takes far too long and is beyond the scope of a styles support forum.

You're not asking support for a problem, you're essentially asking how to do something that people normally charge for, for free. With all due respect, nobody is going to post a list of step-by-step instructions on how to do this, as it varies for every site, and as I said before, takes far too long.
Locked

Return to “[3.0.x] Styles Support & Discussion”