Nuke (v6.5) News Module Mod - Prioritize/Order Your Articles!

Posted on Friday, April 25, 2003 @ 20:26:16 CDT in Modules
by gcf

This modification/hack allows you to promote/order one news article above another. The default behavior of the Nuke News module is to always put the most recent news item at the top of the chain. With this modification you can alter that behavior. Get it in the download area - free download. It is still considered experimental, but I have tested it pretty thoroughly. Download it here. Please post all bug reports here. Do not post bug reports in the comments of this article. I will not respond to them - sorry.

[UPDATED 4/29/2003]I have replaced the download with a modified nuke/html/admin/modules/stories.php file. That is the only file that has changed. If you downloaded before 18:25 hours on 4/29/2003, please redownload and you should be able to restore the default NULL values now.
 
 
click Related        click Share
 
 

Re: Nuke (v6.5) News Module Mod - Prioritize/Order Your Articles! (Score: 0)
by Anonymous on Tuesday, April 29, 2003 @ 08:52:34 CDT

what happenes when you don't want the story pinned anymore?

Re: Nuke (v6.5) News Module Mod - Prioritize/Order Your Articles! (Score: 1)
by gcf
on Tuesday, April 29, 2003 @ 14:54:57 CDT
(User Info | Send a Message) http://ravenphpscripts.com

What should happen is that the value is restored to NULL, but MySQL is defaulting to 0. I will fix this this evening.

 
 

Re: Nuke (v6.5) News Module Mod - Prioritize/Order Your Articles! (Score: 0)
by Anonymous on Tuesday, April 29, 2003 @ 10:05:36 CDT

well, i installed, and it did what it said, BUT, when you try to change the integer back to 0 or nothing, the story does not return to its initial position.

Re: Nuke (v6.5) News Module Mod - Prioritize/Order Your Articles! (Score: 1)
by gcf
on Tuesday, April 29, 2003 @ 14:53:30 CDT
(User Info | Send a Message) http://ravenphpscripts.com

Well, MySQL is setting to 0 instead of NULL when the value is deleted, which is causing the problem. Until I can code a work-around you will just have to renumber your articles. Sorry.

 
 

Fixed! - Re: Nuke (v6.5) News Module Mod - Prioritize/Order Your Articles! (Score: 1)
by gcf on Tuesday, April 29, 2003 @ 18:27:55 CDT
  
(User Info | Send a Message) http://ravenphpscripts.com

I have replaced the download with a modified nuke/html/admin/modules/stories.php file. That is the only file that has changed. If you downloaded before 18:25 hours on 4/29/2003, please redownload and you should be able to restore the default NULL values now.

 
News ©

Site Info

Last SeenLast Seen
  • vashd1
  • neralex
Server TrafficServer Traffic
  • Total: 515,744,865
  • Today: 69,540
Server InfoServer Info
  • May 12, 2025
  • 01:11 pm CDT