We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Anyway to put last 5 topics into website?
Topic Started: Feb 6 2007, 07:50 PM (311 Views)
Dirtbagz89
Member
[ * ]
Hello.

I have a main website that people go to where they can view stuff going around on theforum from there. They can get to the forum by clicking a link from there as well.

My question... is there anyway to have the last 5 topics in my forum showing on my website page? To be specific...the last 5 topics from a certain board on my forum.
Offline Profile Quote Post Goto Top
 
markoftheknight
Member
[ * ]
Quote:
 
My question... is there anyway to have the last 5 topics in my forum showing on my website page? To be specific...the last 5 topics from a certain board on my forum.

You mean on the front page of your site?
Offline Profile Quote Post Goto Top
 
Dirtbagz89
Member
[ * ]
markoftheknight
February 6, 2007 08:57 PM
Quote:
 
My question... is there anyway to have the last 5 topics in my forum showing on my website page? To be specific...the last 5 topics from a certain board on my forum.

You mean on the front page of your site?

Yea. Like my site will be somesite.com and the forum will be somesite.com/forum

I want to know if I can have the last 5 topics from the forum be shown on the site (somesite.com).
Offline Profile Quote Post Goto Top
 
jarocks
Member Avatar
Gods don't need a title.
[ *  *  * ]
not with invisionfree, but with ipb it is
Offline Profile Quote Post Goto Top
 
Jpec07
Member Avatar
Member
[ *  * ]
You could conceivably do it with any forum software out there, but coding it might be a pain (I don't know, as I'm still a novice at PHP, MySQL, and Perl).
Offline Profile Quote Post Goto Top
 
Jory
Member Avatar
Member
[ *  *  *  *  *  * ]
You could have PHP / ASP / JSP request the page*.
(I would suggest just opening a socket and requesting the page, but there are other ways) Then use string manipulation to filter out the part you want.

*: what page depends. If its the same board as your portal draws its last posts from, you could use the portal page. Otherwise, just use the URL you get when you view the board. It would be harder to filter out the right information then with the portal, though.

I'm not sure if your good at coding, and if any of this made sence to you.. but I hope it helped. :)
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Technology Chat · Next Topic »
Add Reply