Creating an interesting news system...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Jim
Forum Contributor
Posts: 238
Joined: Fri Apr 19, 2002 5:26 am
Location: Near Austin, Texas

Creating an interesting news system...

Post by Jim »

I'd like to create a news system that uses several separate customizable templates to output news to several different sites.

If you have any resources for that, I'd really appreciate the help :)

However, my real question is this:

If I do get said system set up, I'd like it to be set so that when a certain user logs in, he/she is automatically sent to a specific news system, or is given links to certain news systems he/she is signed up for.

Basically:

Bob posts news for three sites. Pootown News, SmellyButtock Press and Bob's Houze.

When Bob logs in, I want him to see links to those news systems.

Thanks for your help!
User avatar
enygma
Site Admin
Posts: 175
Joined: Fri Apr 19, 2002 8:29 am
Location: Dallas, Tx

Post by enygma »

well, I imagine you'd just want a system that stores the info in a database and then, based on some setting (like the address of the site), the script knows which template to show.

Then, for the user stuff, you'd have a user table with all the info in there and have the news postings recorded with a "user ID" field and a "site ID" so you know which ones belong to who. You could do some SQL to see which sites that user has posted to....

-enygma
Post Reply