Nikko38
Jun 9 2008, 12:59 PM
Hi there, I have a WEBSITE & a separate forum, both on the same hosting. What I would like to do is when people go onto my website, I would like it to say the RECENT POSTS from the forum, on the main page of my website. Can somebody try to help me out with the coding? Thank you very much!
Andrew
Jun 9 2008, 05:12 PM
Depending on the forum, just search google, "forum name recent topics plugin" (without the quotes) and I'm sure you'll find something.
You need to let us know what forum you have anyway.
King Tut
Jun 9 2008, 07:30 PM
Hey.
i think you might be using phpBB or IP. Board ( Invision Power ) right?
if so:
For phpBB recent post integration with your website:
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.
<source: http://www.phpbbhacks.com/forums/get-phpbb...gn-vt61765.html>
For IP.Board recent post integration with your website:
i think you have to edit the IP. Board theme so that it will look like your website, its something like cutting your website design into some .php pages, then recall them all at the index.php, well you need to look at this link :
http://www.invisionpower.com/community/boa...umentation.html
It would be much better if you give us your website link and your forums link please
Thanks
King Tut Magdy
EGYPT
Andrew
Jun 9 2008, 08:03 PM
KingTut, thats not what he asked!
He asked for the most recent topics to be shown (say in a box) on his main site.
King Tut
Jun 9 2008, 08:40 PM
im sorry i didnt understand his request well, but i think he just said i would like to see my recent posts on the main page of my website.
however, i wish this info. helps him in his search
Banjo
Jun 9 2008, 09:03 PM
Like on
here (top right).
Couldn't you just make a simple php page that retrieves the id of the last topics from the forum database?
iamandy
Jun 9 2008, 09:14 PM
yea, if you're using phpbb.. you need to do the code in php and mysql. a guy did it for me once.. i'll try and get ahold of him and get him to get the code for you!
Nikko38
Jun 9 2008, 09:57 PM
Yep banjo, that's exactly what I want to do!
Andrew
Jun 9 2008, 10:48 PM
QUOTE(Nikko38 @ Jun 9 2008, 05:57 PM)

Yep banjo, that's exactly what I want to do!
You still never said what FORUM you have!
Nikko38
Jun 9 2008, 11:21 PM
phpbb 2.0

Anybody?
LimitedEdition
Jun 11 2008, 01:54 PM
pm me for details
iamandy
Jun 11 2008, 01:59 PM
knew someone would find it for me

Kieron FTW
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.