TinyPortal

Development => Support => Topic started by: ZI0N on August 26, 2007, 01:51:36 PM

Title: News Grabbing code
Post by: ZI0N on August 26, 2007, 01:51:36 PM
Can someone please tell me which code grabs and outputs the news from a specified forum?

or a code snippet that would grab news and output it from a hard coded forum?

What im trying to do is create a custom index.php that is for a subdomain so it can have individual news.

I think the code i requested above should do it :)

Thanks in advance
Title: Re: News Grabbing code
Post by: Zetan on August 26, 2007, 04:41:30 PM
You need to use SSI functions.

http://yoursite.com/ssi_examples.php

Theres also a number of Block Code Snippets that will also do what you need. SMF has tutorials on how to use SSI. And searching will bring up many results.
Title: Re: News Grabbing code
Post by: ZI0N on August 26, 2007, 08:40:37 PM
Anyone fancy teaming up on this to make a mod to allow tiny portal to be used on subdomains but show selected news catagorys on each site (without the need to install a forum on each subdomain)

Title: Re: News Grabbing code
Post by: IchBin on August 27, 2007, 04:28:30 AM
You may be able to include the SSI from another forum. But really, this is something the SMF dudes are more knowledgeable on.