PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
CodyG
PHP-Portal Project


Joined: Jan 02, 2003
Posts: 629
Location: Vancouver Island

PostPosted: Wed May 23, 2007 9:14 am Reply with quote Back to top

i'm not sure if i'm off topic, just going with the latest version : feel free to move this post.

Certainly News is at the core of why i love nuke, but in no way would i imply it's a great module. The concept rocks, the implementation leaves much to my wishlist.

Today's Problem ... some news stories and/or topic categories need only be read by some groups

Solution? I haven't a clue. Would it be terribly complex to mod?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4873

PostPosted: Wed May 23, 2007 3:00 pm Reply with quote Back to top

Not a bad idea. We have wishlist for News enhancements
Only registered users can see links on this board!
Get registered or login to the forums!
. You should add that to the list.
View user's profile Send private message
fkelly
Moderator


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

PostPosted: Thu May 24, 2007 1:07 pm Reply with quote Back to top

Just off the top and realizing that there might be other approaches:

You would need something in nsngroups to associate topics and categories with groups. Nsngroups doesn't have much in the way of file maintenance capabilities now so you'd more or less have to build this from scratch.

From a news retrieval point of view this shouldn't be too complicated. It would just have to check the groups_topics table to see if the topic was assigned to any group ... I guess you could set it up so that if no group was found in groups_topics for a given topic it could be assumed to be open.

However from a submit news and even a new story (administrator) perspective it could get a bit hairy. You'd have to check the drop down boxes for topics and categories to make sure that only topics that the author had access to showed up on the drop down. You'd have to decide if being a news admin trumped not belonging to a group that's associated with a topic ... in other words does a news admin have access to all groups? You definitely wouldn't want people to be able to submit news for topics or categories they wouldn't have access to later.

In short this would affect two modules and probably require at least one new table.
View user's profile Send private message Visit poster's website
CodyG
PHP-Portal Project


Joined: Jan 02, 2003
Posts: 629
Location: Vancouver Island

PostPosted: Fri May 25, 2007 9:19 am Reply with quote Back to top

i posted on the wish list, thanks for the link.

... submit news to topics or categories they wouldn't have access to later

fersure... a hairy challenge.. do you check the topic for admins or the admins for topics?? Wink
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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-2008 by Raven
Proud to be listed at Lobo Links Web Directory

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 Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

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

zerosum