PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
Malke
Hangin' Around


Joined: May 14, 2006
Posts: 25

PostPosted: Sat Jun 21, 2008 2:52 am Reply with quote Back to top

I think a forum and comments integration would be cool.

I mean that a news story is also a forum thread, and comments are displayed as replies. Replies in the thread are also shown as comments.

I think this could be done by integrating the news stories database table with the forum thread table. When a news story is posted it is added to the forum thread database with a new variable (ie news=1). When a thread is posted by an admin, he/she could have the option to click "also post as news".

So that's my suggestion. I think it'd be a cool feature.
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3186
Location: near Albany NY

PostPosted: Sat Jun 21, 2008 6:20 am Reply with quote Back to top

It might be a cool idea. But be aware that the forum software and table structure comes from an independent source (PHPBB) than the Nuke table structure. And there is not just a single forum thread table but a series of related tables that have to be kept in synch. So any hacking into the forums code runs the serious risk of being obsoleted by the next release of PHPBB.
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Sat Jun 21, 2008 9:23 am Reply with quote Back to top

If you just wanted to show comments you could enable the comments module.
View user's profile Send private message Send e-mail Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Sat Jun 21, 2008 9:29 am Reply with quote Back to top

Quote:
I mean that a news story is also a forum thread, and comments are displayed as replies. Replies in the thread are also shown as comments.


That is exactly what the FNA (Forum News Advanced) mod does.
View user's profile Send private message
Malke
Hangin' Around


Joined: May 14, 2006
Posts: 25

PostPosted: Sat Jun 21, 2008 9:32 am Reply with quote Back to top

Cool. So how does it work? Does it keep them in both databases and add the thread and replies automatically?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Sat Jun 21, 2008 10:05 am Reply with quote Back to top

Only in Forums tables, I believe. It uses another module as the Home module to pull the news from specific forums, and basic forums functionality to threads / replies.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Sat Jun 21, 2008 10:08 am Reply with quote Back to top

By the way, I'm not recommending we replace News with FNA in RN since many aren't interested in replies or don't even allow it for various reasons.

We have discussed using an integration between News and Forums for this purpose, or consolidating comments for all content types into a single function, which might be more appropriate given the changes in Forums.
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum