From: Blake D. <bl...@ar...> - 2001-04-01 23:36:04
|
Our site is being built to have 2 distinct areas of the forum. The first area will be the standard news slashdot-style area where people submit articles and if they are interesting, they are posted. The second area will use the bulletin board plugin we're making so that every article submitted is automatically posted. These will act as 'threads' or 'topics' as they are referred to in bulletin board software. Since the 2 areas of the site will use the same sections, we want to be able to keep the articles posted to the news area separate so they aren't shown on the bulletin board area. The same with articles posted to the bulletin board area separate so they don't show up on the news area. The idea we had for this was to assign every article a flag in the extratext column. 'news' and 'bb', depending upon which area they were submitted from. So if you go to the news area it'll only show stories with the extratext of news and if you go to the bulletin board area it'll only show stories with the extratext of bb. Does anyone have any better ideas? If not, does anyone have any ideas to make getStories recognize the extratext flag we pass it and filter the stories it returns based on that? Also, how many other places in the code would we possibly need to modify this? |
From: Blake D. <bla...@ch...> - 2001-04-01 21:49:22
|
Our site is being built to have 2 distinct areas of the forum. The first area will be the standard news slashdot-style area where people submit articles and if they are interesting, they are posted. The second area will use the bulletin board plugin we're making so that every article submitted is automatically posted. These will act as 'threads' or 'topics' as they are referred to in bulletin board software. Since the 2 areas of the site will use the same sections, we want to be able to keep the articles posted to the news area separate so they aren't shown on the bulletin board area. The same with articles posted to the bulletin board area separate so they don't show up on the news area. The idea we had for this was to assign every article a flag in the extratext column. 'news' and 'bb', depending upon which area they were submitted from. So if you go to the news area it'll only show stories with the extratext of news and if you go to the bulletin board area it'll only show stories with the extratext of bb. Does anyone have any better ideas? If not, does anyone have any ideas to make getStories recognize the extratext flag we pass it and filter the stories it returns based on that? Also, how many other places in the code would we possibly need to modify this? |