TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,230
  • Total Topics: 21,353
  • Online today: 446
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 295
  • Total: 296
  • lurkalot

News Grabbing code

Started by ZI0N, August 26, 2007, 01:51:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ZI0N

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

Zetan

#1
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.

ZI0N

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)


IchBin

You may be able to include the SSI from another forum. But really, this is something the SMF dudes are more knowledgeable on.

This website is proudly hosted on Crocweb Cloud Website Hosting.