CodyG
Life Cycles Becoming CPU Cycles
![](modules/Forums/images/avatars/186c8977515afcc3ed82a.jpg)
Joined: Jan 02, 2003
Posts: 714
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?
Code:function previewAdminStory($automated, $year, $day, $month, $hour, $min, $subject, $hometext, $bodytext, $topic, $catid, $ihome, $alanguage, $acomm, $display_order, $pollTitle, $optionText)
|
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?
Code:function previewAdminStory($automated, $year, $day, $month, $hour, $min, $subject, $hometext, $bodytext, $topic, $catid, $ihome, $alanguage, $acomm, $pollTitle, $optionText, $assotop)
|
If these variables are not ordered... oops, right?
sigh
Wishing on the perfect nuke for christmas... perfectnuke.net ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
|
|
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
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? |
|
|