Joined: Jan 02, 2003 Posts: 668 Location: Vancouver Island
Posted:
Thu Dec 04, 2003 12:51 pm
Heh Raven ...
As if I don't have a zillion other things to fix right now ... I thought I'd try to install the News Ordering hack. What nuker couldn't resist ordering?
The thing is ... in my version of admin/modules/stories.php it has code for all the associated topics input and output that FB installed since 6.5. And variables for time/date are diff too. (though probably irrelevant, ie: $xmonth and $month)
I've been comparing lines of code in stories.php for about an hour now... and have just about reached the bottom, hacking away like a good girl.... and totally skeptical that this ever going to work.
I need another coffee, if it does work for production site Raven's nuke 6.9, with authors table mods, what are the compatible chances for my other nuke sites?
Below is my current version ... of course, one has to go through function after function... (wondering if I'm talking myself into xoops?) and $display_order should be where??? Maybe the answer is in the sql?
Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
Posted:
Fri Dec 05, 2003 6:46 am
The placement of $display_order is only relevant to the code that calls the function. In other words, if $display_order is the fifth argument, then the code that calls the function has to reference it as the fifth argument. Does that help?
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