3DGuy
Noobie

Posts: 24

I'm a llama!
|
 |
Content Generating (Portal System - Like)
« on: March 12, 2003, 10:58:49 AM » |
|
Hi,
I would like to ask if it was possible to make such a script that would make a single includable page, when you post a message in your specified board. It works like some Portal Systems that support making a page. My purpose is to use it to make pages, from within my website.
I would like to base an example to make it clear. It is very close to the news script which is included in the YaBB 1.5.0 release, currently I got it on my website. But the thing is, I want to post a specific topic on a specific board, and then show it on my frontpage with only the link. (Yes, I know leaving out "$news_url" in the template should work fine)
NOTE: I added $news_url as a variable that should only point out the specific post url of the news displayed. Because there wasn't any variable that would only display the topic. (I tested this, it works fine)
-- but this time, I don't want the user to be directed to the forum in order to view the posted topic, instead the posted topic should be reflected on a newly created page -- the newly created page is created when you post a topic on that board.
So, what I mean is.. when you post a topic on the specific board, it makes a page with its content, the written page should be either php or pure shtml. Then the url of that page is then automatically printed out of the included "$news_url" variable in the customized template.
So for example I want to make a Bio-Data for "Jeff" then I would post a topic with these ff contents:
------------------------------------------------------------------------ Subject: Jeff Message: Bio-Data of Jeff
[A PICTURE OF JEFF]
Name: Jeff Height: 5'6 Weight 150lbs Favorites: Spaghetti Hamburger Playing Games
------------------------------------------------------------------------
Then that information would be reflected in a php page, with an include statement using customized news_template.php with only one variable which is "$news_body" after that, the link will be automatically created in my main_menu because I included it in my frontpage using a customized template that has "$news_url".
I hope this works, I'm not a really expert in this, so If I'm very very wrong, please correct me.
Thanks
|