phpBBHacks.com - Get phpBB Integrated into Your Web Design
BadBoyForums.com, an unofficial Diddy and Bad Boy fan community
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
Add Us:     MySpace     Facebook     StumbleUpon
Username:    Password:
Remember Me?    
Get phpBB Integrated into Your Web Design
BlinkList
del.icio.us
Furl
linkaGoGo
reddit
Simpy
Mister Wong
Yahoo! My Web

Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2: Integrating phpBB With Your Website
 See a User Guidelines violation? Please contact us.
Author Message

Khamul
New User

Joined: 23 May 2006
Posts: 1
Location: Norway

PostPosted: May 23rd 2006, 7:58 am    Post subject: Get phpBB Integrated into Your Web Design Reply with quote

Before we get started, I just wanted to say that this is my first tutorial and English is my second language.

I wanted to integrate my phpBB into the rest of my web design, so I'd have my banner and menu and it would be easy for users to navigate to other sites. I searched around, found various solutions, but I couldn't find any place where they explained how to integrate your phpBB into your web design. Perhaps I was just unlucky with my search. Anyway, I believe there might be others in my situation and theres not a tutorial here to do it, so I thought I'd make one.

It's simple to integrate your phpBB into rest of your web design. You need the following:

- Basic HTML knowledge
- Text editor
- Ability to edit source files (in other words, it's not possible if you're using a service that only hosts phpBB forums for you and you have no FTP, SFTP or similar access to the actual phpBB files)

There are only two files you need to edit: overall_header.tpl and overall_footer.tpl. These two files can be found in the directory in which your phpBB template is located. We'll be using subSilver as an example for this tutorial which can be found in your phpBB directory in the templates\subSilver folder. It's basically the same on the other templates, as well.

Open up the text editor you prefer (like: EditPlus, Dreamweaver or Notepad). Open the overall_header.tpl file, scroll down and you'll find the body tag (<body>). By default, it is on line 223 in subSilver if you haven't changed the file before. Right after the body tag, you can add your own HTML code, like the code for your banner and menu (you can't add PHP code here, but you can add JavaScript code). After you have done that, you must set the content that was there before, under body in it's own "container", like a table or by using a div tag in CSS (such as <div id="MainContent"> - if you are using CSS you can add this within the <style> tags in the upper part of the overall_header.tpl file or inside of your linked CSS file, if you link to an external file) with the right positioning and size information so that it looks good within your design. This is to keep the forum in place, so it does not float all over the site and over (or under) your web design.

Now, we also need to give an end tag to this "container", which will be on the bottom after the forum. So, we'll have to open up the overall_footer.tpl file. Go to the end tag of body (</body>) and above the end tag, you should first end the "container", in other words end the table or end the CSS container (</div>). You can also add your own HTML code after that if you wish. This would make some sort of footer.

If you have any questions, feel free to send me a PM. I can't promise I'll be around to answer them quickly.

Hope you found this little tutorial useful.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2: Integrating phpBB With Your Website 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.it - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl - phpBB Brasil

Network: iFroggy Network Blog - iFroggy Hosting - SportsForums.net - KarateForums.com - YanksBlog.com - PhotoshopForums.com - DeveloperCube - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - DrGregHouse.com - Bad Boy Blog - BadBoyForums.com - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Staff - User Guidelines >

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